Unified single-screen workspace replacing four routed views (DEC-011) - #2
Merged
Conversation
Restructure the frontend from four keyboard-routed views (Builder / Live Run / Replay / Library) into one workspace: an always-visible workflow sidebar (library + run history), a shared top bar (editable name, Save/Validate, persisted workspace root, one-click Run), and a single stage showing either the design surface or the run surface. Live monitoring and replay are now the same surface: RunPanel derives all state from the event log at an index — following the live tail or scrubbing back through the same timeline. Fixes several disconnects: sidebar selection actually loads the workflow onto the canvas, runs opened mid-flight backfill their persisted events (deduped against the stream), replay renders the real graph instead of a text list, and the token-usage derivation is shared instead of duplicated. - delete BuilderView/LibraryView/LiveRunView/ReplayView - add WorkflowSidebar, DesignSurface, RunPanel, deriveTokenPcts - rewrite App.tsx as the workspace shell; add ipc.validateWorkflow - new layout CSS incl. previously missing toolbar-btn/scrubber styles - replace view test suites (174 vitest tests green, tsc clean) - port all six E2E specs to the new selectors (syntax-checked only) - docs: ARCHITECTURE §10, DESIGN_SPEC §4 banner, DECISIONS DEC-011 (includes remaining-work checklist), AGENTS.md §7 + discovery entry Co-Authored-By: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restructure the frontend from four keyboard-routed views (Builder / Live Run / Replay / Library) into one workspace: an always-visible workflow sidebar (library + run history), a shared top bar (editable name, Save/Validate, persisted workspace root, one-click Run), and a single stage showing either the design surface or the run surface.
Live monitoring and replay are now the same surface: RunPanel derives all state from the event log at an index — following the live tail or scrubbing back through the same timeline. Fixes several disconnects: sidebar selection actually loads the workflow onto the canvas, runs opened mid-flight backfill their persisted events (deduped against the stream), replay renders the real graph instead of a text list, and the token-usage derivation is shared instead of duplicated.