many changes
Traceability Validation / Check Requirement Traces (push) Failing after 1m18s
🏗️ Build and Test JellyTau / Build APK and Run Tests (push) Has been cancelled

This commit is contained in:
2026-02-14 00:09:47 +01:00
parent 6d1c618a3a
commit e3797f32ca
74 changed files with 6718 additions and 771 deletions
@@ -13,19 +13,26 @@
let { season, episodes, focusedEpisodeId, onEpisodeClick }: Props = $props();
function getImageUrl(): string {
let imageUrl = $state<string>("");
// Load image URL asynchronously
async function loadImageUrl(): Promise<void> {
try {
const repo = auth.getRepository();
return repo.getImageUrl(season.id, "Primary", {
imageUrl = await repo.getImageUrl(season.id, "Primary", {
maxWidth: 200,
tag: season.primaryImageTag,
});
} catch {
return "";
imageUrl = "";
}
}
const imageUrl = $derived(getImageUrl());
// Load image when season changes
$effect(() => {
loadImageUrl();
});
const episodeCount = $derived(episodes.length);
const seasonNumber = $derived(season.indexNumber || season.parentIndexNumber);
const seasonName = $derived(