mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
* fix(studio): a failed preview's retry button takes a click again The editing canvas covered the whole stage, above the failure drawn inside it. The live preview now reports its failure to the player store and the canvas stands aside while it shows. * test(studio): the retry walk waits for the canvas to come back once the preview can show * fix(studio): no editing box over a failed preview can take its retry click * fix(studio): a failed preview closes the canvas menu and ends the text edit * fix(studio): a menu or text edit already on its way stays shut once the preview fails * fix(studio): the canvas menu and the text edit each end themselves when the preview fails * test(studio): the canvas menu rows select their target as the overlay does * refactor(studio): name the inline edit's failed-preview refusal and its save on failure * test(studio): the preview failure walk selects text so the formatting toolbar opens
@hyperframes/studio
Browser-based composition editor UI for Hyperframes. Provides a visual timeline, code editor, and live preview for building video compositions.
Install
npm install @hyperframes/studio
What it does
The studio is a React application with:
- Visual timeline — drag, resize, and arrange elements on tracks
- Code editor — edit HTML and GSAP scripts with CodeMirror (syntax highlighting, autocomplete)
- Live preview — see changes in real time as you edit
- Composition inspector — view and modify element properties
Development
The studio is embedded in the hyperframes preview command. To develop the studio UI itself:
cd packages/studio
bun run dev # Start Vite dev server
bun run build # Build for production
bun run typecheck # Type-check
Tech stack
- React 19, Zustand 4/5 (state management; development uses Zustand 5)
- CodeMirror 6 (editor)
- Tailwind CSS (styling)
- Vite (bundler)
- Phosphor Icons
Documentation
Full documentation: hyperframes.heygen.com/packages/studio
Related packages
@hyperframes/core— types and parsers used by the editorhyperframes— CLI that serves the studio viahyperframes preview