Files
Codeman/packages
Codeman maintainer bc1a97eee2 fix(desktop): a server tab can be dragged into the last place
Dragging a tab as far right as it goes left it one place short of the
end (4 tabs: the first one landed third, the move posted to: 2). The
clamp stops the dragged tab with its centre exactly on the last tab's
centre, and the comparison was strict. A tab after the dragged one now
counts as passed once the centres meet; one before it still needs the
centre to cross, so a press that does not move stays in place.

Found while integrating #852 with #816 (shipped in 1.52.0). The strip
walk in test/desktop-tabs-pages.browser.test.ts drags past the end; that
check fails without the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 10:45:42 +01:00
..