Skip to content

v0.1.57

Choose a tag to compare

@issinoho issinoho released this 03 Sep 21:40
· 28 commits to main since this release
48dee3f

Three interface fixes, all reported from real use on a phone.

Fixed

  • Search results ran their two lines together — "King Kong · 197670s Cinema · Fri 01:00". The title and the channel are separate spans, but their container was never made a flex column, so they stayed inline. That also meant a long title overflowed the row instead of truncating, because text-overflow: ellipsis needs a block box. One change fixed both. (#140)

  • The programme sheet's Close button was hidden behind hero artwork — and, less obviously, dead: the artwork was taking the clicks as well as covering the button. Both elements were positioned with no z-index, so paint order fell back to DOM order and the artwork, whose negative margins pull it into that corner, won. (#141)

  • Light mode rendered pale text invisibly on white. The source status pills were the visible symptom, but the same dark-theme-only literals were in five more places — the danger buttons and the inline error and success messages in both Sources and Settings. Those measured 1.2 to 1.6 against a 4.5 contrast requirement, so an error message was unreadable exactly when you needed it. All six now use the --callout-*-fg tokens that already existed for this, and a new --callout-warn-fg covers "stale". (#142)

Worth knowing

Every one of these passed a green test suite, because jsdom does no layout — a component test cannot see that two elements overlap or that text has no contrast. The contrast fix is now guarded by a check that scans every stylesheet for hardcoded colours too light to work on white and reports file, line and hex, so the next one is caught before it ships rather than in a screenshot.

Migration

None — no schema change, no configuration.

Images

issinoho1969/tvtimes:0.1.57 · :latest (+ ghcr.io/issinoho/tvtimes), linux/amd64 + linux/arm64. Note the tag carries no leading v.