Skip to content

feat(devtools): open the panel as a hovering overlay island - #437

Merged
crs48 merged 2 commits into
mainfrom
feat/devtools-island-panel
Jul 9, 2026
Merged

feat(devtools): open the panel as a hovering overlay island#437
crs48 merged 2 commits into
mainfrom
feat/devtools-island-panel

Conversation

@crs48

@crs48 crs48 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

What

Restyle the @xnetjs/devtools panel 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.

  • Island, not a sheet. Every dock renders as an overlay island: rounded-2xl + full border-hairline + shadow-pop, filled with bg-island-pop, inset from the edges so it clearly floats above the content. The provider drops the old paddingBottom/paddingRight layout reservation so the content keeps full size and the island hovers over it.
  • Warm colour match. The container carries the wb-root class 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-root descendant selector.
  • Pill tabs. The old underline tabs (border-b-2) are now pills (rounded-[9px], active bg-accent text-ink-1, inactive text-ink-3 hover:bg-background-muted) — the same recipe as the workbench TabBar pill variant.

Verification

Loaded the workbench in the browser and opened the panel (Ctrl+Shift+D):

  • border-radius: 16px, bg-island-pop = warm rgb(231,227,218) matching the Explorer islands, 8px insets hovering above content.
  • Active pill tab: 9px radius, bg-accent (rgb(234,230,223)).
  • Dark mode resolves correctly (rgb(41,38,35)) via .dark .wb-root.

@xnetjs/devtools is a private package, so no changeset. A changelog fragment is included.

🤖 Generated with Claude Code

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>
@crs48
crs48 temporarily deployed to pr-437 July 9, 2026 13:35 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview removed for PR #437.

github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@crs48
crs48 temporarily deployed to pr-437 July 9, 2026 13:45 — with GitHub Actions Inactive
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@crs48
crs48 merged commit b165e17 into main Jul 9, 2026
29 of 31 checks passed
@crs48
crs48 deleted the feat/devtools-island-panel branch July 9, 2026 14:09
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant