Add flat folders with manual ordering to the chat sidebar #43
Labels
No labels
delivered
outstanding
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kayg/hermternal-apple#43
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Ask
Add flat, single-containment folders with manual ordering to the chat sidebar. Folders must not nest because
onMovedoes not work on hierarchical macOS lists. A folder must be a row, never aSection, because aSectioncannot be a drop target.Files and APIs
Sources/Hermternal/Views/SidebarView.swift: the sidebarList, folder rows, and drop/reorder actions.Sources/HermternalCore/Sidebar/SidebarOrdering.swift: sidebar section and row placement.Sources/Hermternal/AppModel.swift: session and folder state integration.~/.config/hermternal/config.json: persisted folder definitions, memberships, and manual order.Acceptance
Sectiondrop target.~/.config/hermternal/config.json.