Skip to content

Add reply support to Comments v2 - #25957

Open
crazytonyli wants to merge 8 commits into
trunkfrom
task/comments-v2-m3-reply
Open

Add reply support to Comments v2#25957
crazytonyli wants to merge 8 commits into
trunkfrom
task/comments-v2-m3-reply

Conversation

@crazytonyli

@crazytonyli crazytonyli commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Description

Comments v2 supports moderation but not replies. This PR adds reply support for moderators:

  1. Moderators can reply to approved or pending comments. Sending a reply to a pending comment also approves the parent.
  2. The composer stores drafts per site, account, and comment, and lets users save or delete unfinished replies.
  3. Relevant comment lists refresh when the user returns from the detail screen.

Testing instructions

  • Enable Comments v2 and sign in to a self-hosted site with an application password.
  • Reply to an approved comment. Return to the list and verify the reply appears.
  • Reply to a pending comment. Verify the composer shows the approval note and the parent becomes approved.
  • Write a reply, cancel, and save the draft. Reopen the composer and verify the text is restored. Delete the draft and verify it does not return.
  • Verify Spam and Trash comments have no Reply button.

@dangermattic

dangermattic commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator
2 Warnings
⚠️ View files have been modified, but no screenshot or video is included in the pull request. Consider adding some for clarity.
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

@wpmobilebot

wpmobilebot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number34340
VersionPR #25957
Bundle IDorg.wordpress.alpha
Commit2824a01
Installation URL0brb8r88sil1g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

wpmobilebot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number34340
VersionPR #25957
Bundle IDcom.jetpack.alpha
Commit2824a01
Installation URL6tdqhmo86r7og
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

wpmobilebot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from d1138fc to aaa7a13 Compare August 31, 2026 21:51
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from aaa7a13 to aae3966 Compare August 31, 2026 22:24
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from aae3966 to ceceee4 Compare August 31, 2026 22:35
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch 2 times, most recently from d837025 to d5d6270 Compare September 1, 2026 08:16
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from d5d6270 to badeb5d Compare September 1, 2026 09:00
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from badeb5d to f5c1dcc Compare September 1, 2026 09:36
Base automatically changed from task/comments-v2-m2-detail-moderation to trunk September 1, 2026 23:06
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch 2 times, most recently from d1566e4 to 8276878 Compare September 2, 2026 09:25
@crazytonyli
crazytonyli changed the base branch from trunk to task/comments-v2-m3-moderation-polish September 2, 2026 09:27
Base automatically changed from task/comments-v2-m3-moderation-polish to trunk September 2, 2026 21:32
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from 8276878 to 780bd01 Compare September 2, 2026 21:32
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from 780bd01 to 68044ba Compare September 2, 2026 22:09
@crazytonyli crazytonyli changed the title task/comments v2 m3 reply Add reply support to Comments v2 Sep 2, 2026
@crazytonyli
crazytonyli force-pushed the task/comments-v2-m3-reply branch from 68044ba to 2824a01 Compare September 3, 2026 00:29
@crazytonyli
crazytonyli marked this pull request as ready for review September 3, 2026 00:30
@crazytonyli
crazytonyli requested a review from jkmassel September 3, 2026 00:30
@crazytonyli crazytonyli added this to the 27.3 milestone Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants