Add a global sort control to the chat sidebar #44

Open
opened 2026-08-23 09:32:28 +00:00 by kayg · 0 comments
Owner

Ask

Add one global sidebar sort setting with three modes: last activity, created, and title. Expose it in a native sidebar toolbar menu and apply the chosen order inside every section.

Files and APIs

  • Sources/Hermternal/Views/SidebarView.swift: the sidebar toolbar menu and section row ordering.
  • Sources/HermternalCore/Sidebar/SidebarOrdering.swift: sort modes and per-section ordering.
  • Sources/Hermternal/Views/RootView.swift: ChatWindow toolbar composition if the control is hosted there.

Acceptance

  • The sidebar toolbar exposes exactly three sort modes: Last Activity, Created, and Title.
  • The selected mode is one global setting, not an independent setting per section.
  • Changing the mode reorders rows inside every populated section without changing section order or selection.
  • The active mode is visible in the toolbar menu and survives a sidebar refresh or relaunch.
## Ask Add one global sidebar sort setting with three modes: last activity, created, and title. Expose it in a native sidebar toolbar menu and apply the chosen order inside every section. ## Files and APIs - `Sources/Hermternal/Views/SidebarView.swift`: the sidebar toolbar menu and section row ordering. - `Sources/HermternalCore/Sidebar/SidebarOrdering.swift`: sort modes and per-section ordering. - `Sources/Hermternal/Views/RootView.swift`: `ChatWindow` toolbar composition if the control is hosted there. ## Acceptance - The sidebar toolbar exposes exactly three sort modes: **Last Activity**, **Created**, and **Title**. - The selected mode is one global setting, not an independent setting per section. - Changing the mode reorders rows inside every populated section without changing section order or selection. - The active mode is visible in the toolbar menu and survives a sidebar refresh or relaunch.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/hermternal-apple#44
No description provided.