GeezerVison is showing github.com — fix(web): Diagnostics keeps its own settings sidebar entry · adampeterhiggins/t3code@410b6f7
File treeExpand file treeCollapse file tree Open diff view settings apps/web/src/components/settings
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: apps/web/src/components/settings/SettingsSidebarNav.tsx +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8 | 8 | type KeyboardEvent, | 9 | 9 | } from "react"; | 10 | 10 | import { | | 11 | + ActivityIcon, | 11 | 12 | ArchiveIcon, | 12 | 13 | FlaskConicalIcon, | 13 | 14 | BotIcon, | @@ -86,7 +87,7 @@ const SETTINGS_SECTION_ICONS: Readonly< | 86 | 87 | Record<SettingsPath, ComponentType<{ className?: string }>> | 87 | 88 | > = { | 88 | 89 | "/settings/general": Settings2Icon, | 89 | | - "/settings/diagnostics": WrenchIcon, | | 90 | + "/settings/diagnostics": ActivityIcon, | 90 | 91 | "/settings/appearance": PaletteIcon, | 91 | 92 | "/settings/chat": MessageSquareTextIcon, | 92 | 93 | "/settings/diffs": FileDiffIcon, | @@ -112,7 +113,6 @@ const SETTINGS_SECTION_ICONS: Readonly< | 112 | 113 |
| 113 | 114 | // Detail pages without a nav entry highlight the page that links to them. | 114 | 115 | const SETTINGS_DETAIL_PAGE_PARENTS: Readonly<Record<string, SettingsPath>> = { | 115 | | - "/settings/diagnostics": "/settings/maintenance", | 116 | 116 | "/settings/open-source-licenses": "/settings/about", | 117 | 117 | }; | 118 | 118 |
| |
Collapse file Copy file name to clipboardExpand all lines: apps/web/src/components/settings/settingsSearch.ts +7-1Lines changed: 7 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -150,7 +150,13 @@ export const SETTINGS_NAV_GROUPS: ReadonlyArray<{ | 150 | 150 | }, | 151 | 151 | { | 152 | 152 | heading: null, | 153 | | - paths: ["/settings/maintenance", "/settings/labs", "/settings/about", "/settings/archived"], | | 153 | + paths: [ | | 154 | + "/settings/diagnostics", | | 155 | + "/settings/maintenance", | | 156 | + "/settings/labs", | | 157 | + "/settings/about", | | 158 | + "/settings/archived", | | 159 | + ], | 154 | 160 | }, | 155 | 161 | ]; | 156 | 162 |
| |
|