mirror of
https://github.com/block/buzz.git
synced 2026-11-08 18:31:56 +00:00
The channel-first migration removed the Projects row from the sidebar's
primary menu and turned /projects into a redirect to home, leaving the
projects overview (ProjectsScreen) unreachable: the sidebar Projects
section's "Browse all" action and every other goProjects() caller
silently landed on the Inbox.
Bring back the entry point without reverting the migration:
- /projects renders ProjectsScreen again (lazy, in Suspense) instead of
redirecting to /. The usePreviewFeatureWarning("projects") call from
the pre-promotion route stays gone.
- The primary menu shows Projects under Inbox again, wired through
onSelectProjects and projectsOverviewActive exactly as before, but
with no FeatureGate: Projects was promoted out of preview features on
this branch and the "projects" feature id no longer exists, so the
old gate would only re-flood the console with unknown-feature
warnings.
- channel-project-features.spec.ts pinned the row's absence; it now
asserts the row is visible alongside the sidebar Projects section.
badge.spec.ts already required the row (primary rows share the same
inactive emphasis) and passes again without changes.
Verified: desktop unit suite 5943 passing; tsc, biome clean; the
channel-project-features and badge smoke specs pass (20 tests).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>