T13a Lists: ListItem, List, SelectableList, VirtualList, InfiniteList, GroupedList, SortableList, SwipeableListItem (review pending: codex 401)

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 19:35:28 -04:00
1 parent f41faf5684
commit 2d6404f688
23 files changed
+1820 -14

No files matched your search

+17 -11
View File
@@ -89,23 +89,29 @@
- [x] Rating display → `data_display::Stars`, read only with parts of a star; `forms::Rating` sets a score
- [x] Comparison → `data_display::Comparison`
## T13 Lists & Trees — `src/lists`
## T13a Lists & Trees · Lists — `src/lists`
- [x] List / ListItem → `lists::List`, `ListItem`
- [x] VirtualList → `lists::VirtualList`, on gpui's `list()`; rows as tall as they need
- [x] InfiniteList → `lists::InfiniteList`
- [x] SortableList → `lists::SortableList`; drags through `motion::Reorder`, Alt with arrows moves
- [x] SelectableList — single, multi, shift range → `lists::SelectableList`
- [x] GroupedList → `lists::GroupedList`, headers from `layout::StickyHeader`
- [x] SectionList → `lists::GroupedList`
- [x] ReorderableList → `lists::SortableList`
- [x] SwipeableListItem → `lists::SwipeableListItem`, `SwipeAction`; proved with real trackpad phases (`Step::Swipe`)
## T13b Lists & Trees · Trees
- [ ] List / ListItem
- [ ] VirtualList — native `list()` / `uniform_list()`, themed rows
- [ ] InfiniteList
- [ ] SortableList
- [ ] SelectableList — single, multi, shift range
- [ ] GroupedList — sticky group headers
- [ ] SectionList → `lists::GroupedList`
- [ ] ReorderableList → `lists::SortableList`
- [ ] SwipeableListItem — prove: horizontal trackpad scroll
- [ ] Tree / TreeView — also T06b TreeSelect
- [ ] VirtualTree → `lists::Tree`
- [ ] FileTree
- [ ] CheckboxTree
- [ ] Outline
- [ ] NestedList → `lists::Outline`
## T13c Lists & Trees · Files
- [ ] FileTree
- [ ] DirectoryListing
- [ ] Menu List → `menus::Menu`
- [ ] Transfer List → `forms::TransferList`