Skip to content

Multi-tab workflow: status indicators, notifications, shortcuts, replay#21

Merged
knep merged 4 commits into
masterfrom
feat/multi-tab-workflow
Jun 19, 2026
Merged

Multi-tab workflow: status indicators, notifications, shortcuts, replay#21
knep merged 4 commits into
masterfrom
feat/multi-tab-workflow

Conversation

@knep

@knep knep commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

Builds on the in-app tabs (#20) to make working with several scripts at once smoother.

Changes

  • Per-tab status indicator — each tab shows the aggregated status of its script's executions: spinner while running, check when finished, error icon on failure. New executions.getScriptStatus(scriptName) action (priority running > error > finished > none).
  • Completion notificationsExecutionNotifier (mounted in MainApp) watches executor status transitions and shows an in-app snackbar when a script finishes or fails, plus a native browser notification when the app isn't focused. Permission requested from the Execute click (a user gesture).
  • Keyboard shortcutsCtrl/Cmd+Enter to run the current script; Alt+/ to switch tabs; Alt+W to close the active tab (Ctrl+W/Ctrl+Tab are reserved by the browser).
  • Replay last execution — a Replay button next to Execute re-runs the script with the parameter values of its most recent execution (shown only when history exists).

Testing

  • npm run test:unit-ci1007 passed (+23 new: getScriptStatus ×8, ScriptTabs rendering ×7, ExecutionNotifier ×4, replay ×4).
  • Verified live: keyboard shortcuts (tab nav, close, Ctrl+Enter), running-status spinner on a tab, Replay button visibility (present with history, absent without).

🤖 Generated with Claude Code

Thomas Kpenou and others added 4 commits June 19, 2026 12:05
Each open tab now shows the aggregated status of its script's executions: a
spinner while running, a check when finished, an error icon on failure. Adds an
executions.getScriptStatus(scriptName) action (priority running > error >
finished > none) consumed by ScriptTabs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Notifications: ExecutionNotifier (mounted in MainApp) watches executor status
transitions and shows an in-app snackbar when a script finishes or fails, plus a
native browser Notification when the app isn't focused. Permission is requested
from the Execute click (a user gesture).

Keyboard shortcuts:
- Ctrl/Cmd+Enter: run the current script (when enabled)
- Alt+Left / Alt+Right: switch to the previous/next tab
- Alt+W: close the active tab
(Ctrl+W and Ctrl+Tab are reserved by the browser, so Alt-based combos are used.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a Replay button next to Execute that re-runs the current script with the
parameter values of its most recent execution (from parameter history). The
button only appears when history exists for the script.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 59.55056% with 36 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
web-src/src/main-app/MainApp.vue 0.00% 21 Missing ⚠️
...rc/src/main-app/components/scripts/script-view.vue 54.54% 9 Missing and 1 partial ⚠️
...-src/src/main-app/components/ExecutionNotifier.vue 82.75% 4 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@knep knep merged commit 9d2bfcb into master Jun 19, 2026
13 of 14 checks passed
@knep knep deleted the feat/multi-tab-workflow branch June 19, 2026 16:54
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.

2 participants