Skip to content

feat(web): add poster history drawer, Zustand migration, and studio optimizations - #14

Merged
sdrpsps merged 6 commits into
mainfrom
feat/studio-optimizations
Aug 16, 2026
Merged

sdrpsps merged 6 commits into
mainfrom
feat/studio-optimizations

Conversation

@sdrpsps

@sdrpsps sdrpsps commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

This PR introduces the poster generation history drawer, migrates frontend state to Zustand to eliminate re-render cascades, optimizes vendor chunk bundle sizes, and standardizes Tailwind CSS v4 class utilities and diagnostics.

Key Changes

  • Poster History: Added persistent IndexedDB-based poster history storage with thumbnail preview, full poster modal view, snapshot configuration restore, copy/share/download actions, and history drawer sheet.
  • State Management: Migrated poster studio state to Zustand store, decoupling independent sections and avoiding full studio re-renders.
  • Image Sharing & Clipboard: Added utilities for copying PNG blob/URLs directly to system clipboard and sharing via Web Share API with graceful fallbacks.
  • Bundle Optimization: Configured Rollup manual chunks for vendor splitting (React core, Base UI / Lucide / Zustand, i18next).
  • Tailwind v4 & Diagnostics: Standardized Tailwind CSS v4 utility classes across components, added theme font/color tokens, and configured VS Code language associations for Tailwind CSS.

Verification

  • Ran oxlint: 0 errors, 0 warnings.
  • Ran tsc -b && vite build: Build completed successfully.
  • Ran pytest suite: 130 passed.

@sdrpsps
sdrpsps merged commit a451466 into main Aug 16, 2026
1 check passed
@sdrpsps
sdrpsps deleted the feat/studio-optimizations branch August 16, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant