- useTasks debounced effect bailed when searchQuery transitioned back to undefined (App passes `searchQuery || undefined`), so clearing the input never refetched the unfiltered list. Track previous value via ref and only skip the initial mount. - FTS5 search used bare tokens (exact term match), so "frob" did not match "frobnicator". Append `*` to each token (and to quoted tokens) for prefix matching. LIKE fallback already did substring matching. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 KiB
17 KiB