Skip to content

Allow bulk enabling/disabling experiments in groups#422

Merged
dkotter merged 6 commits intoWordPress:developfrom
theskinnyghost:feature/settings-toggle-all
Apr 13, 2026
Merged

Allow bulk enabling/disabling experiments in groups#422
dkotter merged 6 commits intoWordPress:developfrom
theskinnyghost:feature/settings-toggle-all

Conversation

@theskinnyghost
Copy link
Copy Markdown
Contributor

@theskinnyghost theskinnyghost commented Apr 13, 2026

What?

Closes #334

Add controls to bulk enable / disable all features in an experiment group.

(Follow up from #379 which got (auto)closed when #376 got merged)

Testing Instructions

  • Visit the AI settings page and verify the "Enable all" and "Disable all" buttons are shown at the end of each experiment group
  • Clicking the "Enable all" button should enable all experiments within the group. If all experiments are already enabled, the button should be disabled.
  • Clicking the "Disable all" button should disable all experiments within the group. If all experiments are already disabled, the button should be disabled.
  • Settings should be auto-saved with a contextual snackbar message showing
  • If the global AI toggle is disable, the bulk manage toggle should become disabled
  • Run E2E tests: npm run test:e2e -- --grep "Plugin settings"
Open WordPress Playground Preview

@github-actions
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.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @raftaar1191.

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.

Unlinked contributors: raftaar1191.

Co-authored-by: theskinnyghost <theskinnyghost@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.75%. Comparing base (cf338eb) to head (aeff5b0).
⚠️ Report is 17 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #422   +/-   ##
==========================================
  Coverage      65.75%   65.75%           
  Complexity       763      763           
==========================================
  Files             53       53           
  Lines           3863     3863           
==========================================
  Hits            2540     2540           
  Misses          1323     1323           
Flag Coverage Δ
unit 65.75% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

@jeffpaul jeffpaul requested a review from dkotter April 13, 2026 13:32
@jeffpaul jeffpaul added this to the 0.8.0 milestone Apr 13, 2026
@jeffpaul
Copy link
Copy Markdown
Member

Works well in my testing, thanks!

@dkotter dkotter merged commit bee0e30 into WordPress:develop Apr 13, 2026
18 checks passed
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.

Improve Experiments UI for scalability with categorization and bulk management

3 participants