You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Stacked features 7: dependency check + extra debounce search input (#418)
* chore: group dependency updates by risk
* perf: debounce session-local find
* fix(find): keep previous result visible while a new query is pending
The debounce hid all find state for its 120ms window: highlights and the
count blanked on every pause, Enter was silently swallowed, and a click
into the list could get focus yanked back when the count settled.
Chrome-style instead: the previous query's matches stay visible, counted,
and navigable until the new projection lands; the count dims while
pending ('No matches' still waits for the settle so it never flashes
mid-typing). The find bar reclaims focus only when it sits on the bar's
own controls, so focus moved into the message list stays there. The
debounce interval gets a name.
Two e2e tests pin the semantics: a MutationObserver asserts the status
text never blanks across a retype (immune to debounce timing), and the
focus test covers both the reclaim-after-button and the stay-in-list
paths via the mod+arrow hotkey.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Chen <99816898+donteatfriedrice@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments