Skip to content

Translations update from Hosted Weblate - #99

Merged
MakD merged 1 commit into
MakD:masterfrom
weblate:weblate-afinity-yet-another-jellyfin-client-afinity
Apr 27, 2026
Merged

MakD merged 1 commit into
MakD:masterfrom
weblate:weblate-afinity-yet-another-jellyfin-client-afinity

Conversation

@weblate

@weblate weblate commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

Translations update from Hosted Weblate for Afinity - Yet Another Jellyfin Client/AFinity.

Current translation status:

Weblate translation status

Currently translated at 100.0% (649 of 649 strings)

Translation: Afinity - Yet Another Jellyfin Client/AFinity
Translate-URL: https://hosted.weblate.org/projects/afinity-yet-another-jellyfin-client/afinity/fr/
@weblate
weblate force-pushed the weblate-afinity-yet-another-jellyfin-client-afinity branch from 6b59ccc to 4b64f66 Compare April 27, 2026 00:09
@MakD
MakD merged commit a6eb391 into MakD:master Apr 27, 2026
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
Add :shared KMP module (commonMain/androidMain/iosMain) with android +
iosX64/iosArm64/iosSimulatorArm64 targets. Wire :app -> :shared. Add CMP
1.11.1 + Koin 4.1.0 to version catalog. expect/actual platformName() proves
all source sets compile. android assembleDebug + iOS shared compile both green.

Refs MakD#99
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
Remove Hilt/Dagger entirely; wire DI via Koin 4.1.0.
- 12 Hilt modules -> Koin modules (networkModule/databaseModule/repositoryModule/
  preferencesModule/playerModule + managerModule/viewModelModule/workerModule).
- 38 @hiltviewmodel -> viewModelOf; hiltViewModel() -> koinViewModel().
- 57 @Inject classes -> singleOf/factoryOf; 18 @BINDS -> bind().
- 9 @HiltWorker -> workerOf/worker{}; WorkManager via koin workManagerFactory().
- 3 @androidentrypoint + 2 @entrypoint -> Koin inject()/koinInject().
- dagger.Lazy<T> -> direct; javax.inject.Provider<T> cycle-breakers kept via
  inline Provider{ get() } in explicit defs (DatabaseRepository/ServerRepository/
  ServerManagementViewModel <-> SessionManager cycles).
- AfinityApplication: @HiltAndroidApp -> startKoin{}.
- Add KoinModulesTest (org.koin.test.verify) as runtime DI graph safety net.

:app:assembleDebug + Koin verify test both green. Refs MakD#99
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
…d on MakD#101

Coupling scan: domain models are Jellyfin SDK DTOs + Room @entity, pervasively
depended on (repos->VMs->UI). Can't move UI/VMs to commonMain until viewrr-native
KMP models exist (MakD#101). Reorder plan: MakD#101 models-first -> Stage 2 -> Stage 3 -> Stage 4.
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
…iewrr client

End-to-end CMP feature proving the target architecture, compiling to android+iOS:
- MediaRepository (commonMain): viewrr-native domain repo over ViewrrApi; aggregates
  Apple-TV home rows, tolerates 🔜 endpoints (runCatching).
- HomeViewModel (commonMain): androidx.lifecycle.ViewModel + viewModelScope + StateFlow.
- HomeScreen (commonMain): pure Compose Apple-TV rows (LazyColumn/LazyRow poster cards).
- Wired into viewrrModule (Koin: MediaRepository + viewModelOf(::HomeViewModel)).
Lifecycle/koinViewModel resolve in commonMain (transitive). :app stays green.
Template for the Stage 2 UI migration. Refs MakD#101 MakD#99
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
Repoint Android entry at the new CMP home over the viewrr client (inside existing
AFinityTheme/splash). Register viewrrModule in startKoin (dev base 10.0.2.2:8080,
token wiring pending Keycloak). Old Jellyfin MainContent kept in-file for rollback.
:app:assembleDebug green.
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
First iOS run of the Compose Multiplatform UI — same commonMain HomeScreen as Android.
- shared/iosMain: MainViewController (ComposeUIViewController) + doInitKoin (starts Koin
  with viewrrModule on iOS).
- iosApp/ Xcode project (SwiftUI shell, UIViewControllerRepresentable -> shared framework),
  Info.plist with CADisableMinimumFrameDurationOnPhone (CMP PlistSanityCheck requirement).
- SampleData dev fallback so home renders without a backend.
- MainActivity already on HomeScreen; viewrrModule registered in startKoin.
Verified: android emulator + iOS simulator (iPhone 16) both render the Apple-TV home,
no crash. Build: ARCHS=arm64 for sim (framework is arm64-only).

Refs MakD#99 MakD#100 MakD#101
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
… shell

Built 3 viewrr-backed CMP screens in parallel (follow HomeScreen template):
- ui/search: SearchViewModel + SearchScreen (OutlinedTextField -> api.search, grid).
- ui/detail: DetailViewModel + DetailScreen (api.mediaDetail, backdrop/meta/play stub).
- ui/library: LibraryViewModel + LibraryScreen (Shows/Music tabs -> api.shows/musicAlbums).
- ui/App.kt: bottom-nav shell (Home/Search/Library; glyph icons to avoid material-icons dep).
Register search/detail/library Koin modules in android + iOS startKoin; MainActivity and
iOS MainViewController now render App(). Both platforms build green; android + iOS show the
nav shell, all tabs functional (Home sample rows; Library/Search make live viewrr calls).
Detail compiled+registered; card->detail nav is the next increment. Refs MakD#99
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
- shared MediaCard (commonMain ui/components): Coil AsyncImage poster + initials
  fallback, clickable -> onClick(id). Replaces the 3 per-screen PosterCard copies.
- Home/Search/Library take onItemClick, route through MediaCard.
- App(): detail overlay state — tapping a card opens DetailScreen(mediaId), back clears it.
- Coil3 (coil-compose + coil-network-ktor3) added to shared commonMain.
- LoginScreen: dev 'Continue offline' button (AuthViewModel.continueOffline) to browse
  UI without a Hub (drop with Keycloak).
Both platforms green. Verified on emulator: skip login -> Home (sample) -> tap card ->
Detail (GET /media/1, 401 w/o backend = nav proven). Refs MakD#99
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
…+ History

Built 4 features in parallel (agent-per-feature, commonMain):
- ui/theme: ViewrrTheme (dark tvOS palette #0A0A0F/accent #5B8CFF, rounded shapes,
  TV typography) + Modifier.tvFocusScale (focus 1.06 + ring). App() now wraps ViewrrTheme.
- player: Player interface + StubPlayer (real mpv/AVPlayer = MakD#100) + PlayerViewModel
  (api.playbackResolve) + PlayerScreen. Detail 'Play' -> PlayerScreen overlay.
- ui/settings: SettingsViewModel(SessionStore) + SettingsScreen (account/server/version
  + Log out -> session.clear -> login).
- ui/history: HistoryViewModel(api.watchEventsMe) + HistoryScreen.
App() shell: 5 tabs (Home/Search/Library/History/Settings) + detail + player overlays.
Register player/settings/history Koin modules (android + iOS). Both platforms green.
Verified on emulator: dark theme, all tabs, Settings logout. Refs MakD#99 MakD#100
jobinlawrance added a commit to viewrr/viewrr-mobile that referenced this pull request Jun 25, 2026
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants