From 7c974e39ab8f7f9e49504d2e497819cb4d0c12fa Mon Sep 17 00:00:00 2001
From: Alexa <53471801+Alexa-RR@users.noreply.github.com>
Date: Wed, 27 May 2026 11:14:23 +0300
Subject: [PATCH] launcher: Photon AppId setup walkthrough
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The two empty "REALTIME APPID / VOICE APPID" textboxes assumed the
user already knew what Photon was, where to sign up, and which app
type to create. New 5-step wizard fills that gap:
1. What's Photon? — one-paragraph explanation tying back to DorkNet
2. Make an account — Open Dashboard button launches browser
3. Create a Realtime app — numbered click-by-click instructions
4. Create a Voice app — same, with a Skip button (voice is optional)
5. Paste your AppIds — text fields with live regex validation,
region picker, Save commits to AppState
Hyphens optional on input; we normalise to canonical 8-4-4-4-12 form
before writing back. The existing Photon section keeps its three
fields for advanced users, with a "Setup walkthrough" button at the
top opening the wizard prefilled with current values.
---
launcher/App.xaml | 9 ++
launcher/MainWindow.xaml | 12 ++-
launcher/MainWindow.xaml.cs | 16 +++
launcher/PhotonWizard.xaml | 190 ++++++++++++++++++++++++++++++++++
launcher/PhotonWizard.xaml.cs | 189 +++++++++++++++++++++++++++++++++
5 files changed, 413 insertions(+), 3 deletions(-)
create mode 100644 launcher/PhotonWizard.xaml
create mode 100644 launcher/PhotonWizard.xaml.cs
diff --git a/launcher/App.xaml b/launcher/App.xaml
index 4df9a14..50e69b5 100644
--- a/launcher/App.xaml
+++ b/launcher/App.xaml
@@ -240,6 +240,15 @@
+
+
+