feat: floating control panel — the draggable palette replaces the static header controls - #181
Merged
Conversation
…tic header controls (#180) Every control moves off the fixed chrome into one Adobe-style floating panel (web/panel.js owns the chrome: drag by the title bar, magnetic snap to viewport edges/corners, collapse to the bar, tabs, persisted position; app.js renders the tab contents): - View: zoom stops, radial, fit / SVG export / inspect toggle, the lanes link, and the theme picker. - Scope: env/stack/tier/target — the lenses that were ⌘K-only. - Substrates: status rows with bring-up/reset/run-pipeline inline again. - Model: the two old header legends as live counts, plus per-component applied/unapplied rows that click through to inspect. - Deploy: the deploy actions bar and the observe → reconcile → apply dial, unchanged in behavior. The header keeps only state (meta + the zoom/env/stack/tier strip); the ⌘K palette keeps every command — same handlers — and gains collapse/ expand + jump-to-tab entries. The ⌘K pill lives on the panel title bar. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…180) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Closes #180.
All static UI controls move off the fixed chrome into one floating, Adobe-style control panel. The header keeps only state (meta line + the zoom/env/stack/tier strip); ⌘K keeps every command and gains panel entries.
What's in the panel
Chrome (web/panel.js, new)
behold.panel).Wiring notes
#substrates,#dial,#actionskept their ids —renderSubstrates/renderDial/initActionsjust render into hosts that now live inside tabs. Substrate rows only rebuild when the poll data changes, so buttons don't vanish under the cursor.#legend/#component-legendheader spans; it picks the drift vs component-status vocabulary from the last render'smeta.mode.<select>, theme picker slot, and header pills are gone;renderStatusbar()re-renders the panel on every load/lens change and echoes zoom on the strip again.</head>injection intact,web/copied verbatim — panel.js rides along viafiles: ["web"]).Verified
tsc,buildpass.🤖 Generated with Claude Code