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. |
||
|---|---|---|
| .. | ||
| fonts | ||
| js | ||
| lib | ||
| app.js | ||
| index.html | ||
| login.html | ||
| manifest.json | ||
| style.css | ||
| sw.js | ||