Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(web): repo switcher — topbar + cmdk palette, signal rows (§4)

4 months ago

846771b
Authored
grim7/14/2026, 4:31:41 AM
Scope stays one active repo; the switcher changes which. Topbar trigger + ⌘K
palette; selecting is chooseActiveRepo → user.active_repo_id (persisted, survives
reloads). Rows carry signal — armed dot, pending-moderation, blocked-24h —
computed in one query, sorted by recent activity, grouped by owner. Defaults to
repos with activity (toggle for all); unarmed repos show an inline arm
(access-checked, enqueues backfill). Client-side search (server-side is the scale
follow-up). Modal a11y: backdrop button + role=dialog sibling, Esc closes.

Checks: typecheck web+db, biome, boundaries, 51 web + full suite green.

Parent174eb87

9 files changed
  • DECISIONS.md+21−0
  • all-summaries.md+13−0
  • apps/web/src/components/layouts/dashboard-topbar.tsx+3−14
  • apps/web/src/components/layouts/repo-switcher.tsx+272−0
  • apps/web/src/lib/arm.functions.ts+37−12
  • apps/web/src/lib/onboarding.functions.ts+13−2
  • apps/web/src/lib/onboarding.query.ts+9−0
  • packages/db/src/index.ts+5
−1
  • packages/db/src/services/onboarding.ts+66−1