-
Notifications
You must be signed in to change notification settings - Fork 70
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
fix: Error when deleting local changes. #13669
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13669 +/- ##
=======================================
Coverage 94.24% 94.25%
=======================================
Files 1531 1532 +1
Lines 20885 20906 +21
Branches 2521 2522 +1
=======================================
+ Hits 19684 19705 +21
Misses 948 948
Partials 253 253 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! 🚀 I just have one suggestion regarding the validation of the selectedOption
/ modelPath
...d/app-development/features/dataModelling/SchemaEditorWithToolbar/SchemaEditorWithToolbar.tsx
Outdated
Show resolved
Hide resolved
...end/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/TopToolbar.tsx
Outdated
Show resolved
Hide resolved
Your suggestions makes the bug exist again. Is this an okay solution? |
I don't think we need to duplicate the find in both components. Did you pass the |
i'll try it Edit: It worked, commit on the way |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ok 👍
Description
This PR includes the following changes:
The bugfix was related to the order of when certain components were rerendering. This has been fixed by changing what is invalidated in the cache during deletion and when to load certain components based on query results.
Related Issue(s)
Verification