Skip to content

fix(web): a palette search that fails says so, with Retry, instead of "No results" (TASK-3587) - #2063

Merged
xarmian merged 1 commit into
mainfrom
wren/task-3587-palette-search-error
Oct 11, 2026
Merged

xarmian merged 1 commit into
mainfrom
wren/task-3587-palette-search-error

Conversation

@xarmian

@xarmian xarmian commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

From the day-91 outside review. A server-search failure cleared the results
and totals, so the empty branch rendered No results for "…": a network
blip read as the user's knowledge having vanished.

  • Primary server search (body: queries, cold index) fails: an alert,
    "Search couldn't finish. Check your connection and try again.", with Retry
    re-running the query; the live region says the same. Stale rows from an
    earlier query are still cleared.
  • The content-search supplement fails: local results stay, with a quiet
    "Couldn't search item content. Retry"; with no local hits, an alert says
    there were no title matches and content could not be searched.
  • Load more fails: the results shown stay, with a quiet line.

CommandPalette.searchFailed.svelte.test.ts: the four failure paths plus a
control (an empty answer still says "No results"); against main's palette
the three failure tests go red and the control stays green. Full vitest
5735/5735, check 0 errors, palette e2e (7 specs) 33 passed.

https://claude.ai/code/session_01FAVXA5mJ5BNhKmv95jxQkQ

… "No results" (TASK-3587)

From the day-91 outside review. A server-search failure cleared the results
and totals, so the empty branch rendered `No results for "…"`: a network
blip read as the user's knowledge having vanished.

- Primary server search (body: queries, cold index) fails: an alert,
  "Search couldn't finish. Check your connection and try again.", with Retry
  re-running the query; the live region says the same. Stale rows from an
  earlier query are still cleared.
- The content-search supplement fails: local results stay, with a quiet
  "Couldn't search item content. Retry"; with no local hits, an alert says
  there were no title matches and content could not be searched.
- Load more fails: the results shown stay, with a quiet line.

CommandPalette.searchFailed.svelte.test.ts: the four failure paths plus a
control (an empty answer still says "No results"); against main's palette
the three failure tests go red and the control stays green. Full vitest
5735/5735, check 0 errors, palette e2e (7 specs) 33 passed.

Claude-Session: https://claude.ai/code/session_01FAVXA5mJ5BNhKmv95jxQkQ
@xarmian
xarmian merged commit 791f25a into main Oct 11, 2026
12 checks passed
@xarmian
xarmian deleted the wren/task-3587-palette-search-error branch October 11, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant