-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GS] adding tags UI to search results #85084
Conversation
Pinging @elastic/kibana-core (Team:Core) |
Pinging @elastic/kibana-core-ui (Team:Core UI) |
@ryankeairns Any ideas on a good way to fix this? (With the soft reminder that we're getting oftly close to feature freeze so the trickier the fix, the less chance it'll merge in time.) |
x-pack/plugins/global_search_bar/public/components/search_bar.tsx
Outdated
Show resolved
Hide resolved
I'm not certain what effect (if any) wrapping these in an I'll take a look later today, but those are my initial thoughts. |
x-pack/plugins/global_search_providers/server/providers/saved_objects/provider.test.ts
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I will do some cleanup in the search bar component file once this PR and #85144 are merged. This file is becoming a mess π
x-pack/plugins/global_search_providers/server/providers/saved_objects/provider.test.ts
Outdated
Show resolved
Hide resolved
.../plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts
Outdated
Show resolved
Hide resolved
@myasonik I just fired this up and it does not seem to be restricting to 3 tags. The mobile hiding of tags works as expected, thank you. |
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
db85219
to
7307a7f
Compare
This is looking really nice! The only little hiccup I'm seeing now is that the tags seem to be case sensitive. I thought Pierre addressed this in his PR, so perhaps this is just out of date? For example, I have a Red tag, but typing |
@pgayvallet I've got no idea what I broke or how... Can you lend a hand? |
π Build SucceededMetrics [docs]Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
Actually it doesn't, even on master. What I did is that if you have a However, the logic retrieving tags by their name always was case sensitive. So |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to merge based upon Pierre's reply regarding case sensitivity.
We can track that fix separately.
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Summary
Closes #81846
π Tags will render on the right hand side of search results.
π’ It can kind of break if you go really crazy with tags though...
π€·ββοΈ But I'm not sure how worried we should be of such an extreme case because even still "a lot" of tags looks fine....
Checklist
Delete any items that are not applicable to this PR.
For maintainers