Opened 6 months ago
Closed 5 months ago
#64946 closed defect (bug) (reported-upstream)
Command Palette returns inaccurate results when searching for tags
| Reported by: | khushi1501 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 6.9 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
When using the Command Palette in the WordPress admin, searching for posts, pages, and categories returns accurate and relevant results. However, when searching for tags, the results are inconsistent or not accurate compared to expected behavior.
Tags do not appear to be matched or prioritized in the same way as other entities like categories, leading to an inconsistent search experience within the Command Palette.
Please refer below video for the reference:-
https://www.awesomescreenshot.com/video/50788237?key=4424b0a81394ab2a864ab38292ba5314
Change History (6)
#2
@
6 months ago
@wildworks Thanks for the clarification.
What I’m observing is that when searching in the Command Palette, tags are not matched as expected.
For example:
- If I search for categories, the result is matched accurately.
- But if I search for tags, the result is either not shown or does not match correctly.
So even though categories and tags are structured similarly, the search behavior for tags appears inconsistent.
I’ve also added a video for reference:
https://www.awesomescreenshot.com/video/50788237?key=4424b0a81394ab2a864ab38292ba5314
Please let me know if you need more details.
#3
follow-up:
↓ 4
@
6 months ago
- Version trunk → 6.9
@khushi1501 Thank you, I think I understand what you mean.
For some reason, when the searched word matches many commands, even though the top command is selected, the command list is scrolled down, making it appear as if nothing is selected visually. Is this correct?
I confirmed that this issue was already present in 6.9.
#4
in reply to: ↑ 3
@
6 months ago
Replying to wildworks:
@khushi1501 Thank you, I think I understand what you mean.
For some reason, when the searched word matches many commands, even though the top command is selected, the command list is scrolled down, making it appear as if nothing is selected visually. Is this correct?
I confirmed that this issue was already present in 6.9.
Yes, that is correct.
Even though the correct command appears to be selected, the list is scrolled in such a way that it looks like nothing is selected.
This makes it confusing, especially when searching for tags.
Thanks for confirming that this behavior was already present in 6.9.
#5
@
5 months ago
This issue is originating within the Command Palette component in the Gutenberg plugin. I have opened a tracking issue in the Gutenberg repository.
You can follow the progress here: https://github.com/WordPress/gutenberg/issues/77021
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the report, but could you clarify what the problem is a bit more?
Internally, we do not apply different behaviors to categories and tags. Commands
Go to: Posts > CategoriesandGo to: Posts > Tagsare simply added according to the structure of the left sidebar menu.