Files
buzz/desktop
ss-dev-00 57e200480d test(desktop): assert the Commands status row in the drawer's reading variant
`observer-feed-screenshots` 09 asserted the `available_commands_update`
lifecycle row as `getByText("Commands", { exact: true })`. That located the
dense variant's separate title span. The observer feed ("View activity") is
hosted by the agent activity cover drawer, so once the pin commit made the
drawer render the `conversation` variant, a plain lifecycle status recedes to a
`ConversationDivider` whose label is the joined `title · text` — and the exact
text node stopped existing.

The row is NOT dropped: the failure screenshot shows "Commands · Commands
available: 3" rendered as the centered divider. So this is a stale assertion
against the new presentation, not lost content, and the pin is correctly scoped
— the drawer IS the reading surface here.

Replaces the bare text node with three assertions that are strictly stronger:
the lifecycle row exists, it carries `data-variant="conversation-divider"`, and
its full text is the joined label. A variant flip and a dropped detail half now
each fail, where the old assertion could only see one span. Tests 08/10 in the
same spec never caught this because their `getByText` calls are non-exact and
match the joined label by substring.

Co-authored-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: ss-dev-00 <a02c4e0850e5e612b4ddf95dbe2f5c56467cf27c6552203bc833ff438fb31971@buzz.block.builderlab.xyz>
2026-08-26 17:07:53 -07:00
..
…

Buzz

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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