-
Notifications
You must be signed in to change notification settings - Fork 33
Add the Excerpt Generation Experiment UI #143
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?
Conversation
…etter error messaging
|
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: @nholzmann. 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. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #143 +/- ##
=============================================
- Coverage 46.89% 46.27% -0.62%
- Complexity 208 214 +6
=============================================
Files 19 19
Lines 1271 1288 +17
=============================================
Hits 596 596
- Misses 675 692 +17
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? |
What?
Closes #11
This is a follow-up to #96, which added in the Excerpt Generation Experiment and Ability. This adds in the actual admin UI to trigger the generation.
Why?
Coming out of #96 you can manually trigger excerpt generation by hitting the proper API endpoint but there isn't an actual UI to run that. This PR adds in that UI, making it easy for editors to generate excerpts on-demand.
How?
__experimentalPluginPostExcerptslotfill to add a generate button below the excerpt form (note this slotfill is marked as deprecated but as far as I can tell, there isn't another solution right now)Testing Instructions
npm i && npm run buildSettings > AI CredentialsSettings > AI ExperimentsScreenshots 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.