-
Notifications
You must be signed in to change notification settings - Fork 43
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
🐛 Switch sidebar type based on routes #1889
Conversation
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
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.
LGTM
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.
I like it so far, but I have a suggestion around the targetPath
prop.
I did find a strange behavior: screencast-localhost_9000-2024.05.02-17_05_10.mp4 |
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
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.
LGTM
Working from the AdminPaths
and GeneralPaths
constants through types and back out to the sidebar makes sense to me. Typescript should raise enough alarms if something is done that doesn't line up properly that the change is worth it.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1889 +/- ##
==========================================
+ Coverage 39.20% 41.22% +2.02%
==========================================
Files 146 158 +12
Lines 4857 5189 +332
Branches 1164 1269 +105
==========================================
+ Hits 1904 2139 +235
- Misses 2939 3032 +93
- Partials 14 18 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Linked changes:
Resolves: #954