Repository navigation
Improve the dock: drag tabs across groups, a placeholder panel and overflowing tabs - #55
Merged
Merged
Conversation
A tab dragged over the space after a group's tabs slides in as its last tab, and one dropped on the centre of a group's content joins it, with the content filled while held. Tabs and strips match by the dragged tab's centre, the strip resizes with its sliding tabs, and the drop has no animation. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A tab held in the outer fifth of a group's content fills the half that it would take, and dropping it there puts it in a new group on that side. Drags in the dock no longer scroll the content under the pointer. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A tab held within 24 pixels of the left, right or bottom of the dock fills a quarter of it, and dropping it there puts it in a new group along that edge. A group that spans the edge is split instead, which gives the same layout. The drag tests sit beside the files they cover, and edge and CENTERED have their own. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A tabless panel, which today is only the file tree, can be dragged to a group of its own but never among tabs. It keeps its width when it moves from one row to another, and its height from one column to another. A drop works out a placement and moves the panel to it, and a tab stays where it shows unless the drag was cancelled or released over nothing. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The lock on tool groups, the veto on merging into them and the listener that cancelled group drags did nothing once dockview's drag and drop was disabled. A dragged tool tab is a lifted card like any other tab. The dragged tab and each drop preview have visual baselines. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Dockview spreads the space of a removed group over every group left in its row or column. The dock manager now gives it to the previous group, or the next, and restores the rest. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A tabless panel, which today is only the file tree, is picked up by the space after its tab as well as by the tab. The strip is the lifted card, as wide as the panel's group, and the tool tab inside it is never painted. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A dock has a placeholder panel exactly while no other tab panel is open. It takes the place of the last tab panel that closes, and closes once another tab panel opens. Its tab is not drawn, so its group shows only the + in its strip, and a tab added to its group gets its space while the other groups keep their sizes. A new dock starts with the file tree beside the placeholder, and no longer opens a terminal. A tab's close button is always shown, since the last tab can be closed. The data-tool CSS hook is now data-tabless. The workspace dock's visual tests attach their dock and add the terminal that their baselines show. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The shell's split view is no longer proportional, so a resize of the window goes to the content and the projects sidebar keeps its width until it is dragged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A group's strip has a button after the one that adds a tab, shown while tabs overflow, whose space is kept so the add button stays put. Its menu lists the overflowing tabs in order. A row activates its tab, and its close button, or Mod-Backspace on macOS and Delete elsewhere, closes the tab and keeps the menu open. This replaces dockview's own overflow list, which was drawn under the dock because the theme did not define dockview's overlay z-index. Both buttons have a tooltip and are one component, TabActions, which is shown only for a group that the dock says has a tab panel instead of by a list of tool panels. A group's shown tab is scrolled into view when it changes and when its strip resizes. The strip's buttons and tab pills are 24px tall, so a 12px icon is centred, the add button no longer sits over the tabs, and the strip's scrollbar has the border color of the other scrollbars. The dock's drag and drop moves from -drag to -dock. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Dockview moves a tab by removing it and adding it again. In between, it activates another tab of the group and scrolls the strip to it, so a strip that overflows jumped after a reorder. Each strip's scroll position is now read before the move and restored after it. Dockview's own drag and drop has the same jump. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Dockview floats a tab, or a whole group by the space after its tabs, when it is pressed with Shift. Floating groups are now disabled. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…owser A link that the renderer opens is handed to the system browser when it is http or https. In development the renderer's own origin is http too, so its own pages went to the browser as well. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The form beside a settings preview was held between 600 and 672 pixels. The sash between them stays invisible while it is dragged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A workspace in the projects sidebar is a link, so a click with Alt, Meta or Shift was left to the browser, which opens a link in a new window or downloads it. The click now always navigates the window. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
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.
Drag and drop
Sizes
Placeholder
Tab strip
Also in this branch
Tests
editor,language overridden row) are not updated for the new form width.🤖 Generated with Claude Code