Trustable review UX: highlighted diffs, reviewed checkboxes, timeline-to-diff link#15
Open
minghinmatthewlam wants to merge 9 commits intomainfrom
Open
Trustable review UX: highlighted diffs, reviewed checkboxes, timeline-to-diff link#15minghinmatthewlam wants to merge 9 commits intomainfrom
minghinmatthewlam wants to merge 9 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
:root.dark. Bundle delta: ~29 KB gzipped.(workspaceId, sessionId)vialocalStorage. Survives a full app relaunch and prunes when changed-files mutate.Out of scope (rejected): per-hunk accept/revert, inline approval cards, side-by-side.
Plan and review
plans/milestone-a-review-ux/plan.md. Confidence reached 85% after R2 plan review.plan-loop: 2 native reviewers + 1 attempted Codex (MCP unavailable —gpt-5.5/gpt-5*/codex-*rejected by ChatGPT account; flagged at sign-off).review-loop: R1 (4 native, distinct surfaces) found two [high] bugs — scroll-race when panel mounts empty and missing'entity decode for apostrophes — plus a session-deps gap and a counter-flicker. Fixed in 35807fc. R2 verified all four resolved without regression.simplify: collapsed dual-ref + pending state into afileRequestprop, narrowedparseHljsHtmlto private, unified the token renderer, swapped empty-setsetItem("[]")forremoveItem, fixed a latent test bug wherecommitAllInGitRepoblew away every change instead of justfoo.ts.Test plan
pnpm --filter @pi-gui/desktop run typecheckpnpm --filter @pi-gui/desktop run test:e2e:runner -- apps/desktop/tests/core/review-ux.spec.ts apps/desktop/tests/core/mentions-diff.spec.ts— 6/6 passingcorelane — 58/60 passing; the 2 failures (provider-settings,unread-state) reproduce on the parent commit30868cfand are unrelated to this changeFiles
9 commits across
apps/desktop/src/{App,conversation-timeline,diff-inline,diff-panel,timeline-item,icons}.tsx, newsyntax-highlight.ts,reviewed-files-store.ts,styles/syntax-highlight.css, andtests/core/review-ux.spec.ts. Nodesktop-state.ts, main, preload, or IPC changes — reviewed-state is renderer-only by design.