Skip to content

Render the live workspace chrome in the design audit - #630

Merged
MaggieAppleton merged 3 commits into
mainfrom
audit-workspace-chrome
Oct 15, 2026
Merged

MaggieAppleton merged 3 commits into
mainfrom
audit-workspace-chrome

Conversation

@MaggieAppleton

@MaggieAppleton MaggieAppleton commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #626. Part of making the design audit page render the live app instead of hand-built imitations.

What was fake

  • Compact view navigation: the plate said "Conversation" and "Background", and audit CSS overrode the grid. The live labels are Chat / Document / Decisions / Build.
  • Loading and status: a hand-built header row stood in for the document title bar.
  • Tabs: the plate was missing the live buildEnabled, buildGlyph and documentActivity states.

What it renders now

  • Real WorkspaceViewNavigation in five live states:
    • Chat current, with the Planner working and 2 unread
    • Document current, with 3 unanswered
    • Decisions current, with new changes
    • Build current, with the building glyph
    • Build not ready
  • Real DocumentTitleBar, holding the real SurfaceToggle, DecisionViewControl and PlanStatus, plus the live "Can't undo" and "Edits not saved" notices.
  • DecisionViewControl while the Planner is writing, with unseen changes, Build not ready, ready, selected and hot.

Extractions

These are pure moves: markup, classes, data attributes, aria and handlers are unchanged.

  • WorkspaceViewNavigation and destinationLabel move to apps/web/src/workspace-navigation.tsx.
  • DocumentTitleBar moves to apps/web/src/document-title-bar.tsx. It keeps the document-title-bar container and data-document-title-bar, plus the views bar's data-document-toolbar, data-folded and inert.
  • LostEditsNotice and UndoRefusedNotice move to apps/web/src/document-status-notices.tsx.

Removed audit CSS

The compact-navigation grid override, its button rule, and .design-audit-status-header.

Design contract

workspace.tsx and design-audit/controls.tsx changed, so their reviews are renewed in a separate commit. Their reviewed dynamic sinks are unchanged.

Verification

  • Passed: bun run types, bun test apps/web (787 pass), the design-contract and token checks, and oxlint.
  • New tests: apps/web/src/workspace-chrome.test.ts.
  • Screenshot diffs expected: e2e/design baselines for the navigation, loading and tabs plates. The e2e suite was not run locally.
Before After
Navigation before Navigation after
Loading before Loading after
Tabs before Tabs after

🤖 Generated with Claude Code

Base automatically changed from audit-split-plates to main October 15, 2026 10:34
MaggieAppleton and others added 2 commits October 15, 2026 11:44
The Navigation plate's compact view navigation and the Loading and status
plate's header row were hand-built imitations. Extract the live pieces so the
app and the audit render one component:

- WorkspaceViewNavigation (workspace-navigation.tsx), the compact workspace's
  Chat / Document / Decisions / Build row, with destinationLabel.
- DocumentTitleBar (document-title-bar.tsx), the split sheet's title bar and
  the views bar beneath it.
- LostEditsNotice and UndoRefusedNotice (document-status-notices.tsx), the
  notices beside PlanStatus.

Each is a pure move: markup, classes, data attributes and handlers are
unchanged. The plates now render them with live states, the Tabs plate adds
DecisionViewControl's Build and document-activity states, and the audit CSS
that overrode .workspace-navigation and faked the header row is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
workspace.tsx moved its compact view navigation and title bar into
workspace-navigation.tsx and document-title-bar.tsx; design-audit/controls.tsx
gained view-control specimens. The reviewed dynamic sinks (the surface toggle's
motion feedback class, the Chat panel's presence classes, ButtonRow's class
forwarding) are unchanged. Approved by the design owner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaggieAppleton
MaggieAppleton enabled auto-merge (rebase) October 15, 2026 11:08
@MaggieAppleton
MaggieAppleton merged commit c401162 into main Oct 15, 2026
24 checks passed
@MaggieAppleton
MaggieAppleton deleted the audit-workspace-chrome branch October 15, 2026 11:12
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