Repository navigation
Conversation
On a PR's Activity section only review threads replied in the app. The Reply on a conversation comment or a review was a link, so answering one meant going to GitHub in a browser. GitHub has no threads on conversation comments; its own Reply there is "Quote reply", which puts the comment into the comment box as a quote and posts a new conversation comment. Reply now does the same against the composer at the end of the section: the reader's selection inside that comment is quoted when there is one, otherwise the comment's opening lines, cut short so a bot's long report does not flood the box. The quote goes after any draft already written, the composer takes focus with the caret after the quote, and what posts is exactly what is in the box. The quote is read from the rendered comment, not its markdown source, so a body made of badges, tables and folded details quotes as the text the reader saw. Review threads keep GitHub's real threaded reply. Where no composer can take a reply (the cloud route, an older host) Reply stays a link to the comment. Both cards now share one Reply control, and the reply context carries the two ways to reach the composer: answer a thread, or quote into the conversation.
Reply sent the reader to the composer at the end of the Activity section, which on a long PR is screens away from the comment being answered. Each card now opens its own reply box directly beneath itself: a conversation comment's box starts from the quote, a review thread's box posts into the thread. The box takes focus, offers Cancel, and closes once the reply posts. Pressing Reply again while the box is open does not open a second one: with a fresh selection in the comment it adds that quote to the draft, otherwise it brings the box back into focus. This removes the machinery the shared composer needed. The composer at the end of the section is only "Leave a comment" again, with one draft and no reply mode, and the reply context shrinks from a pair of actions to the destination a reply posts to. The "Replying to ..." strip and its two strings go with it; a box under the comment it answers does not need to say whom it answers.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
🚀 Preview Deployment🔗 Preview Links
Preview updates automatically with new commits |
|
Preview update published for development build |
# Conflicts: # apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/PullRequestPane/components/PullRequestCommentCard/PullRequestCommentCard.test.tsx # apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/PullRequestPane/components/PullRequestCommentCard/PullRequestCommentCard.tsx
|
The comment box at the end of the Activity section had grown into a three-row card with a square send button, and the reply box under a card inherited it. Both are the small rounded pill the page started with: the GitHub mark in a chip, one line of text, a round send button. A reply box adds a close button beside it. The pill now grows with the draft itself, wrapped lines included, up to six lines, and the chip and buttons stay on the last line. Before, only typed line breaks added rows. Enter still sends and Shift+Enter breaks a line. Two tests post through a local stand-in for the host, one for a comment and one for a thread reply, since the send path had no test.
…posts - Folding a resolved or outdated thread hid its reply box and dropped the draft, and in the narrow layout, which ignores folding, Reply opened nothing. The box now stays open whether or not the card is folded. - Crossing the narrow-pane width swapped each card's wrapper element, which remounted the card and its reply box and lost the draft. A timeline stop now keeps one element tree in both layouts and only drops the rail in the narrow one. - Cancel stays disabled while a reply posts, so a request that finishes after the box was cancelled and reopened cannot close the new box.
Summary
On a PR's Activity section, Reply now replies inside the app, in a box that opens directly under the comment being answered. Before, the Reply on a conversation comment or review was a link that opened GitHub.
The composer at the end of the section is only "Leave a comment" again. Its reply mode, the "Replying to …" strip and the per-destination drafts from #8398 are gone, along with two strings; the reply context now carries just the destination a reply posts to. Both cards share one Reply control.
No host or API changes: this uses
pullRequests.addCommentandpullRequests.replyToThreadas they are.Test plan
bun run typecheckinapps/desktop(exit 0), repo lint clean, 80 tests pass across the Pull requests route and the PR pane suites (new: quote builder, composer box, conversation card reply, thread card reply)Summary by cubic
Replying to a PR comment in the Activity section now opens a reply box directly under that comment, instead of routing to the composer at the end or opening GitHub.
Written for commit e357757. Summary will update on new commits.
Summary by CodeRabbit