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

Aperta
#130 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
63/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
4
Fork
1
Merge medio
4h 49m
PR unite (30g)
5

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tinystream-dev/tinystream

Tutte le issue di tinystream-dev/tinystream

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.