-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Dashboard] [Controls] Load more options list suggestions on scroll #148331
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
Merged
Heenawter
merged 50 commits into
elastic:main
from
Heenawter:add-pagination-to-options-list_2022-12-30
Feb 6, 2023
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
861b994
Add non-functional UI components
Heenawter 0c74596
Add cardinality
Heenawter 22580cd
Add rough pagination
Heenawter 1609cdb
Add page to component state
Heenawter 5511e87
Grab 100 results on page 2 and paginate client-side
Heenawter 4d8bdd6
Update pagination strategy
Heenawter b78427b
Fix broken suggestions after adding document count
Heenawter 33587c5
Remove double linking of keyword/keyword+text fields
Heenawter 83db01d
Fix cardinality
Heenawter f1911b5
Reset page on sort change
Heenawter d140942
Load more on scroll rather than through pagination
Heenawter 6d26bf7
First attempt at loading mask
Heenawter f68a3dd
Make loading state nicer
Heenawter 9b04b01
Add "Reached the end" text
Heenawter c11f53e
Add tooltip to cardinality badge + replace placeholder text
Heenawter bec4895
Remove size from component state, simplify logic, and clean up code
Heenawter cbe46f4
Test nested queries
Heenawter 23f9b1a
Fix double request by not using debounced load
Heenawter ec90a21
Fix nested queries
Heenawter 0a23660
Create cheap vs expensive suggestion aggregation builders
Heenawter 0122f83
Create memoized service for allowExpensive check
Heenawter 28a7dbc
Add warning when allowExpensive is off
Heenawter a8a9814
Fix memory leak + better error handling
Heenawter 4850500
Close popover on unmount + fatal error
Heenawter d67ed5f
Fix style of error state
Heenawter 2905f17
Clean up type guard + styling
Heenawter 3680011
Treat undefined the same as `true`
kibanamachine 3a0ad82
Add unit tests + functional tests
Heenawter e87194a
Fix expensive queries + add unit tests
Heenawter 8bf1d0f
Add max options list constant
Heenawter cb4c905
Fix logic of expensive queries check + cheap queries
Heenawter 9345d00
Make `allowExpensiveQueries` a part of component state instead
Heenawter fe0a21d
Clean up and fix flakiness of new tests
Heenawter cec4c06
Fix accessibility of badges
Heenawter 31b2927
Update `allow_expensive_queries` warning tooltip
Heenawter 0a12e43
Undo changes to `jest_setup` and mocks
Heenawter 6222e32
Merge branch 'main' into add-pagination-to-options-list_2022-12-30
kibanamachine 6b7ab49
Move cardinality + actions to below search bar
Heenawter 9d258da
Merge branch 'add-pagination-to-options-list_2022-12-30' of github.co…
Heenawter eaa32bc
Clean up linting errors
Heenawter b87c5bd
Change location of sorting
Heenawter 3485cb9
Disable sort button and add tooltip when show only selected
Heenawter 01b35d5
Hide cardinality when allow expensive queries false
Heenawter 6e7d205
Address all feedback except cluster settings
Heenawter 88194a1
Merge branch 'main' into add-pagination-to-options-list_2022-12-30
Heenawter c366387
Fix typo
Heenawter 380de4d
Fix logic of cluster settings route
Heenawter 5801d9d
Fix grabbing of cardinality text
Heenawter 7f3f5f7
Remove `.only`
Heenawter a78459d
Change message for control frame fatal error
Heenawter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.