Quick Command remembers the mode and workers #79

Merged
jared merged 1 commits from quick-remember into main 2026-11-23 14:34:02 -05:00
Owner

Closes #31. Nothing looks different, but the page behaves differently, so I'm asking for your approval.

  • Quick Command now remembers three things across reloads: the mode (single or multi), the single worker, and the multi-worker selection.
    • The mode is saved when you change it. The workers are saved when you send a command.
    • They're stored in this browser's localStorage under pulse_qc_prefs.
    • A reload starts from that choice instead of the first worker. A Re-run from Executions still overrides it.
  • The "Ctrl+Enter to execute" hint and the shortcut already existed.
  • Not done: the issue's optional idea of a server-side "my recent commands". History stays per browser for now.

Tests: a new UI test sends a command in multi mode to node-02 and node-03, then reloads and checks both are still selected and node-01 isn't. It then switches to single mode, sends to node-03, reloads, and checks node-03 is still selected. Locally: UI 41/41, lint is clean.

🤖 Generated with Claude Code

Closes #31. Nothing looks different, but the page **behaves** differently, so I'm asking for your approval. - Quick Command now remembers three things across reloads: the **mode** (single or multi), the **single worker**, and the **multi-worker selection**. - The mode is saved when you change it. The workers are saved when you send a command. - They're stored in this browser's `localStorage` under `pulse_qc_prefs`. - A reload starts from that choice instead of the first worker. A Re-run from Executions still overrides it. - The "Ctrl+Enter to execute" hint and the shortcut already existed. - Not done: the issue's optional idea of a server-side "my recent commands". History stays per browser for now. **Tests:** a new UI test sends a command in multi mode to node-02 and node-03, then reloads and checks both are still selected and node-01 isn't. It then switches to single mode, sends to node-03, reloads, and checks node-03 is still selected. Locally: UI 41/41, lint is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-23 14:19:25 -05:00
Quick Command remembers the mode and workers (#31)
CI / Lint (eslint) (pull_request) Successful in 23s
CI / Test (jest) (pull_request) Successful in 23s
CI / Security (npm audit) (pull_request) Successful in 10s
CI / Integration (api) (pull_request) Successful in 2m40s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m51s
CI / UI (playwright) (pull_request) Successful in 4m32s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 4m43s
5d1cdf9da0
The mode (single or multi), the single worker and the multi-worker
selection are saved in localStorage (pulse_qc_prefs): the mode when it
changes, the workers when a command is sent. A reload starts from that
choice instead of the first worker; a Re-run from Executions still
overrides it. The Ctrl+Enter hint and shortcut already existed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit e92fa42b4e into main 2026-11-23 14:34:02 -05:00
jared deleted branch quick-remember 2026-11-23 14:34:53 -05:00
Sign in to join this conversation.