Add initial JSONs for the entity creation flows#1809
Conversation
✅ Deploy Preview for activist-org canceled.
|
Thank you for the pull request! ❤️The activist team will do our best to address your contribution as soon as we can. If you're not already a member of our public Matrix community, please consider joining! We'd suggest that you use the Element client as well as Element X for a mobile app, and definitely join the Note activist uses Conventional Comments in reviews to make sure that communication is as clear as possible. |
Maintainer ChecklistThe following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)
|
… composables, components and services with it too + now json for create event is sent correctly
There was a problem hiding this comment.
license-eye has checked 1226 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 920 | 2 | 304 | 0 |
Click to see the invalid file list
- frontend/app/composables/mutations/useEventMutations.ts
- frontend/app/services/location.ts
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
…ty-creation-flows
|
@andrewtavis and @to-sta the front end is done structure wise. I will send in the coming days to anna the current look of the front end with the create modals and start creating tests at least for the machine stores and the composable. Some vitests are breaking, I will fix them later. |
|
Thanks so much, @nicki182! Looking forward to the fixed tests and the feedback from UX on this :) Let's be in touch on a good time for us to have a chat about how it's all looking 😊 CC @archiania972 for visibility 👋 |
|
@andrewtavis I fixed the issues with the ci tests. |
|
Let's plan on pushing them to this PR so we can finalize the designs along with this, @nicki182 :) I'll check in on when a call would work 😊 |
There was a problem hiding this comment.
license-eye has checked 1233 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 924 | 5 | 304 | 0 |
Click to see the invalid file list
- frontend/test/composables/useFlowScreens.spec.ts
- frontend/test/stores/create-event.spec.ts
- frontend/test/stores/create-group.spec.ts
- frontend/test/stores/create-organization.spec.ts
- frontend/test/stores/flow.spec.ts
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
| @@ -0,0 +1,120 @@ | |||
| import { setActivePinia, createPinia } from "pinia"; | |||
There was a problem hiding this comment.
| import { setActivePinia, createPinia } from "pinia"; | |
| /* | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| */ | |
| import { setActivePinia, createPinia } from "pinia"; |
|
@andrewtavis done. I added some tests there is still more to do. I need to do tests for the components layers and all the new components I created |
|
Thanks, @to-sta! Generally I think we're close here, but I'm wondering on the unused variables that Ruff is bringing up, and I also want to note that removing the fields in tests like And also, @to-sta, do we need |
|
note: Let's still try to bring this in during the sync today. If we can get the backend tests passing beforehand, then we can do a demo for those who haven't seen it and go through functionality. We can then go through the code, which I'll do as we go through the functionalities, and then we should be good to merge. |
|
@andrewtavis sounds great to me |
|
Current bugs with the process:
Issues to make:
|
|
Quick FYI @to-sta: We're removing |
|
Quick notes on eec45e9, @to-sta and @nicki182:
Suggestions on the above would be great! Specifically: |
@andrewtavis I can do so easily but from what I understood I was sending description but with @to-sta we arranged to be sent like this. I can do it but I want confirmation before doing the change |
|
FYI @to-sta and @nicki182 : The tests for |
|
It looks like we're sending an |
|
Ok, however you feel like. Make all the issues and we can start doing a full review of the app too |
| # Explicit type annotation required for mypy compatibility with django-stubs. | ||
| flags: Any = models.ManyToManyField("authentication.UserModel", through="EventFlag") | ||
|
|
||
| def clean(self) -> None: |
There was a problem hiding this comment.
Moving this to EventTime
|
Tests are passing and all create flows are functioning 🥳 Merging this in and closing the respective issues 🚀 |
Contributor checklist
Description
This will be a long term collaborative PR. We need to finalize the backend and frontend for the creation of entities (organizations, groups and events). Initial PR sends along the agreed to JSON schema that the frontend will send to the backend.
Related issue