From 9a6ccf5076ae9df221afd66147d3e5f10dd0d613 Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 14 Apr 2026 20:12:14 +0200 Subject: [PATCH] fix(a11y): clear pre-push svelte-check warnings - mail/ListView: add a11y_click_events_have_key_events ignore to match the existing a11y_no_static_element_interactions suppression - sleep/MorningLog + companion/CompanionChat: mark intentional initial-value state reads with state_referenced_locally ignore - goals/GoalEditor: add tabindex="-1" to the dialog role element Co-Authored-By: Claude Opus 4.6 (1M context) --- .../lib/modules/companion/components/CompanionChat.svelte | 1 + .../mana/apps/web/src/lib/modules/goals/GoalEditor.svelte | 8 +++++++- apps/mana/apps/web/src/lib/modules/mail/ListView.svelte | 2 ++ .../src/lib/modules/sleep/components/MorningLog.svelte | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/mana/apps/web/src/lib/modules/companion/components/CompanionChat.svelte b/apps/mana/apps/web/src/lib/modules/companion/components/CompanionChat.svelte index 7e78c5dba..14df11dff 100644 --- a/apps/mana/apps/web/src/lib/modules/companion/components/CompanionChat.svelte +++ b/apps/mana/apps/web/src/lib/modules/companion/components/CompanionChat.svelte @@ -29,6 +29,7 @@ let { conversation }: Props = $props(); + // svelte-ignore state_referenced_locally const messages = useMessages(conversation.id); const day = useDaySnapshot(); const streaks = useStreaks(); diff --git a/apps/mana/apps/web/src/lib/modules/goals/GoalEditor.svelte b/apps/mana/apps/web/src/lib/modules/goals/GoalEditor.svelte index ab75dfaa7..ec64b90da 100644 --- a/apps/mana/apps/web/src/lib/modules/goals/GoalEditor.svelte +++ b/apps/mana/apps/web/src/lib/modules/goals/GoalEditor.svelte @@ -80,7 +80,13 @@ {#if show}