GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): Diagnostics keeps its own settings sidebar entry · adampeterhiggins/t3code@410b6f7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src/components/settings
    • SettingsSidebarNav.tsx
    • settingsSearch.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/web/src/components/settings/SettingsSidebarNav.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/components/settings/SettingsSidebarNav.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
type KeyboardEvent,
99
} from "react";
1010
import {
11+
ActivityIcon,
1112
ArchiveIcon,
1213
FlaskConicalIcon,
1314
BotIcon,
@@ -86,7 +87,7 @@ const SETTINGS_SECTION_ICONS: Readonly<
8687
Record<SettingsPath, ComponentType<{ className?: string }>>
8788
> = {
8889
"/settings/general": Settings2Icon,
89-
"/settings/diagnostics": WrenchIcon,
90+
"/settings/diagnostics": ActivityIcon,
9091
"/settings/appearance": PaletteIcon,
9192
"/settings/chat": MessageSquareTextIcon,
9293
"/settings/diffs": FileDiffIcon,
@@ -112,7 +113,6 @@ const SETTINGS_SECTION_ICONS: Readonly<
112113

113114
// Detail pages without a nav entry highlight the page that links to them.
114115
const SETTINGS_DETAIL_PAGE_PARENTS: Readonly<Record<string, SettingsPath>> = {
115-
"/settings/diagnostics": "/settings/maintenance",
116116
"/settings/open-source-licenses": "/settings/about",
117117
};
118118

Collapse file

‎apps/web/src/components/settings/settingsSearch.ts‎

Copy file name to clipboardExpand all lines: apps/web/src/components/settings/settingsSearch.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,13 @@ export const SETTINGS_NAV_GROUPS: ReadonlyArray<{
150150
},
151151
{
152152
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+
],
154160
},
155161
];
156162

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.