Skip to content

refactor(DT-3906): Update components/workflow to Svelte 5 syntax#3361

Merged
tegan-temporal merged 1 commit intocodefreeze-05.01.26from
DT-3906-ui-svelte-5-migration-3
May 4, 2026
Merged

refactor(DT-3906): Update components/workflow to Svelte 5 syntax#3361
tegan-temporal merged 1 commit intocodefreeze-05.01.26from
DT-3906-ui-svelte-5-migration-3

Conversation

@tegan-temporal
Copy link
Copy Markdown
Contributor

Description & motivation 💭

Updates component/workflow components to Svelte 5 syntax.

@tegan-temporal tegan-temporal self-assigned this Apr 30, 2026
@tegan-temporal tegan-temporal requested a review from a team as a code owner April 30, 2026 23:33
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

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

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment May 4, 2026 5:42pm

Request Review

@tegan-temporal tegan-temporal changed the base branch from DT-3906-ui-svelte-5-migration-2 to codefreeze-05.01.26 May 1, 2026 17:06
@tegan-temporal tegan-temporal force-pushed the DT-3906-ui-svelte-5-migration-3 branch from 834b6ab to 026486f Compare May 1, 2026 17:12
const resolvedHref = $derived(href ?? getEventLinkHref(link));
const resolvedValue = $derived(
value ??
(resolvedHref.split('workflows/')?.[1] || resolvedHref) ??
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check this undefined thing won't break things?

Comment thread src/lib/components/workflow/child-workflows-table.svelte
Comment thread src/lib/components/workflow/child-workflows-table.svelte
@temporal-cicd
Copy link
Copy Markdown
Contributor

temporal-cicd Bot commented May 1, 2026

Warnings
⚠️

📊 Strict Mode: 12 errors in 2 files (1.2% of 990 total)

src/lib/components/workflow/child-workflows-table.svelte (6)
  • L36:15: 'c.attributes.workflowExecution' is possibly 'null' or 'undefined'.
  • L37:20: 'c.attributes.workflowExecution' is possibly 'null' or 'undefined'.
  • L79:14: Type 'string | null | undefined' is not assignable to type 'string'.
  • L80:14: Type 'string | null | undefined' is not assignable to type 'string'.
  • L90:14: Type 'string | null | undefined' is not assignable to type 'string'.
  • L91:14: Type 'string | null | undefined' is not assignable to type 'string'.
src/lib/components/workflow/parent-workflow-table.svelte (6)
  • L32:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L33:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L39:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L48:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L49:10: Type 'string | null | undefined' is not assignable to type 'string'.
  • L55:10: Type 'string | null | undefined' is not assignable to type 'string'.

Generated by 🚫 dangerJS against 3b02d64

Copy link
Copy Markdown
Contributor

@GraceGardner GraceGardner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you confirmed that the possible undefined stuff won't break anything. Will stamp when you're ready :)

const resolvedHref = $derived(href ?? getEventLinkHref(link));
const resolvedValue = $derived(
value ??
(resolvedHref.split('workflows/')?.[1] || resolvedHref) ??
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check this undefined thing won't break things?

Copy link
Copy Markdown
Contributor

@GraceGardner GraceGardner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tegan-temporal tegan-temporal merged commit 1ad1d49 into codefreeze-05.01.26 May 4, 2026
16 checks passed
@tegan-temporal tegan-temporal deleted the DT-3906-ui-svelte-5-migration-3 branch May 4, 2026 18:13
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