Skip to content

Modal for global error handling should be moved to "ketcher-react" #2922

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

Open
Inga-Vishnivetskaia opened this issue Jul 14, 2023 · 0 comments · May be fixed by #3723
Open

Modal for global error handling should be moved to "ketcher-react" #2922

Inga-Vishnivetskaia opened this issue Jul 14, 2023 · 0 comments · May be fixed by #3723
Assignees

Comments

@Inga-Vishnivetskaia
Copy link
Collaborator

Background
Global error handling was added in PR 730. With this implementation errorHandler triggers Modal on the client / demo application which is not a reliable approach (as for example, revealed in bug 2790)

Solution
For fixing bug 2790 the Info / Error modal was moved to "ketcher-react" (PR 2868). Triggering of modal for all other errors handled in PR 730 should be also moved to "ketcher-react". In this case the client does not need to import the InfoModal component and take care about this error handling.

Additional context
The text displayed in the modal for other errors has to be verified / discussed.

@Nitvex Nitvex added this to the Refined Backlog milestone Jul 14, 2023
@rrodionov91 rrodionov91 assigned chgayane and unassigned Nitvex Dec 14, 2023
chgayane added a commit that referenced this issue Dec 26, 2023
@github-project-automation github-project-automation bot moved this to In review in Technical Debt Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In review
Development

Successfully merging a pull request may close this issue.

4 participants