Skip to content

fix(control-plane): reload memories when search is cleared - #3681

Open
oldnicke wants to merge 1 commit into
vectorize-io:mainfrom
oldnicke:fix/3670-memory-search
Open

fix(control-plane): reload memories when search is cleared#3681
oldnicke wants to merge 1 commit into
vectorize-io:mainfrom
oldnicke:fix/3670-memory-search

Conversation

@oldnicke

Copy link
Copy Markdown
Contributor

Fixes #3670.

When a zero-result text search was cleared, the Memories view kept the stale zero-result response and incorrectly replaced the search UI with the unfiltered empty-bank state.

This change explicitly reloads the unfiltered graph when an active query is cleared, while preserving tag/scope filters. The empty-bank state is also deferred while that reload is in flight so the search controls remain visible.

Validation:

  • ./scripts/hooks/lint.sh
  • npx tsc --noEmit
  • npm test -- --run tests/lib/search-query.test.ts
  • ./.githooks/pre-commit

The full control-plane suite has one pre-existing date-sensitive failure in tests/lib/relative-time.test.ts; 143 tests pass.

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.

UI bug in Memories screen

1 participant