mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 01:35:36 -04:00
127745d13b
Two pain points: - IMAP server search is genuinely slow. - The grid blanked to a whirlpool on every keystroke, so even fast searches felt dead because you couldn't see your own results. Fix: - _localSearchFilter runs synchronously on every keystroke, filtering the pre-search snapshot by subject / from-name / from-address / snippet so the grid responds immediately. Snapshot is taken on the first non-empty keystroke and restored when the input is cleared. - _doSearch no longer renders the loading-whirlpool spinner into the grid. The local filter already shows useful results; surface 'Searching…' in the stats badge to indicate the server search is in flight. - When server results land, they replace the grid; if the user has already typed past them, the seq guard skips the stale render.