chore(web): remove repo picker from /agents header #1115

Merged
charles merged 1 commit from chore/remove-agents-repo-picker into main 2026-05-11 22:14:33 +00:00
Collaborator

Summary

  • Drop the <RepoSelector /> render + import from apps/web/src/routes/agents.tsx. The global repo picker in the sidenav covers this — the per-route copy was a duplicate.
  • Update the layout doc comment.

useSelectedRepos() consumers (Roster, Watchdog panel, Board) keep reading the same shared store; only the visual selector inside the agents header goes away.

Test plan

  • bun x turbo run typecheck --filter=@claude-hooks/web --force passes
  • just lint clean
  • just fmt-check clean
  • Manual: /agents/* pages no longer show a top-right picker; the sidenav picker still scopes the Roster fetch

🤖 Generated with Claude Code

## Summary - Drop the `<RepoSelector />` render + import from `apps/web/src/routes/agents.tsx`. The global repo picker in the sidenav covers this — the per-route copy was a duplicate. - Update the layout doc comment. `useSelectedRepos()` consumers (Roster, Watchdog panel, Board) keep reading the same shared store; only the visual selector inside the agents header goes away. ## Test plan - [x] `bun x turbo run typecheck --filter=@claude-hooks/web --force` passes - [x] `just lint` clean - [x] `just fmt-check` clean - [ ] Manual: `/agents/*` pages no longer show a top-right picker; the sidenav picker still scopes the Roster fetch 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore(web): remove per-route repo picker from /agents header
All checks were successful
qa / sql-layer-check (pull_request) Successful in 9s
qa / dockerfile (pull_request) Successful in 21s
qa / db-schema (pull_request) Successful in 42s
qa / i18n-string-check (pull_request) Successful in 1m8s
qa / qa-1 (pull_request) Successful in 5m2s
qa / qa (pull_request) Successful in 0s
cb4fd71e13
The global repo selector lives in the sidenav, so the duplicate
RepoSelector in the /agents layout header is redundant.

Drops the import + render; the route's heading bar now contains
only the page title. Roster/Live/Sessions/Config continue to read
`useSelectedRepos()` from the shared store, which is now driven
exclusively by the sidenav picker.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
charles deleted branch chore/remove-agents-repo-picker 2026-05-11 22:14:34 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!1115
No description provided.