Repository navigation
fix(app): remember the debug bar and let it be closed - #57332
Merged
Merged
Conversation
kitlangton
force-pushed
the
debug-bar-persist
branch
from
October 20, 2026 08:58
753ec9d to
10bc7d7
Compare
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.
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.