Skip to content

feat(web): add 4-column layout and drop-target hints to the thread workspace - #25

Merged
BarretoDiego merged 1 commit into
mainfrom
feat/four-column-split-drop-hint
Aug 25, 2026
Merged

BarretoDiego merged 1 commit into
mainfrom
feat/four-column-split-drop-hint

Conversation

@BarretoDiego

Copy link
Copy Markdown
Owner

Problem

The thread workspace could only split into 2 or 3 columns, so a wide display had no way to watch four agents side by side. Separately, dragging a thread tab gave almost no indication of where it could land — panes only showed a thin ring once the cursor was already over them, so the drop targets were invisible until you found one by accident.

Fix

Adds a four-columns layout alongside the existing geometries (grid-cols-4, 4 panes), and renders a drop hint inside every pane while a thread tab is being dragged.

The hint stays mounted and animates only opacity, so idle panes never repaint — this keeps it inside the "no continuously repainting animations" rule in AGENTS.md. On drag start every pane fades in a dashed outline with a Drop here · pane N chip; the pane under the cursor swaps to a primary-tinted border and background, and its chip becomes Release to open in pane N. All transitions are one-shot, 150ms, and respect motion-reduce.

The empty-pane placeholder now also mentions dragging, since that entry point was previously undiscoverable.

Switching between four-columns and grid-2x2 keeps the same pane count, so no tabs are merged or lost — covered by a new test.

Verification

  • vp test run apps/web/src/threadWorkspaceStore.test.ts — 11 passed
  • targeted lint on the three touched files — clean
  • vp run --filter @t3tools/web typecheck — clean

No screenshots or motion capture attached: the maintainer asked to ship this directly without a browser pass.

Model: Claude Opus 5 via Claude Code

…rkspace

The thread workspace could only split into 2 or 3 columns, so a wide display
had no way to watch four agents side by side, and tab drag-and-drop gave no
indication that a pane was a valid drop target beyond a thin ring once the
cursor was already over it.

Adds a `four-columns` layout alongside the existing geometries, and renders a
drop hint in every pane while a thread tab is being dragged. The hint stays
mounted and only animates opacity, so idle panes never repaint; the pane under
the cursor swaps to a primary-tinted border and a "release" label.

Model: Claude Opus 5 via Claude Code
@BarretoDiego
BarretoDiego merged commit 149ac92 into main Aug 25, 2026
3 of 11 checks passed
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Aug 25, 2026
@BarretoDiego
BarretoDiego deleted the feat/four-column-split-drop-hint branch August 25, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant