Skip to content

Generate summary: Update button to match the styling of other buttons.#253

Merged
jeffpaul merged 4 commits intoWordPress:developfrom
juanfra:tweak/adjust-button-width-content-align
Mar 2, 2026
Merged

Generate summary: Update button to match the styling of other buttons.#253
jeffpaul merged 4 commits intoWordPress:developfrom
juanfra:tweak/adjust-button-width-content-align

Conversation

@juanfra
Copy link
Member

@juanfra juanfra commented Feb 23, 2026

What?

Updating the "Generate AI Summary" button to match the styling of other buttons in the interface, making it feel more connected.

Why?

The button had inconsistent styling compared to other buttons in the same area.

How?

Setting button width to 100%, centering the content alignment.

Testing Instructions

  1. Create a page.
  2. Check the "Generate AI summary" in the page controls.
  3. Confirm the width and the content alignment matches the other buttons in the same area.

Screenshots or screencast

Before After
Screenshot 2026-02-23 at 22-50-14 Edit Page “WordPress in the AI era ” ‹ Stories® — WordPress Screenshot 2026-02-23 at 22-49-40 Edit Page “WordPress in the AI era ” ‹ Stories® — WordPress
Open WordPress Playground Preview

@github-actions
Copy link

github-actions bot commented Feb 23, 2026

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: juanfra <juanfra@git.wordpress.org>
Co-authored-by: dkotter <dkotter@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.

@jeffpaul
Copy link
Member

I'm fine with this, though I ignored this update earlier as there are other buttons that don't span the same width. As an example see the Add Category button further down the sidebar:

Screenshot 2026-02-23 at 4 08 02 PM

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.87%. Comparing base (36adad9) to head (eab59a0).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #253   +/-   ##
==========================================
  Coverage      55.87%   55.87%           
  Complexity       509      509           
==========================================
  Files             32       32           
  Lines           2613     2613           
==========================================
  Hits            1460     1460           
  Misses          1153     1153           
Flag Coverage Δ
unit 55.87% <ø> (ø)

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 merged commit 2bbc45a into WordPress:develop Mar 2, 2026
16 of 22 checks passed
@github-project-automation github-project-automation bot moved this from Needs review to Done in WordPress AI Planning & Roadmap Mar 2, 2026
@juanfra juanfra deleted the tweak/adjust-button-width-content-align branch March 2, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants