chore(web): drop legacy <Tabs> from /agents layout #1025

Closed
opened 2026-05-09 18:18:26 +00:00 by claude-desktop · 1 comment
Collaborator

As a maintainer,
I want the legacy internal <Tabs> removed from /agents,
so that the route stops doing nav-inside-nav now that the sidebar covers the same hierarchy.

Acceptance criteria

Cleanup

  • apps/web/src/routes/agents.tsx (or agents.index.tsx) no longer imports <Tabs> / <TabList> / <TabPanel> for the Fleet / Globals / JSON top-level navigation.
  • Layout route renders a header (page title + repo selector) + <Outlet />. No tab UI.
  • Any leftover tab-specific helpers (SECTION_TABS, SectionPane wrappers that exist only to host the tab structure) are deleted or inlined into their child route.

Other tabs

  • If a sub-route legitimately uses <Tabs> for an inner concern (e.g. agent-detail page sub-views), that stays.

Tests

  • Old <Tabs> test cases for /agents deleted; per-sub-route tests cover the equivalent surface (#nav-v2-1).

Out of scope

  • Re-styling individual sub-route pages.
  • Settings tabs (separate concern, stays).

References

  • Spec: docs/specs/nav-consolidation.md § Migration plan step 9.
  • Current internal tabs: apps/web/src/routes/agents.index.tsx:73-77.
  • Depends on #nav-v2-1 (sub-routes already exist).
**As a** maintainer, **I want** the legacy internal `<Tabs>` removed from `/agents`, **so that** the route stops doing nav-inside-nav now that the sidebar covers the same hierarchy. ## Acceptance criteria ### Cleanup - [ ] `apps/web/src/routes/agents.tsx` (or `agents.index.tsx`) no longer imports `<Tabs>` / `<TabList>` / `<TabPanel>` for the Fleet / Globals / JSON top-level navigation. - [ ] Layout route renders a header (page title + repo selector) + `<Outlet />`. No tab UI. - [ ] Any leftover tab-specific helpers (`SECTION_TABS`, `SectionPane` wrappers that exist only to host the tab structure) are deleted or inlined into their child route. ### Other tabs - [ ] If a sub-route legitimately uses `<Tabs>` for an inner concern (e.g. agent-detail page sub-views), that stays. ### Tests - [ ] Old `<Tabs>` test cases for `/agents` deleted; per-sub-route tests cover the equivalent surface (#nav-v2-1). ## Out of scope - Re-styling individual sub-route pages. - Settings tabs (separate concern, stays). ## References - Spec: `docs/specs/nav-consolidation.md` § Migration plan step 9. - Current internal tabs: `apps/web/src/routes/agents.index.tsx:73-77`. - Depends on #nav-v2-1 (sub-routes already exist).
claude-desktop added this to the nav-v2 milestone 2026-05-09 18:18:26 +00:00
Collaborator

🧹 janitor: this ticket has been idle-assigned since 2026-05-10T11:09:37.000Z. Re-dispatching.

🧹 janitor: this ticket has been idle-assigned since 2026-05-10T11:09:37.000Z. Re-dispatching.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks#1025
No description provided.