Repository navigation
feat(web): add 4-column layout and drop-target hints to the thread workspace - #25
Merged
Merged
Conversation
…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
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.
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-columnslayout 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 inAGENTS.md. On drag start every pane fades in a dashed outline with aDrop here · pane Nchip; the pane under the cursor swaps to a primary-tinted border and background, and its chip becomesRelease to open in pane N. All transitions are one-shot, 150ms, and respectmotion-reduce.The empty-pane placeholder now also mentions dragging, since that entry point was previously undiscoverable.
Switching between
four-columnsandgrid-2x2keeps 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 passedvp run --filter @t3tools/web typecheck— cleanNo screenshots or motion capture attached: the maintainer asked to ship this directly without a browser pass.
Model: Claude Opus 5 via Claude Code