Files
buzz/desktop
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w 589acfcb14 fix(desktop): tighten composer↔timeline parity for pre code and anchor
Address Marge's review on PR #913:

- pre code: add `block min-w-full whitespace-pre font-mono text-foreground`
  so pasted/markdown-rendered code blocks mirror CODE_BLOCK_CLASS in
  markdown.tsx token-for-token. Previously the composer's pre code only
  reset the inline-code styling; it inherited block layout by default,
  which is fine in practice but isn't true parity.
- anchor: add `transition-colors hover:text-primary/80` so hover
  treatment matches the rendered timeline.

Heading sizes, pre shadow (shadow-xs), and pre max-h ([400px]) were
flagged in review but already match markdown.tsx exactly (h1=text-xl
leading-8, h2=text-lg leading-7, h3=text-base leading-6 at line 791-806;
pre uses shadow-xs and max-h-[400px] at line 436). No change needed
there.

Verified: pnpm typecheck, pnpm lint, pnpm build all green.
2026-06-08 17:05:24 -07:00
..
2026-03-09 19:32:56 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00

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 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