feat(mobile): add bottom comment CTA and conversation comment composer to PR review Discussion tab - #6023
Merged
Merged
Conversation
iscekic
marked this pull request as draft
September 9, 2026 18:44
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (14 files)
Previous Review Summary (commit ffcb823)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit ffcb823)Status: No Issues Found | Recommendation: Merge Files Reviewed (35 files)
Reviewed by grok-4.6 · Input: 112K · Output: 9.6K · Cached: 352.1K Review guidance: REVIEW.md from base branch |
…r to PR review Discussion tab #6023
iscekic
force-pushed
the
kwf/in-the-mobile-app-add-a-bott-de54
branch
from
September 9, 2026 20:20
7530872 to
b247acd
Compare
iscekic
marked this pull request as ready for review
September 9, 2026 20:44
iscekic
enabled auto-merge (squash)
September 9, 2026 23:07
eshurakov
approved these changes
Sep 10, 2026
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.
Changelog for users
Changelog for maintainers
PrConversationCommentComposer(mounted by the newconversation-commentformSheet route registered in the[number]layout) andPrCommentCtainpr-review-discussion-tab.tsx: the bar renders only on the happy-list and empty views; the loading skeleton and every terminal/error state are unchanged.githubPrReview.addIssueCommentwrites via Octokitissues.createComment(the issues endpoint, not the review-comment endpoints), asserts UGC terms before any ledger row or GitHub write, and is ledger-deduped under the newadd_pr_commentintent — a same-operationKey retry replays the canonical result with a single GitHub write, and the comment body stays out of the settle outbox event.add_pr_commentresource fingerprint ({"resource":[owner,repo,number],"body":...}) is pinned in app-shared tests; it is the 30-day dedupe identity, so any change to it rotates every in-flight key.invalidateDiscussionCachesis now fire-and-forget inonSettledfor every discussion mutation (reply, resolve/unresolve, reactions): an awaited invalidation let an offline refetch pin the UI past the new 15 swithUiDeadlinethat bounds the add-comment mutation.ReplyInputno longer surfaces raw provider errors (retryable copy, plus verify-before-retrying copy for the ambiguous ledger marker) and gains the same confirmed-offline local submit gate via the newgetCommittedConnectivityStatussnapshot;unknownconnectivity never blocks.unknownnow fires the app's own probe immediately (the banner used to stay painted forever), andOFFLINE_BANNER_HEIGHT(36) is exported and reserved above the PR review header while offline — keep the painted row height in sync with the constant.useReplyFocusScroll(one scroll per reply focus, anchored on the committed viewport height change; Android and iOS commit the CTA lift in opposite orders, and a user drag wins) and thekeyboardLiftfocus gating of the CTA bar (a foreign sheet's keyboard must not shrink the list viewport behind the sheet).E2E proof
Recording of the verified flow (waits trimmed)
e3-retry-success.mp4.trim.mp4
E2E proof — log excerpts
/home/igor_kilocode_ai/.local/share/kwf/sections/in-the-mobile-app-add-a-bott-de54/e2e-mobile-app/e1-dispatch.logOwner request
Follow-ups (not changed here)