From ec1e54e8f220093ef538c6bd1a85fa96a01537ca Mon Sep 17 00:00:00 2001 From: Matiss Jurevics Date: Wed, 15 Apr 2026 16:20:00 +0100 Subject: [PATCH] feat(webapp): hide push token behind onboarding advanced settings --- WebApp/src/routes/onboarding/+page.svelte | 54 ++++++++++++++++++----- 1 file changed, 44 insertions(+), 10 deletions(-) diff --git a/WebApp/src/routes/onboarding/+page.svelte b/WebApp/src/routes/onboarding/+page.svelte index ea1178f..9c8a0a8 100644 --- a/WebApp/src/routes/onboarding/+page.svelte +++ b/WebApp/src/routes/onboarding/+page.svelte @@ -8,6 +8,8 @@ import { Input } from '$lib/components/ui/input/index.js'; import { Label } from '$lib/components/ui/label/index.js'; import { ToggleGroup, ToggleGroupItem } from '$lib/components/ui/toggle-group/index.js'; + + let showAdvancedSettings = false; @@ -58,16 +60,48 @@ -
- - appController.setOnboardingField('pushToken', (event.currentTarget as HTMLInputElement).value)} - /> +
+
+
+ +

Optional device settings and push configuration.

+
+ +
+ + {#if showAdvancedSettings} +
+
+ + appController.setOnboardingField('pushToken', (event.currentTarget as HTMLInputElement).value)} + /> +
+
+ {/if}