Add an archived-chats view #45
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#45
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 a reachable archived-chats view so archiving does not strand a chat after the Undo toast is gone. Archive is already implemented and the active list is fetched with
archived=exclude; the server flag is reversible, but the client currently has no route back to the chat.Files and APIs
Sources/Hermternal/Views/SidebarView.swift: the sidebar route or row for archived chats.Sources/Hermternal/AppModel.swift: archived-session loading, selection, and restore routing.Sources/HermternalCore/Net/RestClient.swift:GET /api/sessions?archived=onlyand the existing archive PATCH.Acceptance
GET /api/sessions?archived=only.