mirror of
https://github.com/block/buzz.git
synced 2026-11-04 08:21:48 +00:00
CI was failing 16 smoke tests (workflows.spec, channels.spec, smoke.spec, file-attachment.spec) because preview-gated UI (workflows, forum, pulse, projects) didn't render in mock-bridge tests. Tests clicked testIDs that were behind <FeatureGate>, timing out. - bridge.ts: seed sprout-feature-overrides-v1 in localStorage with all preview feature IDs enabled by default via addInitScript. New seedPreviewFeatures option (default true) opts out for specs that exercise the toggle UI itself. - screenshot-feature-flags.ts: pass seedPreviewFeatures: false so the Experiments toggle flow still drives each feature on via the UI. 59/59 affected smoke tests passing locally. Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Sprout
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition