Description
Problem
On Calendar posters, a badge that starts with "Series" shows only the word SERIES. The rest of the pill is blank (white, or the text isn't visible). The maintainer saw this on badges reading "Series Premiere" and "Series Finale". Observed by the maintainer on Android phone, Android tablet and Android TV (silo-android 8f74ef73, phone, tablet and TV debug builds), while validating #314.
Season premieres and series premieres must be clearly labelled for Calendar acceptance (parent silo-server #1134 AC1), so the missing text fails C1.
Source evidence
At origin/main 86e1ebc7, from source review (not tested):
- The server sends
series_premiere,season_premiereandfinale.badgeLabelmaps them to SERIES PREMIERE, NEW SEASON and FINALE, in bothandroidApp/.../calendar/CalendarScreen.ktandandroidTvApp/.../calendar/TvCalendarScreen.kt. There is no "Series Finale" label, so what looked like one is probably an episode carrying both a SERIES PREMIERE and a FINALE pill (the server marks an episode as the finale when it is the last known episode, so a season with one known episode gets both). BadgePill(phone/tablet and TV) is aBoxaround aTextwithmaxLines = 1and default soft wrapping. The pill sits inside the poster (120 dp wide on phone, minus 6 dp poster padding and 7 dp pill padding per side). At 11 sp bold with 0.8 sp letter spacing, "SERIES PREMIERE" is likely wider than that. The text then wraps after "SERIES", only the first line is drawn, and the pill keeps the full width, which leaves the blank space after the first word.- The TV pill has the same structure (14 sp,
maxLines = 1).
Expected behavior
Every badge shows its full label on phone, tablet and TV, for example by using softWrap = false with a shorter label or smaller text, or by letting the pill use two lines. No badge is cut down to its first word.
Validation
Blocks silo-android #314 C1 (Calendar — Android, phone and tablet) and #313 C1 (Calendar — Android TV); parent silo-server #1134 AC1. Blocking (maintainer decision, 26 Sep 2026).
AI-assisted: drafted with Claude Code (claude-opus-5-5) and GitHub CLI at the maintainer's direction. The behavior was observed by the maintainer; the cause is from source review only.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(calendar): keep premiere badges on one line (Silo-Server#402)