Repository navigation
ux(sidebar): drop the redundant Settings nav entry - #167
Merged
Merged
Conversation
The user-profile row at the bottom of the sidebar already links to /dashboard/settings, so the System -> Settings nav item exposed the same destination twice. Drop the entire System group from dashboardNav and remove the now-unused Settings lucide-react import. Mobile nav reads the same config and inherits the change. Closes #161 Co-authored-by: Cursor <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The sidebar exposed
/dashboard/settingsthrough two affordances on the same surface: the System → Settings nav item and the user-profile row at the bottom (which already links to settings). This removes the duplicate nav row.Closes #161.
Changes
web/src/config/dashboard.ts— drop the entireSystemgroup fromdashboardNavand remove the now-unusedSettingsimport from the lucide-react block.Mobile nav reads the same
dashboardNavconfig, so it inherits the change for free.navKeyMapinsidebar.tsxkeeps its harmless unusedSettingskey (keyed off item titles that still exist).Acceptance criteria
/dashboard/settingstsc --noEmit+eslintcleanOut of scope
Reworking the profile-row affordance / collapse toggle / other sidebar entries; renaming the Settings route.
Made with Cursor