Desktop sidebar should distinguish loading chat history from an empty history
Desktop sidebar should distinguish loading chat history from an empty history
Issue type: Feature
What problem would this solve?
When Goose Desktop starts with existing conversations, the Chats section displays No recent chats while the initial history request is still pending. A few seconds later, the existing conversations appear.
The empty-state message implies that chat history is missing. This is especially disconcerting after restarting or upgrading the app, because users cannot tell whether Goose is still loading, the history is genuinely empty, or loading has failed.
I have been noticing this more and more in my fork of goose, presumably because my chat history is getting bigger and taking longer to load (I'm estimating ~4-5 seconds in my case).
What would a good outcome look like?
The sidebar should communicate the state of the history request clearly:
- While initial history is pending, show a concise loading state like Loading chats… perhaps with some kind of progress indicator.
- Only ever show No recent chats after loading has succeeded and confirms that the history is empty.
- If initial loading fails, show a distinct failure message (with a way to retry?).
This should improve feedback without requiring the history query itself to become faster.
Possible approaches
The navigation state could distinguish a pending request, a successful result, and a failed request instead of deriving all three from whether the current list is empty. A spinner, skeleton row, or short status message could represent the pending state; the exact visual treatment should follow the existing Desktop design language.
Additional context
I observed the misleading empty state in a downstream build. Current upstream source appears to have the same ambiguity: useNavigationSessions initializes the recent-session list as empty without exposing an initial request state, while NavigationPanel selects No recent chats from the empty list.
- I have verified this does not duplicate an existing feature request
Do not begin implementation until the issue reaches Ready on the Goose Issues board.
Source: aaif-goose/goose