Skip to content

Search dashboard: full-width toggle description text - #48944

Merged
kangzj merged 1 commit into
trunkfrom
echo/search-toggle-description-width
May 19, 2026
Merged

kangzj merged 1 commit into
trunkfrom
echo/search-toggle-description-width

Conversation

@kangzj

@kangzj kangzj commented May 19, 2026

Copy link
Copy Markdown
Contributor

Fixes # N/A

Why

On the Search dashboard, each settings toggle's description sat in a 7-of-12-column band, so the explanation text wrapped into an unnecessarily narrow column with empty space to its right. This widens it to the full settings-card width, matching the toggle row.

Proposed changes

  • Change the toggle description container from lg-col-span-7 md-col-span-5 to lg-col-span-12 md-col-span-8 (full width, matching the toggle) in the Module, AI Agent Access, Reader Chat, and Search Suggestions controls. Markup-only; no behavior change.

Does this pull request change what data or activity we track or use?

No.

Testing instructions

  • Open Jetpack → Search → Settings.
  • For each toggle (Module / AI Agent Access / Reader Chat / Search Suggestions), confirm the description text spans the full card width instead of wrapping early in a narrow column.
  • No functional change — toggles behave exactly as before.

The settings-toggle description was constrained to a 7-of-12-column band
(lg-col-span-7 md-col-span-5), wrapping the explanation text narrowly.
Widen the description container to match the toggle row
(lg-col-span-12 md-col-span-8) across the Module, AI Agent Access,
Reader Chat, and Search Suggestions controls.
@github-actions

github-actions Bot commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack), and enable the echo/search-toggle-description-width branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack echo/search-toggle-description-width

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions github-actions Bot added the [Package] Search Contains core Search functionality for Jetpack and Search plugins label May 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!

@kangzj

This comment has been minimized.

@claude

This comment has been minimized.

@kangzj

This comment has been minimized.

@jp-launch-control

Copy link
Copy Markdown

Code Coverage Summary

This PR did not change code coverage!

That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷

Full summary · PHP report · JS report

@kangzj
kangzj merged commit ac1c779 into trunk May 19, 2026
76 of 77 checks passed
@kangzj
kangzj deleted the echo/search-toggle-description-width branch May 19, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Search Contains core Search functionality for Jetpack and Search plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant