Skip to content

fix(app): remember the debug bar and let it be closed - #57332

Merged
kitlangton merged 1 commit into
betafrom
debug-bar-persist
Oct 20, 2026
Merged

kitlangton merged 1 commit into
betafrom
debug-bar-persist

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

The debug bar's open state was a window-local signal, so every reload, restart and update reset it to hidden. It now lives in a declared global extension store (extension.debug.bar, the same persisted client state tabs and layout use), together with whether the Motion workspace is open.

The bar also gets a close button (×, ghost icon button, aria-label and tooltip "Hide debug bar", which names the palette command "Toggle debug bar" for bringing it back).

Gating is unchanged (dev server and Beta only).

Test: component spec that a bar left open is restored on a fresh mount over the same storage, that the close button hides it, and that the hidden state is written and stays hidden after the next mount.

@kitlangton
kitlangton merged commit 547381a into beta Oct 20, 2026
11 of 17 checks passed
@kitlangton
kitlangton deleted the debug-bar-persist branch October 20, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant