Skip to content

Move the admin tabs into the sidebar as a nav section - #2041

Draft
GregorShear wants to merge 1 commit into
codex/org-selectorfrom
claude/settings-sidebar-nav
Draft

Move the admin tabs into the sidebar as a nav section#2041
GregorShear wants to merge 1 commit into
codex/org-selectorfrom
claude/settings-sidebar-nav

Conversation

@GregorShear

@GregorShear GregorShear commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Moves the admin area's tab bar into the sidebar as a nav section.

Screenshot 2026-07-31 at 10 33 08 PM Screenshot 2026-07-31 at 10 35 53 PM

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

⚪ Code Health

No change to the dead-code surface.

48 Unused files

File imported nowhere — delete (or import) it.

     src/hooks/useDelay.ts
     src/hooks/useDraft.ts
     src/pages/NoGrants.tsx
     src/pages/OAuth.tsx
     src/services/encryption.ts
     src/types/global.ts
     src/types/vitest.ts
     src/components/graphs/TaskHoursByMonthGraph.tsx
     src/components/tables/Link.tsx
     src/context/LoopIndex/index.tsx
…and 38 more

64 Unused exports

Exported symbol with no references outside its own file — un-export it, or delete it if unused entirely

     src/context/Theme.tsx : logoColors
     src/context/Theme.tsx : intensifiedOutlineThick
     src/context/Theme.tsx : tableAlternateRowsSx
     src/context/Theme.tsx : draggableChipIconSx
     src/context/Theme.tsx : hiddenButAccessibleInput
     src/context/Theme.tsx : primaryColoredBackground_hovered
     src/context/Theme.tsx : detailsPanelBgColor
     src/context/Theme.tsx : menuBackgroundColor
     src/context/Theme.tsx : flexGrowToSiblingsSx
     src/context/Theme.tsx : shardTableRow
…and 54 more

26 Unused exported types

Exported type with no references outside its own file — un-export it, or delete it if unused entirely

     src/utils/billing-utils.ts : FREE_GB_BY_TIER
     src/types/index.ts : InferredSchemas
     src/types/index.ts : Shard
     src/components/shared/WizardDialog/index.ts : WizardStep
     src/api/dataPlanes.ts : AwsDnsEntry
     src/stores/ShardDetail/types.ts : TaskShardDetailsWithShard
     src/stores/ShardDetail/types.ts : ShardDetails
     src/components/tables/Logs/types.ts : RefreshLogsFunction
     src/types/schemaModels.ts : CollectionSchema
     src/components/editor/Bindings/types.ts : SelectedCollectionChangeData
…and 16 more

14 Unused exported enum members

An enum member referenced nowhere

     src/services/supabase.ts : CONNECTOR_TAGS
     src/services/supabase.ts : DRAFTS_EXT
     src/services/supabase.ts : TASKS_BY_DAY
     src/stores/Tables/hooks.ts : accessGrants
     src/stores/Tables/hooks.ts : accessLinks
     src/stores/Tables/hooks.ts : billing
     src/stores/Tables/hooks.ts : connectors
     src/stores/Tables/hooks.ts : entitySelector
     src/stores/Tables/hooks.ts : prefixes
     src/stores/Tables/hooks.ts : prefixAlerts
…and 4 more

5 Unused dependencies

In package.json but never imported

     package.json : @mui/lab
     package.json : @testing-library/jest-dom
     package.json : @urql/exchange-retry
     package.json : logrocket-react
     package.json : stripe

3 Unused devDependencies

In package.json devDependencies but never used

     package.json : @types/logrocket-react
     package.json : @types/react-inspector
     package.json : sharp

@GregorShear
GregorShear force-pushed the claude/settings-sidebar-nav branch from 6e3d488 to 41ec74e Compare August 1, 2026 02:10
The admin area's four pages were reached through a tab bar rendered at the top of each page. They now appear as sub-items of the Admin entry in the sidebar, so the sidebar shows where you are within the section instead of the page repeating its own navigation.

While the sidebar is expanded, the sub-items list beneath the active section as indented labels without icons, and the section header drops its selected background so only the current page reads as selected. On the collapsed rail there is no room for the labels, so hovering or focusing the section opens them in a flyout beside the rail; the flyout closes on a short delay to let the pointer reach it, and ArrowRight moves focus into it for keyboard users.

Billing remains gated on hasAnyAccess, as it was in the tab bar. The access grants page title is now "Account Access" to match its nav label, which the tab bar had already been using.

NavigationTabProps is no longer exported now that the deleted admin tabs were its only outside consumer, and NavLink stays local to NavItems since the sidebar reaches it through the wrapper.
@GregorShear
GregorShear force-pushed the claude/settings-sidebar-nav branch from 41ec74e to 0829b0f Compare August 1, 2026 13:06
@GregorShear
GregorShear changed the base branch from main to codex/org-selector August 1, 2026 13:06
@GregorShear GregorShear mentioned this pull request Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant