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

オープン
#93 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
cli, documentation

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).
主要言語
Rust
スター
1
フォーク
0
平均マージ
2時間 16分
マージ済み PR(30日)
54

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

romnn/code-review のほかの issue

romnn/code-review の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。