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

Abierto Apto para principiantes
#3,667 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@flipcyde101 ya está trabajando en esto.

Desde el 19/11/2026.

  • #3749 de @flipcyde101 — abierto
  • #3861 de @backnotprop — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
78/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
react, typescript
Área
frontend, mobile

Línea de trabajo

Empieza por la lógica de landing en packages/review-editor/App.tsx, especialmente por la condición isCompactTouchLayout, y revisa el comportamiento del diseño móvil descrito en adr/research/synthesis-mobile-feedback-triage-20260812.md. Reprodúcelo con 375×812 durante una revisión de PR y compáralo con 1440 píxeles. El trabajo estará terminado cuando las revisiones de PR en el teléfono se abran en PR Overview y All changes siga siendo accesible a través de la navegación de Review.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
649
Merge medio
14 h 26 min
PR fusionados (30 d)
772

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de backnotprop/plannotator

Todos los issues de backnotprop/plannotator

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.