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

Abierto
#36 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
32/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Lenguaje dominante
Rust
Estrellas
0
Forks
0
Merge medio
3 h 30 min
PR fusionados (30 d)
25

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de publicusr/singularity

Todos los issues de publicusr/singularity

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.