Skip to content

Compress AI settings page above the fold by reducing general settings…#474

Open
dilipom13 wants to merge 1 commit intoWordPress:developfrom
dilipom13:fix/451-compress-settings-above-fold
Open

Compress AI settings page above the fold by reducing general settings…#474
dilipom13 wants to merge 1 commit intoWordPress:developfrom
dilipom13:fix/451-compress-settings-above-fold

Conversation

@dilipom13
Copy link
Copy Markdown

@dilipom13 dilipom13 commented Apr 25, 2026

Fixes #451

What changed

  • Reduced the top-of-page footprint by removing the large General Settings card layout.
  • Surfaced the global “Enable AI” control in a compact top area.
  • Kept the explanatory text accessible in a compact help/info treatment.

Why

The previous General Settings section pushed Features and Experiments too far below the fold. This update prioritises feature visibility while preserving global AI control.

Test plan

  • Visit Settings > AI and confirm Features/Experiments are visible higher on initial load
  • Toggle global AI off/on and confirm snackbar messages appear
  • Confirm feature toggles are disabled when global AI is off
  • Confirm no regression in connector notice behaviour.
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.

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: dilipom13 <dilip2615@git.wordpress.org>
Co-authored-by: Adi-ty <iamadisingh@git.wordpress.org>
Co-authored-by: dkotter <dkotter@git.wordpress.org>
Co-authored-by: mirka <0mirka00@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 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.07%. Comparing base (1a55305) to head (22cb7c6).

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #474   +/-   ##
==========================================
  Coverage      69.07%   69.07%           
  Complexity       957      957           
==========================================
  Files             60       60           
  Lines           4511     4511           
==========================================
  Hits            3116     3116           
  Misses          1395     1395           
Flag Coverage Δ
unit 69.07% <ø> (ø)

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.

@dilipom13
Copy link
Copy Markdown
Author

Looks like the E2E job was cancelled (The operation was canceled).
I don’t have permission to re-run workflows from my account. Could a maintainer please re-run the failed/cancelled job?

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.

Compress settings page above-the-fold

1 participant