Skip to content

Admin bar: Make frontend search UX similar to prominent command palette#11803

Open
fushar wants to merge 1 commit into
WordPress:trunkfrom
fushar:admin-bar-search-frontend-center
Open

Admin bar: Make frontend search UX similar to prominent command palette#11803
fushar wants to merge 1 commit into
WordPress:trunkfrom
fushar:admin-bar-search-frontend-center

Conversation

@fushar
Copy link
Copy Markdown

@fushar fushar commented May 12, 2026

Trac ticket: https://core.trac.wordpress.org/ticket/65221

Summary

This PR updates the frontend search admin bar node to make it similar with the command palette changes from #11796. Now, both the "search" functionalities have more consistent UI.

Desktop

Before
before

After
after

Screen.Capture.on.2026-05-12.at.20-29-30.mp4

Mobile

Before After
before-mobile after-mobile
Screen.Capture.on.2026-05-12.at.20-35-39.mp4

Alternative considered

I considered making the search input collapsed first as per the current behavior, but move it to the left of the avatar node for more consistency, as follows:

Screen.Capture.on.2026-05-12.at.20-52-10.mp4

But I believe the proposed solution is better.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 4.7
Used for: CSS implementation under my supervision.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions
Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@fushar fushar force-pushed the admin-bar-search-frontend-center branch 3 times, most recently from dc055d4 to b7723d0 Compare May 12, 2026 13:39
@fushar fushar force-pushed the admin-bar-search-frontend-center branch from b7723d0 to b16df5d Compare May 12, 2026 13:43
@fushar fushar marked this pull request as ready for review May 12, 2026 14:01
@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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props fushar.

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

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.

1 participant