|
Final search UX polish: focus, cache, spinner opacity, scroller key
- AppSidebar: auto-focus input when search opens via querySelector. Spinner icon now hides via opacity:0 instead of visibility:hidden. - SessionsStore: add searchCache ref + restoreSearch(). Cache stores last search results (items, hasMore, nextOffset) so reopening search avoids re-fetching when query hasn't changed. - SessionList: add :key on DynamicScroller to force recreate when switching between search/normal mode, fixes pinned item spacing bug. - Tests pass (51/51) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| webclient/src/components/sidebar/AppSidebar.vue |
|---|
| webclient/src/components/sidebar/SessionList.vue |
|---|
| webclient/src/stores/sessions.js |
|---|