Files
buzz/desktop
ss-dev-00 91d4e93ff1 feat(desktop): pin the conversation transcript variant to the cover drawer
Resolves the `TODO(#6538)` the cover drawer landed with. The reading view
is now chosen by presentation instead of inferred from panel width: the
cover drawer is the reading surface, so it returns `conversation`, and
every other host stays on the dense activity feed.

Width was only ever a proxy, and a breakable one — the split pane can be
dragged wide and a narrow overlay can be tall. The presentation that
already decided to cover is the thing that knows this is a reading
surface, so it decides the variant too.

Non-cover hosts return `undefined` rather than `"default"`: the panel
already defaults, and naming it here would imply this function decides the
non-cover variant when the profile panel picks `compactPreview` at its own
call site.

Asserted end-to-end on the transcript's `data-transcript-variant` marker in
the screenshot spec rather than on the prop, so it proves the value
survives the whole path from the resolver through the panel to the
transcript. It lives in that spec because the marker only renders once the
transcript has content, and that is the spec that seeds a turn. Verified
discriminating: reverting the pinned value alone fails the assertion.

Co-authored-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-08-25 14:18:36 -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