-
Notifications
You must be signed in to change notification settings - Fork 43
Add the Content Summarization UI #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Add the Content Summarization UI #147
Conversation
… the description dynamic
…t from that to update our state. And when inserting the summary block, replace the existing one or insert at the top if there isn't an existing one
…here it's needed. Use this in the block controls regenerate button
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #147 +/- ##
=============================================
+ Coverage 50.33% 50.90% +0.56%
- Complexity 366 379 +13
=============================================
Files 26 27 +1
Lines 1951 1996 +45
=============================================
+ Hits 982 1016 +34
- Misses 969 980 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@dkotter perhaps a docs page for this experiment like done in https://github.com/WordPress/ai/pull/155/changes#diff-f70665388390657902e73741dea03efcdadc4bd0ceb4432959f8903ae015c042? |
|
Note we'll want to update the screenshot numbers when this gets merged in, I left it with a hash instead of a number depending on when this versus other experiments get merged in. |
|
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @prabinjha. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. 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. |
What?
Closes #12
The base Content Summarization Experiment and Ability were added in #136. This PR builds on top of that to add in the actual UI to trigger content summarization within the post editor.
Why?
With #136 merged in, you can manually trigger summarization by using the Ability but there isn't a way to trigger that from the UI. This PR adds in that UI, making that Experiment more useful.
How?
Note
The JS lint workflow is failing but that will be fixed in #176
Testing Instructions
Settings > AI Credentialsand ensure you have a valid AI provider configuredSettings > AI Experimentsand ensure you have the Content Summarization Experiment enabledGenerate AI Summarybutton in the Post Status sidebarScreenshots or screencast
Test using WordPress Playground
The changes in this pull request can be previewed and tested using this WordPress Playground instance:
Click here to test this pull request.