Add Advanced Settings toggle to Developer Tools menu#842
Conversation
…eriment visibility settings
…d update UI labels
…into content classification tests
… and update related context and components
…ngs in context and UI
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #842 +/- ##
==========================================
Coverage 77.04% 77.04%
Complexity 2231 2231
==========================================
Files 103 103
Lines 9214 9214
==========================================
Hits 7099 7099
Misses 2115 2115
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:
|
|
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. |
…ed settings and developer mode. Minor performance adjustments so we don't re-render when it isn't needed. Update text
Added - New "Advanced settings" option in Developer Tools to show/hide additional configuration options for features and experiments. Changed - Move all existing configuration options into a new "Advanced settings" section which is hidden by default. Co-authored-by: Infinite-Null <ankitkumarshah@git.wordpress.org> Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org> Co-authored-by: dkotter <dkotter@git.wordpress.org>
What?
Part of #793
Adds a new "Advanced settings" option to the Developer Tools ellipses menu on the AI Settings page. When disabled, features only show their simple on/off toggle. When enabled, additional configuration options for a feature (e.g. Content Classification's taxonomy strategy and maximum suggestions) become visible.
Why?
The primary audience for the AI plugin is non-technical site owners. Previously, enabling a feature/experiment immediately exposed all of its advanced configuration options.
Note: Per discussion on #793, the Type Ahead additional settings (#151) are intentionally not being restored as part of this change.
Use of AI Tools
AI assistance: Yes
Tool(s): Claude
Model(s): Claude Sonnet 4.5
Used for: Code review and refinement feedback during development.
Testing Instructions
/wp-admin/options-general.php?page=ai-wp-admin).tests/e2e/specs/admin/settings.spec.jsandtests/e2e/specs/experiments/content-classification.spec.js.Screenshots or screencast
Screen.Recording.2026-07-07.at.4.59.07.PM.mov
Changelog Entry