From 54e1e2f45d7be9dc20b4a543128cbf2b52d8555b Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Fri, 23 Jan 2026 20:16:21 -0300 Subject: [PATCH] portal: add wger mobile step and require jellyfin web --- backend/atlas_portal/routes/access_requests.py | 4 +++- frontend/src/views/OnboardingView.vue | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/backend/atlas_portal/routes/access_requests.py b/backend/atlas_portal/routes/access_requests.py index d3909b9..c58a713 100644 --- a/backend/atlas_portal/routes/access_requests.py +++ b/backend/atlas_portal/routes/access_requests.py @@ -162,6 +162,7 @@ ONBOARDING_STEPS: tuple[str, ...] = ( "firefly_password_rotated", "firefly_mobile_app", "wger_password_rotated", + "wger_mobile_app", "jellyfin_web_access", "jellyfin_mobile_app", "jellyfin_tv_setup", @@ -172,7 +173,6 @@ ONBOARDING_OPTIONAL_STEPS: set[str] = { "nextcloud_desktop_app", "nextcloud_mobile_app", "firefly_mobile_app", - "jellyfin_web_access", "jellyfin_mobile_app", "jellyfin_tv_setup", } @@ -188,6 +188,7 @@ ONBOARDING_REQUIRED_STEPS: tuple[str, ...] = ( "budget_encryption_ack", "firefly_password_rotated", "wger_password_rotated", + "jellyfin_web_access", ) KEYCLOAK_MANAGED_STEPS: set[str] = { @@ -211,6 +212,7 @@ ONBOARDING_STEP_PREREQUISITES: dict[str, set[str]] = { "budget_encryption_ack": {"nextcloud_mail_integration"}, "firefly_password_rotated": {"element_recovery_key"}, "wger_password_rotated": {"firefly_password_rotated"}, + "wger_mobile_app": {"wger_password_rotated"}, "jellyfin_web_access": {"vaultwarden_master_password"}, "jellyfin_mobile_app": {"jellyfin_web_access"}, "jellyfin_tv_setup": {"jellyfin_web_access"}, diff --git a/frontend/src/views/OnboardingView.vue b/frontend/src/views/OnboardingView.vue index 8dc9ecd..b820984 100644 --- a/frontend/src/views/OnboardingView.vue +++ b/frontend/src/views/OnboardingView.vue @@ -343,6 +343,7 @@ const STEP_PREREQS = { firefly_password_rotated: ["element_recovery_key"], firefly_mobile_app: ["firefly_password_rotated"], wger_password_rotated: ["firefly_password_rotated"], + wger_mobile_app: ["wger_password_rotated"], jellyfin_web_access: ["vaultwarden_master_password"], jellyfin_mobile_app: ["jellyfin_web_access"], jellyfin_tv_setup: ["jellyfin_web_access"], @@ -558,6 +559,18 @@ const SECTION_DEFS = [ ], guide: { service: "wger", step: "step1_web_access" }, }, + { + id: "wger_mobile_app", + title: "Optional: set up the mobile app", + action: "checkbox", + description: + "Install the Wger mobile app, sign in with your updated credentials, and store the password in Vaultwarden.", + links: [ + { href: "https://github.com/wger-project/wger", text: "Wger project" }, + { href: "/account", text: "Account credentials" }, + ], + guide: { service: "wger", step: "step2_mobile_app" }, + }, ], }, { @@ -567,7 +580,7 @@ const SECTION_DEFS = [ steps: [ { id: "jellyfin_web_access", - title: "Optional: sign in to Jellyfin", + title: "Sign in to Jellyfin", action: "checkbox", description: "Sign in with your Atlas username/password (LDAP-backed).", @@ -589,7 +602,6 @@ const SECTION_DEFS = [ description: "Use the Jellyfin app on your TV or streaming device (LG, Samsung, Roku, Apple TV, Xbox).", links: [{ href: "https://jellyfin.org/downloads/", text: "Jellyfin TV apps" }], - guide: { service: "jellyfin", step: "step3_tv_integrations" }, }, ], },