Skip to content

Redesign the workbench as floating islands (0286) - #426

Merged
crs48 merged 6 commits into
mainfrom
claude/workbench-redesign-491f68
Jul 9, 2026
Merged

Redesign the workbench as floating islands (0286)#426
crs48 merged 6 commits into
mainfrom
claude/workbench-redesign-491f68

Conversation

@crs48

@crs48 crs48 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

Recompose the desktop workbench as one warm canvas surface with all chrome floating on top as rounded, softly-shadowed islands — a calmer, Notion / Claude-desktop feel where the document reads as the brightest, most-forward plane. Implements the external "Floating Islands" design handoff. See exploration 0286.

What changed

  • Warm-clay tokens — a .wb-root / .dark .wb-root override (canvas / island / island-b + soft --isl-shadow / --pop-shadow), plus island/island-b/canvas colors and shadow-isl/shadow-pop utilities. Rides on top of the 0166 ramp; the linear accent still composes on top.
  • FloatingFrame — the new pinned desktop renderer (11px pad, 8px gaps). Focus/zen still hand off to the bare surface.
  • Two sidebar islands — a top nav island (avatar → profile, workspace selector, Search ⌘K, New, pinned primary surface rows, "More") and a contextual bottom island whose header + body swap with the active surface, rendering that surface's real registered slot view.
  • Surfaces model (activeSurface / navPinned) + a roll-out flyout to pin/unpin which surfaces stay visible.
  • Editor = the base surface (not an island): breadcrumb header (sidebar toggle, facepile, Share, comments, notifications, more) + pill tabs (a pill variant of the existing TabBar).
  • Right context island, status-bar island, and a bottom-center Assistant dock (a real launcher into the AI surface — no fabricated conversation). The faithful video-call island is present but off until a real calling backend exists (no fake live-call state at rest).
  • Anchored popovers: New, Notifications, Profile, Surfaces (command palette stays the existing ⌘K GlobalSearch).

The store, views, tabs, hooks and routing are reused unchanged; this is the pinned frame's new paint plus a small surfaces model.

Verification

  • Live-rendered in the worktree preview in light + dark: islands, surface switching, pin/unpin, pill tabs, comments → right island, floating dock repositioning, and all popovers — no console errors.
  • pnpm typecheck (94/94), lint (0 errors), humane-patterns gate, and 197 workbench tests (190 existing + 7 new) all pass. apps/web is private → no changeset; changelog fragment added.

🤖 Generated with Claude Code

@crs48
crs48 temporarily deployed to pr-426 July 9, 2026 05:28 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview removed for PR #426.

github-actions Bot added a commit that referenced this pull request Jul 9, 2026
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🖼️ UI changes in this PR

Screens

✏️ Home _(SSIM 0.758)_
before after diff
before after diff

Auto-captured by CI · run. Informational — not a blocking check.

xNet Test added 6 commits July 8, 2026 22:42
Signed-off-by: xNet Test <test@xnet.dev>
Recompose the desktop pinned frame as one warm canvas surface with all
chrome floating as rounded islands: two stacked sidebar islands (nav +
contextual surface), a base-surface editor with header + pill tabs, a
right context island, a status-bar island, and a bottom-center chat dock.
Adds the surfaces model (activeSurface/navPinned) and anchored popovers;
reuses the store, views, tabs and hooks unchanged.

Signed-off-by: xNet Test <test@xnet.dev>
Add a smoke test for the surfaces model and the new floating-shell store
actions, plus the changelog fragment. Existing workbench tests (190) pass
unchanged.

Signed-off-by: xNet Test <test@xnet.dev>
Signed-off-by: xNet Test <test@xnet.dev>
Signed-off-by: xNet Test <test@xnet.dev>
The safety-ui e2e helper drove the legacy Rail; teach it the new
two-island sidebar (Inbox is a pinned primary row; Discover opens from
the More roll-out). Also prettier-format the new shell files.

Signed-off-by: xNet Test <test@xnet.dev>
@crs48
crs48 force-pushed the claude/workbench-redesign-491f68 branch from 9fb268f to 38db38f Compare July 9, 2026 05:43
@crs48
crs48 temporarily deployed to pr-426 July 9, 2026 05:43 — with GitHub Actions Inactive
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@crs48
crs48 merged commit 1bc581d into main Jul 9, 2026
15 checks passed
@crs48
crs48 deleted the claude/workbench-redesign-491f68 branch July 9, 2026 05:57
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
crs48 added a commit that referenced this pull request Jul 9, 2026
## Summary

Three refinements on top of the merged Floating Islands workbench
(#426):

1. **Dev-tools island** — in dev builds, a 32×32 wrench island now docks
beside the status-bar island (bottom-right). Its upward popover opens
the real `@xnetjs/devtools` panels — **Query console** (⌘J), **Inspect
schema**, **Sync log**, and **Feature flags** (→ `/experiments`). A new
`hideFab` prop on `XNetDevToolsProvider` retires the floating draggable
FAB in favour of the docked island (⌘⇧D still works). Gated on
`import.meta.env.DEV`, so production tree-shakes it out entirely.

2. **Collapsible header island** — a caret at the base of the top
sidebar island collapses it to a compact rail (avatar + workspace
selector + search/new; a divider; icon-only pinned surfaces + More).
Only the **header island's height** animates (240ms
`cubic-bezier(.4,0,.2,1)`, reduced-motion aware); its width doesn't
change and the Explorer island below (`flex-1`) grows to fill. New
`sidebarCompact` store field.

3. **Linear-style task rings** — already satisfied: the real Tasks
surface renders `@xnetjs/ui`'s `TaskStatusIcon` (a Linear-style workflow
ring), not a checkbox, so no change was needed. Modifying that shared,
widely-used component was intentionally avoided.

## Verification
- Live-rendered in the worktree preview: the dev-tools island opens its
upward popover and **Query console** opens the real DevTools Queries
panel; the header caret collapses to the compact rail and back with the
Explorer island reflowing; the floating FAB is gone; no console errors.
- `pnpm typecheck` (94/94), lint (0 errors), humane-patterns gate, and
206 workbench + devtools tests (incl. a new `sidebarCompact` test) all
pass. `apps/web` + `@xnetjs/devtools` are private → no changeset;
changelog fragment added.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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