-
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
[Search Sessions] Improve session restoration back button #87635
Merged
Dosant
merged 35 commits into
elastic:master
from
Dosant:dev/search/restore-search-session-back-button
Jan 28, 2021
Merged
Changes from 30 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e3aa170
wip: search session restoration and back button
Dosant 41cbf7d
clean up
Dosant 1603eaa
unit tests
Dosant 1dbb919
fix
Dosant 235451a
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant ec36856
Merge branch 'master' into dev/search/restore-search-session-back-button
kibanamachine a41ee33
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 44998d5
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 16cadae
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 9a638da
Merge branch 'master' into dev/search/restore-search-session-back-button
kibanamachine c1f3d79
Merge branch 'dev/search/restore-search-session-back-button' of githu…
Dosant 573640c
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 01b2f0f
improve
Dosant c4ff5a1
add tests
Dosant e75f381
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 3967bdc
fix session id and back button in discover
Dosant 586ed47
remove usused functions
Dosant 419f443
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 931615e
improve
Dosant db9119d
remove index pattern workaround from session test
Dosant 822a3cc
fix loadOnInitialLoad prop
Dosant 9ff8dab
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 0d2425e
fix initial query param emit
Dosant d2b0664
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 1f55a8e
fix typo in test names
Dosant 978eb3b
fix edge case with initial emit
Dosant 8076a9b
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant 9f35e91
license header
Dosant 15fa884
shouldSearchOnPageLoad -> true in case there is a searchSessionid in …
Dosant 0ce788c
better comments
Dosant 8c6d8e7
Merge branch 'master' of github.com:elastic/kibana into dev/search/re…
Dosant c726a86
fix bad tests merge
Dosant 35a6b8e
Merge branch 'master' into dev/search/restore-search-session-back-button
kibanamachine 6944ac1
Merge branch 'master' into dev/search/restore-search-session-back-button
kibanamachine 2e4854a
Merge branch 'master' into dev/search/restore-search-session-back-button
kibanamachine 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
13 changes: 0 additions & 13 deletions
13
...ana-plugin-plugins-kibana_utils-public-state_sync.ikbnurlstatestorage.cancel.md
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...bana-plugin-plugins-kibana_utils-public-state_sync.ikbnurlstatestorage.flush.md
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...in-plugins-kibana_utils-public-state_sync.ikbnurlstatestorage.kbnurlcontrols.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-kibana\_utils-public-state\_sync](./kibana-plugin-plugins-kibana_utils-public-state_sync.md) > [IKbnUrlStateStorage](./kibana-plugin-plugins-kibana_utils-public-state_sync.ikbnurlstatestorage.md) > [kbnUrlControls](./kibana-plugin-plugins-kibana_utils-public-state_sync.ikbnurlstatestorage.kbnurlcontrols.md) | ||
|
||
## IKbnUrlStateStorage.kbnUrlControls property | ||
|
||
Lower level wrapper around history library that handles batching multiple URL updates into one history change | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
kbnUrlControls: IKbnUrlControls; | ||
``` |
This file contains 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 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 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
60 changes: 48 additions & 12 deletions
60
...lugins/dashboard/public/application/listing/__snapshots__/dashboard_listing.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
This is a nice improvement. Much better than using a
lastReloadTime
to trigger forced resets.