feat(web): step between commits in the diff panel #31505
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.40) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 317 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.345
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #31505"
general
weight: 0.35
sssilvar
Reviewing a branch one commit at a time meant reopening the scope menu, entering the Commits submenu and picking the next row for every step.
When a commit is selected, the diff header now shows a compact
‹ sha⌄ ›control. The arrows move to the older and newer commit in the branch list and disable at either end. The SHA opens the same commit list as the Commits submenu, so any commit is one click away. Both menus render from one shared list. The code host link for each commit stays on its row in that list.On narrow panels the header keeps the commit subject visible by using the existing compact layout. Proposal #31564 follows #6924.
Browser verification
I compared
mainat58a4e59962with0cec2d6844in the web client on macOS. I opened a completed Replay thread on a feature branch three commits ahead of main, chose Diff → scope → Commits → Draft notes, and expandednotes.txt. On main, changing commits required reopening the scope menu. On the PR, Previous reached the oldest commit and disabled. Next stepped through the middle commit to the newest and disabled. The header dropdown returned directly to the middle commit. I checked both viewport sizes.| Viewport | Before | After | Header menu | Recording |
| --- | --- | --- | --- | --- |
| 1280 × 800 | Before | After | Commit list | Watch |
| 700 × 800 | Before | After | Commit list | Watch |
!Selected middle commit with notes.txt expanded
vp run check:changed upstream/mainpassed, including all 14 DiffPanel browser tests.Updated and verified with GPT-6.2-Astra in Codex.