feat(devtools): open the panel as a hovering overlay island - #437
Merged
Conversation
Restyle the dev-tools panel to match the app's floating-islands shell (0286/0287): every dock now renders as an overlay island with rounded corners, a full hairline border and shadow-pop, filled with bg-island-pop and inset from the edges so it hovers on top of the content instead of sitting flush as a bottom sheet. The container carries the `wb-root` class so the island tokens (scoped to `.wb-root`) resolve even though the panel renders outside the workbench shell; dark mode still resolves via the `.dark .wb-root` selector. Tabs become pills (rounded-[9px], bg-accent when active) matching the workbench TabBar, and the provider drops the layout-reservation padding so the island truly floats over the full-size content. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: xNet Test <test@xnet.dev>
Contributor
|
Preview removed for PR #437. |
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.
What
Restyle the
@xnetjs/devtoolspanel to match the app's floating-islands shell (explorations 0286/0287). When it opens, it now reads as a hovering overlay island on top of the content instead of a flush bottom sheet.rounded-2xl+ fullborder-hairline+shadow-pop, filled withbg-island-pop, inset from the edges so it clearly floats above the content. The provider drops the oldpaddingBottom/paddingRightlayout reservation so the content keeps full size and the island hovers over it.wb-rootclass so the island tokens (--island-pop,--pop-shadow, warm surfaces — scoped to.wb-root) resolve even though the panel renders outside the workbench shell as a provider sibling. Dark mode still resolves via the.dark .wb-rootdescendant selector.border-b-2) are now pills (rounded-[9px], activebg-accent text-ink-1, inactivetext-ink-3 hover:bg-background-muted) — the same recipe as the workbenchTabBarpill variant.Verification
Loaded the workbench in the browser and opened the panel (Ctrl+Shift+D):
border-radius: 16px,bg-island-pop= warmrgb(231,227,218)matching the Explorer islands, 8px insets hovering above content.9pxradius,bg-accent(rgb(234,230,223)).rgb(41,38,35)) via.dark .wb-root.@xnetjs/devtoolsis a private package, so no changeset. A changelog fragment is included.🤖 Generated with Claude Code