Skip to content

refactor(DT-3906): Migrate workflow client-action modals to runes (carved from #3370 - Part 4)#3375

Merged
tegan-temporal merged 4 commits into
codefreeze-05.01.26from
DT-3906-svelte-5-client-action-modals
May 7, 2026
Merged

refactor(DT-3906): Migrate workflow client-action modals to runes (carved from #3370 - Part 4)#3375
tegan-temporal merged 4 commits into
codefreeze-05.01.26from
DT-3906-svelte-5-client-action-modals

Conversation

@tegan-temporal
Copy link
Copy Markdown
Contributor

@tegan-temporal tegan-temporal commented May 6, 2026

Summary

Migrates 10 workflow client-action components to Svelte 5 runes — the confirmation modals (cancel/reset/terminate/signal + batch variants), the batch-operation form, the download-event-history modal, and the start-workflow button.

All modals share the same prop/callback shape — review one and the others are mechanical.

Files:

  • `workflow/client-actions/batch-{cancel,reset,terminate}-confirmation-modal.svelte`
  • `workflow/client-actions/{cancel,reset,signal,terminate}-confirmation-modal.svelte`
  • `workflow/client-actions/batch-operation-confirmation-form.svelte`
  • `workflow/download-event-history-modal.svelte`
  • `workflow/start-workflow-button.svelte`

10 files, +172 / -91. Carved out of #3370.

Test plan

  • `pnpm check` passes (0 errors)
  • CI green
  • Single-workflow cancel/reset/terminate/signal modals open, validate, and submit
  • Batch versions of the same (multi-select on workflows table)
  • Batch-operation confirmation form gates the action correctly
  • Download event history modal works
  • Start workflow button still launches the start flow

Context

Part of DT-3906 Svelte 4→5 migration. Highest review value of the carve-outs — these touch user-visible behavior.

…runes

Migrates the workflow action confirmation modals + supporting form/button.
All modals share the same pattern (props + on-submit/cancel callbacks).

- workflow/client-actions/batch-{cancel,reset,terminate}-confirmation-modal.svelte
- workflow/client-actions/{cancel,reset,signal,terminate}-confirmation-modal.svelte
- workflow/client-actions/batch-operation-confirmation-form.svelte
- workflow/download-event-history-modal.svelte
- workflow/start-workflow-button.svelte

Carved out of #3370 to make the migration PR easier to review.
@tegan-temporal tegan-temporal requested a review from a team as a code owner May 6, 2026 15:40
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment May 7, 2026 6:40pm

Request Review

@temporal-cicd
Copy link
Copy Markdown
Contributor

temporal-cicd Bot commented May 6, 2026

Warnings
⚠️

📊 Strict Mode: 1 error in 1 file (0.1% of 949 total)

src/lib/components/workflow/client-actions/reset-confirmation-modal.svelte (1)
  • L72:6: Type 'string | undefined' is not assignable to type 'string'.

Generated by 🚫 dangerJS against a475db1

@tegan-temporal tegan-temporal changed the title refactor(DT-3906): Migrate workflow client-action modals to runes (carved from #3370) refactor(DT-3906): Migrate workflow client-action modals to runes (carved from #3370 - Part 3) May 6, 2026
@tegan-temporal tegan-temporal changed the title refactor(DT-3906): Migrate workflow client-action modals to runes (carved from #3370 - Part 3) refactor(DT-3906): Migrate workflow client-action modals to runes (carved from #3370 - Part 4) May 6, 2026
Comment thread src/lib/components/workflow/client-actions/batch-cancel-confirmation-modal.svelte Outdated
Comment thread src/lib/components/workflow/client-actions/batch-reset-confirmation-modal.svelte Outdated
Comment thread src/lib/components/workflow/client-actions/cancel-confirmation-modal.svelte Outdated
Comment thread src/lib/components/workflow/client-actions/reset-confirmation-modal.svelte Outdated
Comment thread src/lib/components/workflow/client-actions/signal-confirmation-modal.svelte Outdated
Comment thread src/lib/components/workflow/client-actions/terminate-confirmation-modal.svelte Outdated
Comment thread src/lib/components/workflow/download-event-history-modal.svelte Outdated
Co-authored-by: Tegan Churchill <tegan.churchill@temporal.io>
@tegan-temporal tegan-temporal merged commit 77a0238 into codefreeze-05.01.26 May 7, 2026
15 checks passed
@tegan-temporal tegan-temporal deleted the DT-3906-svelte-5-client-action-modals branch May 7, 2026 19:16
@ardiewen ardiewen mentioned this pull request May 11, 2026
3 tasks
ardiewen pushed a commit that referenced this pull request May 11, 2026
…rved from #3370 - Part 4) (#3375)

Co-authored-by: Tegan Churchill <tegan.churchill@temporal.io>
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