elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.6k stars 8.21k forks source link

[Saved object management] Add ability to search content containing pipe character #172693

Open drewdaemon opened 11 months ago

drewdaemon commented 11 months ago

Describe the feature: Right now we don't allow the pipe character when searching for content in the table list view or the saved objects management page.

Screenshot 2023-12-06 at 7 59 42 AM

Describe a specific use case for the feature: We received internal feedback that this could be a useful thing to search for (for example, ES|QL could be in the title of a dashboard).

elasticmachine commented 11 months ago

Pinging @elastic/kibana-core (Team:Core)

elasticmachine commented 11 months ago

Pinging @elastic/appex-sharedux (Team:SharedUX)

drewdaemon commented 11 months ago

Not sure who should actually own this. Feel free to reassign.

drewdaemon commented 11 months ago

Now I see https://github.com/elastic/kibana/issues/151120 so I will change this issue to just cover saved object management.

pgayvallet commented 11 months ago

The SO management search bar is using EUI's Query syntax language under the hood (like the navigational search, and many other search fields in Kibana do for example). Therefore, special characters (as | is) must be escaped using double quotes around the terms.

Screenshot 2023-12-08 at 09 07 14

Functionally, this is working as expected.

Now, we may want to more explicitly inform somewhere on the page that the search bar is using EUI's Query syntax and may want to link to its documentation.