-
Notifications
You must be signed in to change notification settings - Fork 29
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: Navigate to design page on settings save #1872
Conversation
134aaec
to
abb9a3d
Compare
<SettingsForm /> | ||
</SettingsProvider> | ||
</ReloadContext.Provider>, | ||
<MemoryRouter> |
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.
It seems this change disturbed sonarcloud and let it complain about an existing duplication. Maybe create a private function to create this React element and let these test cases use it?
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.
Thanks for the comment @igarashitm. I'll fix this repetition of code!
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.
Added one minor cleanup comment, otherwise LGTM
abb9a3d
to
6497d80
Compare
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1872 +/- ##
============================================
- Coverage 78.62% 78.44% -0.18%
Complexity 365 365
============================================
Files 439 466 +27
Lines 14234 14682 +448
Branches 2769 2730 -39
============================================
+ Hits 11191 11518 +327
- Misses 2954 3075 +121
Partials 89 89 ☔ View full report in Codecov by Sentry. |
Thanks @lordrip |
Fixes #1885
Description
This PR adds the following 2 improvements: