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/doc-drift] FR-9.1.4 'execute immediately' option missing from history panel #325
DESIGN_REQUIREMENTS FR-9.1.4 (docs/design/DESIGN_REQUIREMENTS.md:545") acceptance: "Click a history entry to load it into the editor; option to execute immediately". The implementation (src/components/history/QueryHistory.tsx:32-40`) only handles the click→load path. The "execute immediately" half is missing.
Problem
Repeat workflows ("rerun the last migration", "rerun the weekly aggregation") require Edit → Ctrl+Enter or right-click → run, neither of which exists. The history panel supports only one action: load into editor.
Files
src/components/history/QueryHistory.tsx:32-40
docs/design/DESIGN_REQUIREMENTS.md:545
Expected
Right-click context menu or hover button offering "Insert into editor" (current behavior) and "Run now" (insert + execute).
Proposed fix
Scope S — add a right-click context menu on history entries with "Insert into editor" and "Run now" options. The "Run now" path needs to know the original connectionName and database from the HistoryEntry and route to the correct connection.
Acceptance
Right-click a history entry → "Run now" option appears → SQL is loaded into the active tab AND the tab is focused; user hits Ctrl+Enter to execute.
Activity
feat(history): run an entry from the panel, and stop recording phanto…