Repository navigation
fix(web): an unfinished PR inline comment survives a refresh that changes the diff - #21
Closed
AndreiShenets wants to merge 65 commits into
Closed
AndreiShenets wants to merge 65 commits into
AndreiShenets wants to merge 65 commits into
Conversation
… the broadest mode (pingdotgg#41977) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…hment, not a file path (pingdotgg#41970) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t read (pingdotgg#41981) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…restart (pingdotgg#37875) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#42000) Co-authored-by: Julius Marminge <julius0216@outlook.com>
… moved (pingdotgg#42016) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…on link is not a local file (pingdotgg#42023) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…a symlinked base or a Codex project (pingdotgg#42036)
pingdotgg#42027) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gain before installing (pingdotgg#42035)
…security fix (pingdotgg#42043) Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#42046) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#42037) Co-authored-by: hanmin6 <226948540+hanmin6@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…pingdotgg#42011) Co-authored-by: pepsi <pepsi@Pepsi-Work.local> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#42063) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t passes 128 KB (pingdotgg#42040) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ne breaks are on (pingdotgg#42055) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…heir name (pingdotgg#42062) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…2049) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ad of a blank pane (pingdotgg#42048) Co-authored-by: Karsten Nilsen <8917480+karstennilsen@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ings (pingdotgg#42076) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…p's icon in Firefox (pingdotgg#41949) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…hot on OpenCode 2 (pingdotgg#42080)
…name limit (pingdotgg#42083) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#42082) Co-authored-by: geezoria <25051260+geezoria@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#42129) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#42120) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…fter it opens (pingdotgg#42135) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…oji crosses the name limit (pingdotgg#42133) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…cess table every second (pingdotgg#32354) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…back, and MCP app context (pingdotgg#42114) Co-authored-by: Julius Marminge <julius0216@outlook.com>
… save the changes (pingdotgg#42154)
…cess's environment, not its arguments (pingdotgg#42155)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ovider (pingdotgg#42158) Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#42165) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…er it (pingdotgg#42162) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e is not named origin (pingdotgg#42176)
…otgg#38317) Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
…how in Servers (pingdotgg#42151) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ngdotgg#42187) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…switch right-panel tabs (pingdotgg#42179)
…ing slashes (pingdotgg#42193) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…nges the diff Fixes pingdotgg#42199
AndreiShenets
force-pushed
the
fix/pr-inline-draft-refresh
branch
from
November 24, 2026 14:46
6ffe5dd to
e1531b9
Compare
|
This PR changes the test suite by +54 test cases (browser +15, unit +9, server +30). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
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.
Fixes pingdotgg#42199
Problem
While an agent works on a PR, a background refresh that changes the patch wipes the inline comment the reviewer is still typing (before Add to review). The draft was anchored to the file's render key, which includes a hash of the whole patch, so any change re-keyed every file: the comment box unmounted with its text, and the orphaned draft kept line selection disabled.
Fix
Verification
keeps an unfinished inline comment when a background refresh changes another file: fails before the fix (comment box gone), passes after.vp test run src/components/pullRequest src/components/diffs: 321 passed. React Compiler coverage,apps/webtypecheck, lint and format are clean on the changed files.Reviewed with sol-loop: 2 rounds with gpt-6.2-sol on medium. Sol verdict: approved
Written by Claude Opus 5.5 in OpenCode, in T3 Code.