[Bug]: Desktop: Header buttons collide with the floating window controls

Aperta
#127 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
66/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
desktop

Direzione di ricerca

Reproduce with cargo run --locked -- --scene requests --size 820x640 --snapshot /tmp/r.png from desktop/, then read the header layout in desktop/app/src/browsing/view/requests.rs and desktop/app/src/browsing/view/downloads.rs to find where the floating window-control pill is drawn and how much width it reserves. Apply the same right-side inset to every page header (Requests, Calendar, Downloads) so actions clear the controls. Done means the snapshot renders show no overlap at narrow widths.

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?

Page header actions sit in the top-right corner, under the floating minimise/maximise/close pill. On Requests, "Add a show" (desktop/app/src/browsing/view/requests.rs:11) almost touches it at 1280 px wide and overlaps it at narrower widths. Calendar's week arrows and Downloads' "Pause all" (desktop/app/src/browsing/view/downloads.rs:26) are in the same area.

Steps to reproduce

From desktop/, with a debug build: cargo run --locked -- --scene requests --size 820x640 --snapshot /tmp/r.png: the pill covers the button's top-right corner.

Expected behavior

Header actions never sit under the window controls.

Suggested fix

Reserve the controls' width (plus a gap) on the right of page headers, or push header actions below the controls' bottom edge.

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.