From eb4ec4da3bd909be509f95af5620533a1d14848b Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 10 Dec 2025 16:32:35 +0000 Subject: [PATCH] tutorials dismissed by default --- .../src/lib/components/home/TutorialBanner.svelte | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/components/home/TutorialBanner.svelte b/frontend/src/lib/components/home/TutorialBanner.svelte index 983e01b90d..6b6ba5325d 100644 --- a/frontend/src/lib/components/home/TutorialBanner.svelte +++ b/frontend/src/lib/components/home/TutorialBanner.svelte @@ -15,7 +15,7 @@ import { hasRoleAccess } from '$lib/tutorials/roleUtils' import { onMount } from 'svelte' - let isDismissed = $state(false) + let isDismissed = $state(true) /** * Get all tutorial indexes that are accessible to the current user based on their role. @@ -86,7 +86,7 @@ function dismissBanner() { storeLocalSetting(TUTORIAL_BANNER_DISMISSED_KEY, 'true') isDismissed = true - + const actions: ToastAction[] = [ { label: 'Skip tutorials', @@ -94,7 +94,7 @@ buttonType: 'default' } ] - + sendUserToast( 'You can still access tutorials from the Tutorials page in the main menu or in the Help submenu.', false, @@ -125,7 +125,12 @@
-
{/if} -