Skip to content

fix(history): add per-entry remove UI to QueryHistory (closes #327) - #466

Merged
EVWorth merged 1 commit into
mainfrom
fix/327-history-remove-entry
Aug 1, 2026
Merged

fix(history): add per-entry remove UI to QueryHistory (closes #327)#466
EVWorth merged 1 commit into
mainfrom
fix/327-history-remove-entry

Conversation

@EVWorth

@EVWorth EVWorth commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a × button (hover-affordance) on each history entry that calls existing historyStore.removeEntry(id). Single-entry delete was previously impossible without using clearAll and losing the entire list.

Files

  • src/components/history/QueryHistory.tsx
  • src/components/history/tests/QueryHistory.test.tsx

Test plan

  • vitest: src/components/history/tests/QueryHistory.test.tsx
  • vitest: full frontend pass (1527 tests)
  • tsc --noEmit clean
  • dprint check clean

Closes #327

S-scope fix. `removeEntry` already exists in historyStore (covered by store tests); QueryHistory never wired it. Adds hover `×` button per entry, calling removeEntry(id).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@EVWorth
EVWorth marked this pull request as ready for review August 1, 2026 18:06
@EVWorth
EVWorth merged commit 0e28f9a into main Aug 1, 2026
10 checks passed
@EVWorth
EVWorth deleted the fix/327-history-remove-entry branch August 1, 2026 18:07
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.

[P1/bug] No removeEntry UI — clear-all is the only way to shrink the history list

1 participant