feat: hide Devframe Inspector by default and auto-hide empty terminals/messages docks#399
Merged
Merged
Conversation
commit: |
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.
Description
Two dock-visibility changes for Vite DevTools:
Devframe Inspector is hidden by default. The meta-introspection dock (from
@devframes/plugin-inspect) no longer shows up in the dock bar out of the box. A new "Show Devframe Inspector" toggle in Settings → Advanced opts into it. Backed by a new optionalshowDevframeInspectorfield on the kit'sDevToolsDocksUserSettings; the client filters the inspector out of the dock bar unless it's enabled, while still listing it in the Docks management view so it stays discoverable.Terminals & Messages docks auto-hide when empty. The hub's built-in
~terminals/~messagesdocks used to disappear when there was nothing to show, but that behavior was lost when they were replaced by the official plugins mounted as plain iframe docks. Restored server-side: each plugin's dock now sets itswhenclause to'false'while its session/message collection is empty (and clears it otherwise), reacting live to terminal/message events.Linked Issues
Additional context
DEVTOOLS_INSPECTOR_DOCK_IDconstant so the node side (mount) and client (visibility gate) agree.pnpm lint,pnpm typecheck,pnpm test(191 passing), andpnpm build.This PR was created with the help of an agent.