portal: add wger mobile step and require jellyfin web

This commit is contained in:
Brad Stein 2026-01-23 20:16:21 -03:00
parent df0c4e5c65
commit 54e1e2f45d
2 changed files with 17 additions and 3 deletions

View File

@ -162,6 +162,7 @@ ONBOARDING_STEPS: tuple[str, ...] = (
"firefly_password_rotated", "firefly_password_rotated",
"firefly_mobile_app", "firefly_mobile_app",
"wger_password_rotated", "wger_password_rotated",
"wger_mobile_app",
"jellyfin_web_access", "jellyfin_web_access",
"jellyfin_mobile_app", "jellyfin_mobile_app",
"jellyfin_tv_setup", "jellyfin_tv_setup",
@ -172,7 +173,6 @@ ONBOARDING_OPTIONAL_STEPS: set[str] = {
"nextcloud_desktop_app", "nextcloud_desktop_app",
"nextcloud_mobile_app", "nextcloud_mobile_app",
"firefly_mobile_app", "firefly_mobile_app",
"jellyfin_web_access",
"jellyfin_mobile_app", "jellyfin_mobile_app",
"jellyfin_tv_setup", "jellyfin_tv_setup",
} }
@ -188,6 +188,7 @@ ONBOARDING_REQUIRED_STEPS: tuple[str, ...] = (
"budget_encryption_ack", "budget_encryption_ack",
"firefly_password_rotated", "firefly_password_rotated",
"wger_password_rotated", "wger_password_rotated",
"jellyfin_web_access",
) )
KEYCLOAK_MANAGED_STEPS: set[str] = { KEYCLOAK_MANAGED_STEPS: set[str] = {
@ -211,6 +212,7 @@ ONBOARDING_STEP_PREREQUISITES: dict[str, set[str]] = {
"budget_encryption_ack": {"nextcloud_mail_integration"}, "budget_encryption_ack": {"nextcloud_mail_integration"},
"firefly_password_rotated": {"element_recovery_key"}, "firefly_password_rotated": {"element_recovery_key"},
"wger_password_rotated": {"firefly_password_rotated"}, "wger_password_rotated": {"firefly_password_rotated"},
"wger_mobile_app": {"wger_password_rotated"},
"jellyfin_web_access": {"vaultwarden_master_password"}, "jellyfin_web_access": {"vaultwarden_master_password"},
"jellyfin_mobile_app": {"jellyfin_web_access"}, "jellyfin_mobile_app": {"jellyfin_web_access"},
"jellyfin_tv_setup": {"jellyfin_web_access"}, "jellyfin_tv_setup": {"jellyfin_web_access"},

View File

@ -343,6 +343,7 @@ const STEP_PREREQS = {
firefly_password_rotated: ["element_recovery_key"], firefly_password_rotated: ["element_recovery_key"],
firefly_mobile_app: ["firefly_password_rotated"], firefly_mobile_app: ["firefly_password_rotated"],
wger_password_rotated: ["firefly_password_rotated"], wger_password_rotated: ["firefly_password_rotated"],
wger_mobile_app: ["wger_password_rotated"],
jellyfin_web_access: ["vaultwarden_master_password"], jellyfin_web_access: ["vaultwarden_master_password"],
jellyfin_mobile_app: ["jellyfin_web_access"], jellyfin_mobile_app: ["jellyfin_web_access"],
jellyfin_tv_setup: ["jellyfin_web_access"], jellyfin_tv_setup: ["jellyfin_web_access"],
@ -558,6 +559,18 @@ const SECTION_DEFS = [
], ],
guide: { service: "wger", step: "step1_web_access" }, 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: [ steps: [
{ {
id: "jellyfin_web_access", id: "jellyfin_web_access",
title: "Optional: sign in to Jellyfin", title: "Sign in to Jellyfin",
action: "checkbox", action: "checkbox",
description: description:
"Sign in with your Atlas username/password (LDAP-backed).", "Sign in with your Atlas username/password (LDAP-backed).",
@ -589,7 +602,6 @@ const SECTION_DEFS = [
description: description:
"Use the Jellyfin app on your TV or streaming device (LG, Samsung, Roku, Apple TV, Xbox).", "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" }], links: [{ href: "https://jellyfin.org/downloads/", text: "Jellyfin TV apps" }],
guide: { service: "jellyfin", step: "step3_tv_integrations" },
}, },
], ],
}, },