1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 03:05:32 +02:00
archivr/crates/archivr-server/static
TheGeneralist 33e51bbaef
fix(frontend): guard ctrl/meta cache-miss fetch; add / search shortcut
App.jsx ctrl/meta branch: cache-miss fetchEntryDetail now captures
tok = ++jkSeqRef.current before the fetch and gates selectEntry on
tok === jkSeqRef.current — same pattern as the j/k handler — so a
slow response after a later click/navigate can't overwrite selection.

/ key: reuses the Cmd+K/Ctrl+K handler path (focus+select search input,
or pendingSearchFocus + archive view switch). Guards: editable targets
(INPUT/TEXTAREA/SELECT/contentEditable) and modifier keys are checked
before preventDefault() so typing / in inputs is untouched.
2026-07-21 17:27:14 +02:00
..
assets fix(frontend): guard ctrl/meta cache-miss fetch; add / search shortcut 2026-07-21 17:27:14 +02:00
index.html fix(frontend): guard ctrl/meta cache-miss fetch; add / search shortcut 2026-07-21 17:27:14 +02:00