Commit graph

3 commits

Author SHA1 Message Date
nesquena-hermes
b36bd789ce fix(#5551): refresh sidebar recency after missed session events
A reactivated older conversation wasn't bumped to the top / into Today until a
manual refresh when the viewing tab was backgrounded/unfocused: refreshSessionList
early-returns on document.hidden unless force=true, and the sidebar SSE closes on
blur — but the in-flight/pending coalescing only preserved the refresh REASON
string, dropping the opts (force/refreshActive). So a coalesced 'sessions_changed'
refresh lost its force flag and got skipped on a hidden tab. Now the pending
request preserves merged opts (force/refreshActive OR-merged), and a dedicated
resume-refresh path forces a catch-up when the sidebar regains focus, so
cross-device recency re-sorts land without a manual refresh.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-07-04 22:34:28 +00:00
nesquena-hermes
c96fa3cb1f fix(sessions): refresh active WebUI sessions on session events 2026-06-16 22:35:47 +00:00
Rod Boev
8c105bd31d fix(sessions): guard external refresh poll to skip non-external sessions (#3916) 2026-06-14 15:05:10 -04:00