PR description is hidden when a PR review opens on a phone
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
调研方向
从 packages/review-editor/App.tsx 中的 landing 逻辑开始,尤其检查 isCompactTouchLayout 条件,并查看 adr/research/synthesis-mobile-feedback-triage-20260812.md 中描述的移动端布局行为。在 375×812 的尺寸下通过一次 PR review 重现,并与 1440 像素时进行比较。当手机上的 PR review 打开时显示 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:
plannotator review https://github.com/<owner>/<repo>/pull/<n>- Open the URL at 375 pixels wide, with or without touch emulation.
- Close Review navigation. The page shows All changes, and the PR description is not in the page.
- 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 分钟
- 30 天内合并 PR
- 772
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
backnotprop/plannotator 的其他 Issue
-
Inbox permission: an allow sent with `updatedInput` is ignored by Claude Code on its own safety checks可能已有人在做 @Raj1v 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#4046 ·
维护者通常 1 天内回复
-
Codex routine preflight ignores project-level Inbox MCP registration可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#4000 ·
维护者通常 1 天内回复
-
Code review: binary paths containing ` b/` are truncated and misclassified as renames可能已有人在做 @Guihakka2 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
backnotprop/plannotator#3936 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
backnotprop/plannotator#2643 · 1 个 reaction ·
维护者通常 1 天内回复
-
Annotate documentation omits per-file version history and privacy controls可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#1086 · 2 条评论 ·
维护者通常 1 天内回复
查看 backnotprop/plannotator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
GetStream/stream-chat-react#3467 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
vercel-labs/ui#1139 ·
维护者通常 1 天内回复
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10可能已有人在做 @goranai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
bot:ai-assisted component:platform-js status:untriaged
难度 2/5 1-3 小时 新手友好度 82/100
midnightntwrk/platform-js#93 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100