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

Aberta
#127 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
66/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
4
Forks
1
Merge médio
4h 49min
PRs com merge (30d)
5

Preparar o ambiente

  • Inclui um Dockerfile ou arquivo Docker Compose
  • Sem modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de tinystream-dev/tinystream

Todas as issues de tinystream-dev/tinystream

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.