mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The main window launched maximized on every start: tauri.conf.json set maximized: true and the window-state plugin was configured to skip restoring size/position/maximized, so user resizes never survived a relaunch and large displays always got an edge-to-edge window. - Default to a centered 1280x800 window instead of maximized. - Restore saved size/position/maximized across launches (only VISIBLE and FULLSCREEN stay excluded: visibility is app-managed via the hidden-until-React-mounts flow, and relaunching into fullscreen is jarring). - Chain setFocus() after show() on mount so the window no longer reveals itself underneath other windows on launch. Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
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 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