Skip to content

refactor(DT-3906): UI Svelte 5 Migrations medium#3368

Merged
tegan-temporal merged 6 commits intocodefreeze-05.01.26from
DT-3906-ui-svelte-5-migrate-medium
May 7, 2026
Merged

refactor(DT-3906): UI Svelte 5 Migrations medium#3368
tegan-temporal merged 6 commits intocodefreeze-05.01.26from
DT-3906-ui-svelte-5-migrate-medium

Conversation

@tegan-temporal
Copy link
Copy Markdown
Contributor

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

Description & motivation 💭

A collection of svelte 5 migrations

@tegan-temporal tegan-temporal self-assigned this May 4, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 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 3:32pm

Request Review

@temporal-cicd
Copy link
Copy Markdown
Contributor

temporal-cicd Bot commented May 4, 2026

Warnings
⚠️

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

src/lib/components/search-attribute-filter/number-filter.svelte (1)
  • L32:9: Type 'number | null' is not assignable to type 'number'.

Generated by 🚫 dangerJS against d742777

@tegan-temporal tegan-temporal changed the base branch from codefreeze-05.01.26 to DT-3906-ui-svelte-5-migrate-trivial May 6, 2026 15:15
@tegan-temporal tegan-temporal marked this pull request as ready for review May 6, 2026 15:59
@tegan-temporal tegan-temporal requested a review from a team as a code owner May 6, 2026 15:59
Base automatically changed from DT-3906-ui-svelte-5-migrate-trivial to codefreeze-05.01.26 May 7, 2026 15:23
Comment thread src/lib/components/is-legacy-cloud-guard.svelte
$: _value = value;

let isValid = true;
let _value = $derived($filter.value);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think we can bind a derived value. I think we might need something like this 🤔

Suggested change
let _value = $derived($filter.value);
let _value = $state($filter.value);
$effect(() => {
_value = $filter.value;
});

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just seeing your comment r.e. overriding derived values 👀 And testing it out it seems to work ✅

Comment thread src/lib/components/search-attribute-filter/number-filter.svelte
Comment thread src/lib/components/search-attribute-filter/text-filter.svelte
@tegan-temporal tegan-temporal merged commit 184c14d into codefreeze-05.01.26 May 7, 2026
28 checks passed
@tegan-temporal tegan-temporal deleted the DT-3906-ui-svelte-5-migrate-medium branch May 7, 2026 18:17
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