Skip to content

feat: dashboard quick actions — Retry All Failed and Discard All Blocked#32

Merged
eclectic-coding merged 4 commits into
mainfrom
feat/dashboard-quick-actions
May 20, 2026
Merged

feat: dashboard quick actions — Retry All Failed and Discard All Blocked#32
eclectic-coding merged 4 commits into
mainfrom
feat/dashboard-quick-actions

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Adds Retry All Failed and Discard All Blocked one-click bulk action cards directly on the dashboard
  • Cards only appear when the respective count is non-zero — dashboard stays clean when everything is healthy
  • Both actions include a confirm dialog and redirect back to the dashboard with a count notice (or alert on error)
  • Seeds updated with 5 blocked jobs so the Blocked Jobs card is visible immediately after bundle exec rake dev:reset

Test plan

  • bundle exec rake dev:reset then visit /jobs — both "Failed Jobs" and "Blocked Jobs" cards visible
  • Click "Retry All Failed" → confirm dialog → redirects to dashboard with "N failed jobs queued for retry" notice; Failed Jobs card disappears
  • Click "Discard All Blocked" → confirm dialog → redirects to dashboard with "N blocked jobs discarded" notice; Blocked Jobs card disappears
  • When no failed jobs exist, the Failed Jobs card is not rendered
  • When no blocked jobs exist, the Blocked Jobs card is not rendered

🤖 Generated with Claude Code

eclectic-coding and others added 4 commits May 20, 2026 09:23
Adds two one-click bulk actions directly on the dashboard:
  - "Retry All Failed" — queues all failed executions for retry
  - "Discard All Blocked" — permanently removes all blocked executions

Each action renders as a card (Failed Jobs / Blocked Jobs) only when the
respective count is non-zero, keeping the dashboard clean when everything
is healthy. Both include a confirm dialog and redirect back to the
dashboard with a notice or alert on error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 1268bf8 into main May 20, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/dashboard-quick-actions branch May 20, 2026 13:33
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.

1 participant