feat: reorder experiment classes in experiments configuration array - #871
Conversation
|
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #871 +/- ##
==========================================
Coverage 78.44% 78.44%
Complexity 2454 2454
==========================================
Files 104 104
Lines 9925 9925
==========================================
Hits 7786 7786
Misses 2139 2139
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:
|
| \WordPress\AI\Experiments\Abilities_Explorer\Abilities_Explorer::class, | ||
| \WordPress\AI\Experiments\Connector_Approval\Connector_Approval::class, | ||
| \WordPress\AI\Experiments\Key_Encryption\Key_Encryption::class, | ||
| \WordPress\AI\Experiments\AI_Request_Logging\AI_Request_Logging::class, |
There was a problem hiding this comment.
May be AI_Request_Logging should move before Connector_Approval. To make it alphabetical sorting? Since that is not linked with any experiments.
There was a problem hiding this comment.
Yes, that makes sense. Updated it
What?
Closes #870
This PR reorders the registered experiments in the Settings page:
Why?
How?
Reordered the constant
EXPERIMENT_CLASSESarray in Experiments.php. Because the Settings page pulls from the default feature registration order, this automatically updates the UI ordering for both sections.Use of AI Tools
AI assistance: Yes
Tool(s): Antigravity
Model(s): Gemini 3.5 Flash
Used for: Reordering the experiments in desired order
Testing Instructions
options-general.php?page=ai-wp-admin).Screenshots or screencast
Before
After
Changelog Entry