Skip to content

Add Advanced Settings toggle to Developer Tools menu#842

Merged
dkotter merged 13 commits into
WordPress:developfrom
Infinite-Null:feature/advanced-experiment-settings
Jul 10, 2026
Merged

Add Advanced Settings toggle to Developer Tools menu#842
dkotter merged 13 commits into
WordPress:developfrom
Infinite-Null:feature/advanced-experiment-settings

Conversation

@Infinite-Null

@Infinite-Null Infinite-Null commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

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

  1. Open the AI Settings page (/wp-admin/options-general.php?page=ai-wp-admin).
  2. Click the vertical ellipses (Developer Tools) menu in the top right, confirm a new "Advanced settings" option appears below "Model selection," unchecked by default.
  3. Enable a feature/experiment that has advanced settings (e.g. Content Classification), confirm no extra settings fields appear yet.
  4. Open Developer Tools and click "Advanced settings" to enable it, confirm the feature's extra settings (e.g. Taxonomy strategy, Maximum suggestions) now appear inline.
  5. Disable "Advanced settings" again, confirm those fields disappear
  6. Reload the page, confirm the Advanced Settings preference persists.
  7. Run the e2e suite: tests/e2e/specs/admin/settings.spec.js and tests/e2e/specs/experiments/content-classification.spec.js.

Screenshots or screencast

Screen.Recording.2026-07-07.at.4.59.07.PM.mov

Changelog Entry

Added - New "Advanced settings" option in Developer Tools to show/hide additional configuration options for features and experiments.

Open WordPress Playground Preview

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.04%. Comparing base (a993bbe) to head (c36edd5).

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           
Flag Coverage Δ
unit 77.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Infinite-Null Infinite-Null marked this pull request as ready for review July 7, 2026 12:45
@Infinite-Null Infinite-Null requested a review from a team July 7, 2026 12:45
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

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>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@jeffpaul jeffpaul linked an issue Jul 7, 2026 that may be closed by this pull request
3 tasks
@jeffpaul jeffpaul added this to the 1.2.0 milestone Jul 7, 2026
dkotter added 2 commits July 10, 2026 11:13
…ed settings and developer mode. Minor performance adjustments so we don't re-render when it isn't needed. Update text
@dkotter dkotter merged commit 67a8d2e into WordPress:develop Jul 10, 2026
24 checks passed
Infinite-Null added a commit to Infinite-Null/ai that referenced this pull request Jul 14, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Developer Tool: Customize experiments

3 participants