Skip to content

Improve command search experience#75501

Open
Utsav-Ladani wants to merge 2 commits intoWordPress:trunkfrom
Utsav-Ladani:enhance/command-loading
Open

Improve command search experience#75501
Utsav-Ladani wants to merge 2 commits intoWordPress:trunkfrom
Utsav-Ladani:enhance/command-loading

Conversation

@Utsav-Ladani
Copy link
Copy Markdown
Contributor

What?

Closes #69184

Improving command search experience by debouncing the user input and showing loading state.

Why?

It improves command search user experience by fixing following bugs:

  • Slow rendering of No Results in modal.
  • Showing nothing for the same search query on the second time.

How?

  • Debounced user input to fix slow use response and loading state as well.
  • Fixed loading state of a specific command.

Testing Instructions

  1. Open the command palette.
  2. Search something quickly, no slowness should be noticed in the UI rendering.
  3. Loading state should be visible.
  4. Erase and type same query again, same results must be visible.

Testing Instructions for Keyboard

Same as above

Screenshots or screencast

Screen.Recording.2026-02-13.at.3.51.20.PM.mov

@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: Utsav-Ladani <utsavladani@git.wordpress.org>
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: Rishit30G <rishit30g@git.wordpress.org>

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slow rendering of 'No Results' in modal

1 participant