Add unread indicators to chat sidebar sessions #47
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#47
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
Expose server-derived unread state on chat-sidebar rows. The server derives
unreadfrom alast_read_atwatermark andPATCHacceptsunread; presentation is undecided, with a pulsing dot suggested as one option.Files and APIs
Sources/HermternalCore/Net/RestClient.swift: session-list decoding andPATCH /api/sessions/{id}unread updates.Sources/HermternalCore/Models/ChatModels.swift: session unread andlast_read_atstate.Sources/Hermternal/AppModel.swift: read-state and refresh routing.Sources/Hermternal/Views/SidebarView.swift: row indicator presentation.Acceptance
unreadvalue derived from itslast_read_atwatermark.PATCH /api/sessions/{id}with theunreadfield and survives refresh.