tabs: add drag-to-reorder and pinned tabs

This commit is contained in:
2026-11-15 16:14:28 +07:00
parent daca373f77
commit 4f67f9e1c2
4 changed files with 534 additions and 151 deletions
+4 -6
View File
@@ -198,12 +198,10 @@ Gaps surfaced by the signed comparison; ordered by signed's usage.
### data (`crates/data`)
- [x] List, Tree, Tabs (underline default + signed pill), Sidebar (scrolls
internally)
- [x] Tab kind groups — tabs carrying the same `Tab::kind` (two or more)
collapse into one chip labeled with the kind and its member count;
clicking it opens a popover listing the members vertically, and picking
one reports its original index through `on_change`/`on_close`; lone
kinded tabs stay inline, and the chip composes with both overflow modes
internally); tab kind groups collapse into one chip that opens a
popover of the members, tabs drag onto each other to reorder
(`draggable` + `on_reorder`), and `Tab::pinned` tabs wear the active
treatment at all times
### editor (`crates/editor`)