Default Seerr login to Jellyfin and prefill the Wolfskin Seerr URL #19

Merged
justinzeus merged 1 commit from fm/wolfskin-6-seerr-default into main 2026-10-22 16:00:24 +02:00
Owner

Closes justinzeus/wolfskin#6

Makes the Seerr login chooser on the TV default to Jellyfin login and prefills the Seerr URL field with https://seerr.justinvisser.org (the user can still edit it).

Changes

  • ui/setup/seerr/AddSeerrServerDialog.kt (ChooseSeerrLoginType): the Jellyfin item is now first, so it is the focused default. Order is JELLYFIN, LOCAL, API_KEY; no option removed.
  • WolfskinDefaults.kt (new): WolfskinDefaults.SEERR_URL constant and seerrUrlPrefill(url), which returns the constant when the URL is blank.
  • ui/setup/seerr/AddSeerrServer.kt: AddSeerrServerApiKey and AddSeerrServerUsername seed their URL state with seerrUrlPrefill().
  • WolfskinDefaultsTest.kt (new): covers blank and whitespace-only prefill, and that an entered URL is kept.

The default is deliberately not API_KEY or LOCAL: an API key acts as the Seerr admin and skips Conductarr's per-user routing.

Package and namespace stay com.github.damontecres.wholphin; upstream .github/workflows untouched.

Validation (final head af885eae)

  • make apk-debug: BUILD SUCCESSFUL (Docker build, run under flock /tmp/wolfskin-gradle.lock).
  • make test: BUILD SUCCESSFUL; WolfskinDefaultsTest 2 tests, 0 failures, 0 errors.
Closes justinzeus/wolfskin#6 Makes the Seerr login chooser on the TV default to Jellyfin login and prefills the Seerr URL field with https://seerr.justinvisser.org (the user can still edit it). ## Changes - `ui/setup/seerr/AddSeerrServerDialog.kt` (`ChooseSeerrLoginType`): the Jellyfin item is now first, so it is the focused default. Order is JELLYFIN, LOCAL, API_KEY; no option removed. - `WolfskinDefaults.kt` (new): `WolfskinDefaults.SEERR_URL` constant and `seerrUrlPrefill(url)`, which returns the constant when the URL is blank. - `ui/setup/seerr/AddSeerrServer.kt`: `AddSeerrServerApiKey` and `AddSeerrServerUsername` seed their URL state with `seerrUrlPrefill()`. - `WolfskinDefaultsTest.kt` (new): covers blank and whitespace-only prefill, and that an entered URL is kept. The default is deliberately not API_KEY or LOCAL: an API key acts as the Seerr admin and skips Conductarr's per-user routing. Package and namespace stay `com.github.damontecres.wholphin`; upstream `.github/workflows` untouched. ## Validation (final head af885eae) - `make apk-debug`: BUILD SUCCESSFUL (Docker build, run under `flock /tmp/wolfskin-gradle.lock`). - `make test`: BUILD SUCCESSFUL; `WolfskinDefaultsTest` 2 tests, 0 failures, 0 errors.
justinzeus added 1 commit 2026-10-22 15:59:27 +02:00
Default Seerr login to Jellyfin and prefill Wolfskin Seerr URL
All checks were successful
review/firstmate Exact-diff check: JELLYFIN first, API key last; URL prefill from one constant; unit test; apk-debug+test green
af885eae58
justinzeus merged commit be7268cc96 into main 2026-10-22 16:00:24 +02:00
Sign in to join this conversation.
No reviewers
No labels
exploring
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: justinzeus/wolfskin#19
No description provided.