Files
orca/config
Kelvin Amoaba a353e6293e fix(session-history): show the last list at once after a restart while it rescans (#39380)
* fix(session-history): show the last list at once after a restart while it rescans

The renderer's list cache lived only in memory and deleted entries on every
rescan or chat link change, so a restart or a forced rescan left the panel on
a skeleton until the host finished scanning. Save each scope's last rows in
IndexedDB (no message text), mark outdated entries stale instead of dropping
them, and paint that list as refreshing until the rescan replaces it.

Fixes #39308

* perf(session-history): skip the saved-list write when a rescan changed nothing

* fix(session-history): skip unchanged saves across panels and keep a saved list through a cancelled publish

* fix(session-history): evict saved lists by last use and save once the profile loads

* test(session-history): drop an identity-only refresh test and correct the truncation comment

* fix(session-history): let the React compiler handle the moved new-session rescan
2026-11-09 00:37:50 +00:00
..