PR description is hidden when a PR review opens on a phone

オープン 初心者向け
#3,667 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

@flipcyde101 がすでに取り組んでいます。

2026年11月19日 から。

  • #3749 @flipcyde101 による — オープン
  • #3861 @backnotprop による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react, typescript
領域
frontend, mobile

調査の方向性

packages/review-editor/App.tsx のランディングロジック、特に isCompactTouchLayout 条件から始め、adr/research/synthesis-mobile-feedback-triage-20260812.md に記載されたモバイルレイアウトの動作を確認してください。PR のレビューを 375×812 で再現し、1440 ピクセルの場合と比較してください。スマートフォンで PR のレビューを開くと PR Overview が表示され、Review ナビゲーションから All changes に引き続きアクセスできれば完了です。

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

説明

What happened?

I opened a GitHub PR review on my phone with plannotator review <pr-url> --tailscale. The review showed the diff, but I couldn't find the PR description.

On a wide screen, a PR review opens on PR Overview, which shows the description first. In the phone layout (PHONE_REVIEW_LAYOUT_MEDIA_QUERY), it opens on All changes instead. The description is still there, but only after I open Review navigation and tap the PR row. Nothing on the diff screen points there.

The landing comes from packages/review-editor/App.tsx:

if (prMetadata && !isCompactTouchLayout) openPROverviewPanel();
else openAllFilesPanel();

#1301 chose this on purpose. adr/research/synthesis-mobile-feedback-triage-20260812.md says PR reviews "arrive in full-width All Files instead of opening the tree or PR overview beside the diff", and an iPhone pass "confirmed the artifact-first direction". On a phone, though, PR Overview already opens as one full-width tab, never beside the diff. For a PR, the description is part of what I review, and the artifact-first landing hides it from someone who doesn't know the navigator holds it.

Could phone PR reviews land on PR Overview too? All changes would stay one tap away in Review navigation, as on a wide screen.

Steps, in Chromium at 375×812:

  1. plannotator review https://github.com/<owner>/<repo>/pull/<n>
  2. Open the URL at 375 pixels wide, with or without touch emulation.
  3. Close Review navigation. The page shows All changes, and the PR description is not in the page.
  4. Open Review navigation and tap the PR row. The description appears.

The same PR at 1440 pixels shows the description on load. --tailscale doesn't change the result.

Plannotator version

0.28.37, and a source checkout of main at 55e6bbd2 (0.29.0).

OS

macOS.

Agent

Claude Code.

Where did it happen?

Code review.

Browser

A phone browser over Tailscale. Reproduced in Chromium 157.

主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
14時間 26分
マージ済み PR(30日)
772

環境構築

はじめの一歩

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

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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