Repository navigation
release: AFinity → viewrr Compose Multiplatform migration - #5
Merged
Merged
Conversation
The iosSimulatorArm64Test target fails to link Compose Multiplatform's iOS UIKit
layer (UIViewLayoutRegion/UIUtilities undefined) on the runner's Xcode 16.4 — a
CMP/Xcode-version issue. Enable androidLibrary withHostTest {} and run the
:shared:testAndroidHostTest task (34 commonTest tests on the JVM) on ubuntu-latest:
no Xcode, faster, same coverage.
* feat(MakD#99): Series/Show detail screen commonMain SeriesScreen + SeriesViewModel (api.series(showTitle)) — header + per-season episode rows (MediaCard). Reached from DetailScreen 'View show' (when showTitle present); episode tap -> media Detail. Register seriesModule (android + iOS). App series overlay. Both platforms build green. * ci: run unit tests as JVM host tests on ubuntu The iosSimulatorArm64Test target fails to link Compose Multiplatform's iOS UIKit layer (UIViewLayoutRegion/UIUtilities undefined) on the runner's Xcode 16.4 — a CMP/Xcode-version issue. Enable androidLibrary withHostTest {} and run the :shared:testAndroidHostTest task (34 commonTest tests on the JVM) on ubuntu-latest: no Xcode, faster, same coverage.
Second CI job runs the commonTest suite on the iosSimulatorArm64 target (macos-15 + latest-stable Xcode = 26) to link Compose Multiplatform's UIKit layer. Keeps the fast JVM host-test job on ubuntu. workflow_dispatch added to test the workflow on a branch.
The new commonMain viewrr stack now covers login -> browse -> detail -> series -> player -> history -> settings, so the original Android-only Jellyfin code is dead weight. Remove it: - Delete ~467 .kt under app/ (data layer, old DI/Koin Jellyfin modules, navigation, cast, mpv/audiobookshelf players, all old ui screens + VMs, jellyfin models/managers/workers). - MainActivity -> minimal ComponentActivity hosting shared App(); AfinityApplication -> startKoin with viewrr modules only (drop appModules/cast/workers/Coil factory). - AndroidManifest -> minimal (drop PlayerActivity/AudiobookshelfService/cast/WorkManager/FileProvider). - Prune app deps: remove jellyfin-sdk, libmpv, media3-ffmpeg, retrofit, room, okhttp, cast, mediarouter, tink, paging, datastore, lottie, commonmark, richtext, aboutlibraries, etc. app/ now depends on :shared + compose + koin-android + timber only. Native libs gone. - Drop KoinModulesTest (verified the old graph). :app:assembleDebug green; 34 host tests pass; emulator launches clean (dark viewrr login).
- SessionStore persists the auth token via multiplatform-settings (SharedPreferences / NSUserDefaults) so login survives restart; viewrrModule provides Settings(). Tests use MapSettings. - MediaCard applies tvFocusScale (scale 1.06 + ring) on focus (onFocusChanged + focusable) for D-pad/keyboard/TV navigation. - Delete unused res/font (2.8 MB, 20 ttf) — ViewrrTheme uses default Material typography, 0 refs. Both platforms green; 34 host tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lands the completed AFinity → Compose Multiplatform / viewrr migration on master.
What shipped (squashed PRs #1–#4 + foundation):
Both platforms run the shared app end-to-end. Remaining is external (live Hub + Keycloak).