area/corearea/uienhancementgood first issuehelp wanted
Repository metrics
- Stars
- (519 stars)
- PR merge metrics
- (PR metrics pending)
Description
Summary
Show a short preview snippet (last message) for each task in the LeftNav task list, so users can quickly see what each session is about without opening it.
Gateway API
The Gateway already exposes sessions.preview:
sessions.preview → { sessionId } → { snippet: string }
Call it for each visible task and display the returned snippet under the task title in LeftNav.
Scope
- Call
sessions.previewfor visible tasks in the LeftNav - Display the last message snippet below the task title
- Handle loading / empty states gracefully
- No local caching needed — Gateway is source of truth
Acceptance Criteria
- Each task in LeftNav shows a one-line preview of the last message
- Preview updates when a new message arrives in the session
- Empty sessions show a sensible placeholder
- No performance regression when many tasks are visible (batch or lazy-load as needed)