Skip to content

[InfraUI] [LogsUI] Autocomplete Field: Increase suggestions limit and allow scrolling - #34706

Merged
Kerry350 merged 2 commits into
elastic:masterfrom
Kerry350:34068-allow-search-results-scrolling
Apr 11, 2019
Merged

Kerry350 merged 2 commits into
elastic:masterfrom
Kerry350:34068-allow-search-results-scrolling

Conversation

@Kerry350

@Kerry350 Kerry350 commented Apr 8, 2019 •

Copy link
Copy Markdown
Contributor

Summary

Addresses #34068 and #34069. As discussed this removes the results limit of 10 and allows scrolling. As this is a first solution, not implementing more complex solutions like virtualisation or server side pagination, I've still maintained a limit, but of 200 rather than 10, to ensure performance isn't massively degraded.

Testing

Try searching for something with a lot of results in the autocomplete bar and ensure scrolling works.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

@Kerry350 Kerry350 added review Feature:Metrics UI Metrics UI feature v8.0.0 Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.2.0 labels Apr 8, 2019
@Kerry350 Kerry350 self-assigned this Apr 8, 2019
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/infrastructure-ui

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@weltenwort weltenwort left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple and effective 👍 just one small suggestion below

Comment thread x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx Outdated
…complete_field.tsx

Co-Authored-By: Kerry350 <k.gallagher.05@gmail.com>
@Kerry350

Copy link
Copy Markdown
Contributor Author

@weltenwort Thanks for the review, I've committed your change suggestion 👍

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@weltenwort weltenwort left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@Kerry350
Kerry350 merged commit 382c95e into elastic:master Apr 11, 2019
Kerry350 added a commit to Kerry350/kibana that referenced this pull request Apr 11, 2019
… allow scrolling (elastic#34706)

* Autocomplete_field: Increase suggestions limit and allow scrolling

* Update x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx

Co-Authored-By: Kerry350 <k.gallagher.05@gmail.com>
Kerry350 added a commit that referenced this pull request Apr 12, 2019
… allow scrolling (#34706) (#34919)

* Autocomplete_field: Increase suggestions limit and allow scrolling

* Update x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx

Co-Authored-By: Kerry350 <k.gallagher.05@gmail.com>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
… allow scrolling (elastic#34706)

* Autocomplete_field: Increase suggestions limit and allow scrolling

* Update x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx

Co-Authored-By: Kerry350 <k.gallagher.05@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Logs UI Logs UI feature Feature:Metrics UI Metrics UI feature review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.2.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants