Show review-tui's image and PDF page views in the screenshots

Abierto
#93 1 comentario 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
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

Read review-tui's --qa rendering path and scripts/screenshots/run.sh, then inspect how task screenshots produces the .ansi files and PNGs. Add deterministic scenes for the changed image and PDF page pair and update the README's “Images and PDFs” section with screenshots and kitty graphics protocol captions; done when the generated shots show the placements instead of placeholder cells.

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

Descripción

blocked enhancement

The README can't show review-tui's image and PDF-page views. In a terminal with the kitty graphics protocol, review-tui shows a changed image's two versions side by side, with o tinting what changed, and a PDF's changed page pair. But the off-screen QA renderer that task screenshots uses draws those placements as ▚ placeholder cells. freeze lays out only ANSI text, so the shots come out wrong, and the README describes these views in prose instead.

A real Ghostty or WezTerm session isn't the answer: neither has a deterministic headless screenshot mode, and both bring their own fonts, timing and window chrome.

Wanted

  • In --qa mode, review-tui writes each graphics placement it would send: the image bytes and its cell rectangle, next to the screen's .ansi file.
  • scripts/screenshots/run.sh composites those placements onto the rendered PNG at the cells' pixel positions, with the same cell size freeze uses.
  • Deterministic scenes for a changed image (with o) and a PDF page pair, in review-tui.
  • The README's "Images and PDFs" section shows them, each with its caption about the kitty graphics protocol (part of the README work in #85).
Lenguaje dominante
Rust
Estrellas
1
Forks
0
Merge medio
2 h 16 min
PR fusionados (30 d)
54

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 romnn/code-review

Todos los issues de romnn/code-review

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.