Repository navigation
fix(diffview): close GitHub posting dialog after success - #56
Merged
DeepanshuMishraa merged 1 commit intoNov 20, 2026
Merged
Conversation
Clear the loading dialog when the posting worker succeeds. Previously the comment was marked as posted, but the blocking dialog remained open and ignored input. Add a regression test through the posting result channel and completion handler.
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
Close the “Posting to GitHub…” dialog after a successful line-comment submission. Previously the comment reached GitHub, but the loading dialog remained open and ignored input.
Add a regression test that supplies a successful worker response through the real posting-result channel and completion handler.
Evidence
cargo test --bin leaf diffview::tests::: 54 passed, including the regression test.git diff --check: passed.Risk & Rollback
Reversibility: Reversible
Blast Radius: The diff reviewer's successful GitHub line-comment completion path. Posting, authentication, persistence, and error handling are unchanged. Revert the commit to roll back; no migration is needed.
Summary by cubic
Fixes the diff reviewer so the "Posting to GitHub…" dialog closes after a successful line-comment submission. Previously the comment reached GitHub, but the loading dialog stayed open and ignored input.
Bug Fixes
Written for commit 636684d. Summary will update on new commits.