You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1/bug] No removeEntry UI — clear-all is the only way to shrink the history list #327
The historyStore has a removeEntry(id) action and the test suite explicitly covers idempotent removal (historyStore.test.ts:148-160), but the QueryHistory component never wires it.
Problem
The only way to evict a single entry is to clear everything (and lose the rest of the history). For a user debugging a noisy recursive query that fills 200 entries, "clear all" is too blunt — they want to delete just the offending entries.
Files
src/components/history/QueryHistory.tsx:42-49
src/stores/historyStore.ts:33-36
Expected
A small "×" button on each entry (hover-affordance) or right-click context menu "Delete entry" item, calling removeEntry(entry.id). Single-entry delete should be reversible (the user can re-run the query to re-add it), so no confirmation needed.
Proposed fix
Scope S — add a small "×" button on each entry that appears on hover, or right-click "Delete entry" in the context menu, calling removeEntry(entry.id).
Acceptance
Hover a history entry → "×" icon appears → click → entry disappears from the list; refresh confirms the entry is also gone from localStorage.
Activity