[Bug]: Desktop: Calendar episode cards break at narrow widths

Offen
#130 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
63/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

Start at desktop/app/src/browsing/view/calendar.rs:41, where the week grid is fixed to seven columns, and reproduce with cargo run --locked -- --scene calendar --size 820x640 --snapshot /tmp/c.png from desktop/. Trace how column width is computed and where the thumbnail, time badge and countdown are laid out, then add a minimum column width and a narrow-width fallback. Done when the snapshot at 820x640 renders a readable week with no spilled badge or clipped countdown.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug

[!NOTE]
This issue was written by Claude (Claude Opus 5.5) from a review session of the desktop app (#80) with @PhrolovaMoe. It was found in headless renders of the debug build's fixture scenes (--snapshot), not on a live server.

Version

0.40.0 (feat/desktop, 017a837b)

Area

Other (desktop app)

What happened?

The calendar always shows seven columns (desktop/app/src/browsing/view/calendar.rs:41). At 820 px wide, each column is about 60 px: the episode thumbnail shrinks to a pill, its time badge spills outside it, and "in 59:59" is cut to "in 59:5".

Steps to reproduce

From desktop/, with a debug build: cargo run --locked -- --scene calendar --size 820x640 --snapshot /tmp/c.png

Expected behavior

The week stays readable at narrow window sizes.

Suggested fix

Give columns a minimum width and switch to fewer columns or a day list below it (as narrow web layouts do), and let the badge and countdown truncate gracefully.

Vorherrschende Sprache
TypeScript
Sterne
4
Forks
1
Ø Merge
4 Std. 49 Min.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus tinystream-dev/tinystream

Alle Issues in tinystream-dev/tinystream

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.