Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new editor - error handling and enhancements #3543

Merged
merged 43 commits into from
Aug 28, 2024

Conversation

jamdelion
Copy link
Contributor

@jamdelion jamdelion commented Aug 21, 2024

Trello ticket: https://trello.com/c/piMcGsJa/2973-add-user-in-editor

✅ Done

Done Demo image
Show toast message on success
Add in 'close modal' test
Handle 'user already exists' error scenario

❓ Questions:

How to handle:

  • failing to fetch from the store (get team id)
  • failing to execute the graphQL mutation (server-side error)

Demos

Aug-27-2024 15-06-12

Aug-27-2024 15-07-23

jamdelion and others added 30 commits August 5, 2024 15:40
…s/AddNewEditorModal.tsx

Co-authored-by: Dafydd Llŷr Pearson <[email protected]>
Copy link

github-actions bot commented Aug 21, 2024

Removed vultr server and associated DNS entries

@jamdelion jamdelion marked this pull request as ready for review August 27, 2024 14:14
@jamdelion jamdelion requested a review from a team August 27, 2024 14:14
Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice solution!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible that git just didn't pick up on a file move/rename here, but I think this is just a duplicate of editor.planx.uk/src/pages/FlowEditor/components/Team/tests/exampleTeamMembersData.tsx

@jamdelion jamdelion merged commit 0b6b010 into main Aug 28, 2024
12 checks passed
@jamdelion jamdelion deleted the jh/add-editor-error-handling branch October 28, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants