Size contact sheet and the `needs W × H` line (D87)

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
frontend

Direzione di ricerca

Read D87 in docs/DESIGN-TREE.md, ADR 0005 and GLOSSARY.md first, then the existing pty scenario harness the tools/check.sh suite drives, since the contact sheet must be produced by a scenario rather than by hand. From there you need the Widget trait's layout path, where each Widget's minimum size would be declared and where a Pane currently renders when it has too little room. Done means the scenario emits labelled images per Widget across every listed Pane size on both cell and pixel tiers, each Widget declares its smallest size with the needs W × H fallback and name-only title below that, and tools/check.sh passes with the pty behaviour seen by hand.

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

Descrizione

enhancement ready-for-agent

Parent

#34 (spec), D87 in docs/DESIGN-TREE.md, ADR 0005, terms in GLOSSARY.md.

What to build

Every Widget must look right at any Pane size, because a floor plan you build yourself makes odd sizes common. Build a contact sheet the owner judges instead of vague "improve it" passes, and give every Widget a stated smallest size.

The owner marks each cell good or bad; each bad cell becomes its own follow-up ticket with that cell as its before/after (lyrics and Karaoke first). Keep established looks: change nothing the owner didn't mark.

Acceptance criteria

  • A pty scenario renders every Widget at a fixed set of Pane sizes (tiny 20×6, narrow-tall, wide-short, medium, big, full screen) on the cell and pixel tiers, one image per Widget, labelled by size
  • Full-terminal shots at the PC's size and an emulated 13-inch laptop (about 180×54 full screen and 90×50 half, Retina cell pixels)
  • Every Widget declares its smallest size; below it the Pane shows one dim centred line needs W × H, and a Pane too small even for that shows only the Widget's name in its title
  • The black hole's shape rule is expressed as its smallest size
  • The sheet is handed to the owner as images to mark (outside the repo if they contain anything personal)
  • run-hidden tools/check.sh green; user-visible changes checked in the pty before closing

Blocked by

None (can start immediately).

The owner tests the app once, after all D87 tickets are done (not between tickets).

Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
3h 30m
PR unite (30g)
25

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 publicusr/singularity

Tutte le issue di publicusr/singularity

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.