Experiment: Add Suggest Reply experiment#724
Conversation
…uests and update UI accordingly
…r to simplify component logic
… index.php in enqueue assets
…vertical whitespace and updating data attribute retrieval
…components and system instructions
…package-lock.json
… for reply generation actions
…lyModal on unmount
…tton labels and states in ReplyModal
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
…on rendering logic
…ts/Suggest_Reply/`
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #724 +/- ##
=============================================
+ Coverage 74.45% 75.01% +0.56%
- Complexity 1740 1858 +118
=============================================
Files 85 90 +5
Lines 7521 7918 +397
=============================================
+ Hits 5600 5940 +340
- Misses 1921 1978 +57
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I’m marking this PR as draft temporarily to complete the test coverage. The implementation itself is complete; I just need to add the tests and will mark it ready for review again once they’re done. |
Closes: #508
Suggest Reply Experiment
Description
This PR implements the Suggest Reply experiment, which adds an AI-powered "Suggest reply" action to both the Comments admin screen and the Activity dashboard widget.
This feature allows moderators to generate contextual reply suggestions based on the comment's content, the parent post's context, and optional editorial guidelines.
Key Features
ai/reply-suggestionWP Ability which handles the context building and communication with the AI client.Testing Instructions
Suggest Replyexperiment is enabled underAdmin Experimentsin/wp-admin/options-general.php?page=ai-wp-admin.Screenshot/Screencast
Usage
WhatsApp.Video.2026-06-16.at.7.30.39.PM.mp4
Screen.Recording.2026-06-16.at.7.16.22.PM.mov
Error Examples