0.129 P1/P2: no repeat asks for missing pictures; High Scores, Arcade and Settings pages scroll and keep Back

- A show with no picture is asked for once per 6 hours, not up to 4 times per programme shown
- Picture requests are counted only when a request is made
- Top 10 and a game's settings sheet close with Back (their own window swallowed it)
- Arcade pages' footer says Back goes to Play Games
- Arcade menu items wrap at larger text sizes; High Scores drops the Played column on narrow screens
- Family home, a person's page, PIN and Account scroll; Down at the foot of a Settings section stays put

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 20:20:39 +00:00
co-authored by Claude Opus 5.5
parent 5842d28235
commit f2bf735c72
22 changed files with 75 additions and 28 deletions
@@ -44,6 +44,16 @@ class ProgrammeArtworkTest {
assertEquals(1, fetches)
}
@Test fun aShowWithNoPictureIsNotAskedForAgainAndAgain() {
val cache = cache()
var fetches = 0
repeat(5) { i -> assertNull(loadArtwork(cache, "ep$i", "show") { fetches++; null }) }
// The first programme tries its four places; the rest of the show's programmes ask nothing.
assertEquals(4, fetches)
assertTrue(cache.knownMissing("show"))
assertFalse(cache.knownMissing("show", System.currentTimeMillis() + MISSING_RETRY_MS + 1))
}
@Test fun theCacheStaysBounded() {
val dir = folder.newFolder(); val cache = ArtworkCache(dir)
repeat(160) { cache.put("k$it", png) }