Make chat sessions pinnable #38
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#38
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
Allow sessions to be pinned and keep pinned sessions surfaced consistently in the chat sidebar. This is the state/display half of the section work in the companion sections issue: a pinned section at the top is the likely presentation, but the implementation may use an equivalent top placement that remains obvious.
Files and APIs
Sources/Hermternal/Views/SidebarView.swift:List,Section, andSessionRowpresentation.AppModel.sessionsandselectedSessionID, including persistence of the pinned state.Sources/Hermternal/Views/RootView.swift/ChatWindowonly where sidebar state is composed.Acceptance
PATCH /api/sessions/{id}with{"pinned": bool}, so it needs no local store and syncs across devices for free.