feat(tabs): reorder tabs by grip drag or Alt+arrows #16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/tab-reorder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Change
Each tab in the strip has a grip, dragged by touch or mouse. Alt+Left/Right on a focused tab moves it too. The order shows at once and returns if herdr refuses. Adds
POST /api/tab/move(tab.move), proxied to remote PCs and answered in the demo. herdr's insert index counts before the tab leaves its place; a move forward names the slot after the target.Closes #15.
Validation
bun run check fastpasses. New:dragSort.test.ts(moveIds, orderBy, sameIds); contract tests for validation, a real move and the local-PC alias. Screenshot to attach.Desktop, mid-drag and after the drop.
Touch, 412x900: grips on every tab, then mid-drag.
The body omits the second commit, a browser check,
scripts/tab-reorder-regression.ts.Video: drag a tab by its grip to reorder. Desktop · Touch
Pull request closed