Skip to content
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

[Integrations UI] Search integrations for all substrings + don't search on description #104099

Merged

Conversation

kpollich
Copy link
Member

@kpollich kpollich commented Jul 1, 2021

Summary

Fixes #96462

Update package search on browse/manage pages in Integrations UI to search only on name + title (not description), and updates search strategy to JS Search's "All Substrings" strategy: https://www.npmjs.com/package/js-search#configuring-the-index-strategy.

This makes the package search function nearly identically to the now-deprecated "add package step" component that was removed in #101714. If we want this to be completely identical to that previous implementation, we can remove the "name" field from the local search index as well and only search on the "title".

Screen Recording

Kapture 2021-07-01 at 09 15 52

@kpollich kpollich added v8.0.0 Team:Fleet Team label for Observability Data Collection Fleet team v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Jul 1, 2021
@kpollich kpollich self-assigned this Jul 1, 2021
@kpollich kpollich requested a review from a team as a code owner July 1, 2021 13:25
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kpollich kpollich added the release_note:skip Skip the PR/issue when compiling release notes label Jul 1, 2021
@kpollich kpollich enabled auto-merge (squash) July 1, 2021 14:37
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 441.0KB 441.0KB +52.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @kpollich

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.14
7.x

The backport PRs will be merged automatically after passing CI.

@kpollich kpollich deleted the 96462-update-integrations-search-filtering branch July 1, 2021 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.14.0 v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet] Search bar is unable to filter out proper results on 'All integrations' sub-tab.
4 participants