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

Aperta Adatta ai principianti
#3,667 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@flipcyde101 ci sta già lavorando.

Dal 19/11/2026.

  • #3749 di @flipcyde101 — aperta
  • #3861 di @backnotprop — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend, mobile

Direzione di ricerca

Inizia dalla logica di landing in packages/review-editor/App.tsx, in particolare dalla condizione isCompactTouchLayout, e controlla il comportamento del layout mobile descritto in adr/research/synthesis-mobile-feedback-triage-20260812.md. Riproducilo a 375×812 con una review di PR e confrontalo con 1440 pixel. Il lavoro è completato quando le review di PR sul telefono si aprono su PR Overview e All changes resta raggiungibile tramite la navigazione Review.

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

Descrizione

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.

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
14h 26m
PR unite (30g)
772

Preparare l'ambiente

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 backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.