Promote Image Generation from an Experiment to a Feature#418
Promote Image Generation from an Experiment to a Feature#418dkotter wants to merge 9 commits intoWordPress:developfrom
Conversation
…directory. Remove the Experiments category and set stability to stable
…generation code there. Update webpack config to account for this
…riment to feature
… that reference experiments
|
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. |
| @@ -42,7 +41,7 @@ protected function load_metadata(): array { | |||
| return array( | |||
| 'label' => __( 'Image Generation and Editing', 'ai' ), | |||
| 'description' => __( 'Generate and edit images using AI', 'ai' ), | |||
| 'category' => Experiment_Category::EDITOR, | |||
There was a problem hiding this comment.
Note I removed this category as we currently have that marked as an Experiment Category, and the only place we use this is determining what section a Feature shows within our settings page (this defaults to "Other" if not set).
In #417 we'll start showing stable Features in a new section up top so I don't think categories are needed anymore for stable Features. That said, we can introduce Feature Categories (maybe matching what we have for Experiment Categories, Editor and Admin) if we think that would still be useful to have
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #418 +/- ##
==========================================
Coverage 65.75% 65.75%
Complexity 763 763
==========================================
Files 53 53
Lines 3863 3863
==========================================
Hits 2540 2540
Misses 1323 1323
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:
|
What?
Partially closes #234, #416
At a code-level, change the Image Generation Feature to be a stable Feature instead of an Experimental Feature.
Why?
The groundwork was laid in #316 to distinguish between an experimental Feature and a stable Feature. We left all Features as experimental but now want to promote certain ones that we feel have been thoroughly tested and bring significant value. We are starting with the Image Generation (which also includes Image Editing) Feature.
Note this only modifies things at the code-level, not the UI. Those changes are coming in #417. Worth noting that until that PR is merged, the Image Generation Feature will start to show in an existing "Other Features" section (from the current Editor Experiments section):
How?
Image_Generationclass from theExperimentsdirectory to theFeaturesdirectoryfeaturesdirectory within oursrcdirectory and move all Image Generation JS code hereFeaturesdirectory and out of theExperimentsdirectory for consistencyUse of AI Tools
None
Testing Instructions
npm i && npm run build