From d944aaa5a0a5a0137a953a22db2151722ec34406 Mon Sep 17 00:00:00 2001 From: Schalli Date: Thu, 25 Jun 2026 10:14:17 +0200 Subject: [PATCH] feat(06-01): add first-run setup page with server URL input and validation - Create setup.html with centered card on dark OKLCH background - Validate URL via URL constructor, reject malformed input (T-06-01) - Warn on non-HTTPS non-localhost URLs but allow (internal LAN support) - Persist server_url to tauri-plugin-store config.json - Navigate WebView to configured server after save - All visible strings in German (Verbinden, Server-URL eingeben, etc.) - Design tokens match Tessera OKLCH color system (primary, dark bg) Co-Authored-By: Claude Sonnet 4.6 --- apps/desktop/src/setup.html | 254 ++++++++++++++++++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 apps/desktop/src/setup.html diff --git a/apps/desktop/src/setup.html b/apps/desktop/src/setup.html new file mode 100644 index 0000000..a4e81aa --- /dev/null +++ b/apps/desktop/src/setup.html @@ -0,0 +1,254 @@ + + + + + + Tessera - Setup + + + +
+

Tessera

+

Desktop-Client einrichten

+ + + +

+

+ + +
+ + + +