SortableList
Drag + keyboard reorderable list: single list or linked kanban columns with version-aware 409 recovery.
Live
To do
- Design API
- Write tests
Doing
- Build sortable kanban
Done
- Read ARCHITECTURE.md
Example
ui.SortableList(ui.SortableListConfig{
Label: "Priorities", RPCPath: "/api/reorder",
Items: []ui.SortableItem{{Key: "a", Label: "A"}},
})
// Kanban: one SortableList per column, same Group, unique Container
ui.SortableList(ui.SortableListConfig{
Label: "To do", Group: "board-1", Container: "todo",
RPCPath: "/api/move", Version: "v1",
ConflictRPC: "/api/conflict?col=todo",
Items: items,
})