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

Aperta
#93 1 commento 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
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli, documentation

Direzione di ricerca

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.

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

Descrizione

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).
Lingua principale
Rust
Stelle
1
Fork
0
Merge medio
2h 16m
PR unite (30g)
54

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

Tutte le issue di romnn/code-review

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.