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

Đang mở
#93 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).
Ngôn ngữ chính
Rust
Star
1
Fork
0
Merge trung bình
2 giờ 16 phút
Pull request đã merge (30 ngày)
54

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của romnn/code-review

Tất cả issue của romnn/code-review

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.