-
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
[Discover] Allow to store the configured ES|QL visualization v3 #175227
Merged
Merged
Changes from 49 commits
Commits
Show all changes
165 commits
Select commit
Hold shift + click to select a range
38d4298
[Discover] Initial implementation for allowing to store ES|QL customi…
jughosta d3aaeeb
[Discover] Some refactoring
jughosta 6f6f78b
[Discover] More refactoring
jughosta cc0ca64
Merge branch 'main' into 167887-esql-saved-search
jughosta 631b174
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine 599653c
[Discover] Fix comparison for customVisualizationJSON
jughosta d982b33
[Discover] Support customization for histogram too. Reset when vis in…
jughosta 97656ac
[Discover] Fix reverting saved search changes
jughosta ddb6b15
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 6347d35
[Discover] Some fixes to make customVisualization work
jughosta aa9946d
[Discover] Refactor what is being saved. Persist all Lens attributes …
jughosta d0b3d85
[Discover] Update suggestion selector
jughosta 96dc0b8
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 1caa803
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 538e422
Merge remote-tracking branch 'origin/167887-esql-saved-search-v2' int…
jughosta 6796374
[Discover] Fix suggestion change
jughosta f323642
[Discover] Fix suggestion type selector
jughosta 266f99c
[Discover] Improve the resetting of suggestion
jughosta 772a701
[Discover] Reduce the state size
jughosta 482121d
Merge branch 'main' into 167887-esql-saved-search-v2
jughosta cb8e18e
[Discover] Update tests
jughosta e49a423
[Discover] Clean up
jughosta 08f30be
[Discover] Update tests
jughosta a1643b4
[Discover] Update tests
jughosta 2033a6d
[Discover] Fix typescript errors
jughosta c9dbaba
[Discover] Remove some logging
jughosta c6ee408
[Discover] Some fixes
jughosta 55e3641
[Discover] Don't reset the vis on save
jughosta 98b3c9d
[Discover] Fix histogram case
jughosta 70455f0
[Discover] Fix other case
jughosta cf130cf
[Discover] Refactor to a service
jughosta 34d01f4
[Discover] Add fixes
jughosta 494fde5
[Discover] Refactor to props
jughosta c4eb455
[Discover] Clean up
jughosta b882203
[Discover] Fix tests
jughosta 14c224d
[Discover] Fix tests
jughosta f835ad3
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine a5b59aa
[Discover] Clean up
jughosta 56ca482
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta 9996c5d
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 1dc7474
[Discover] Simplify state management
jughosta 5de6c05
[Discover] Update tests
jughosta 73d5819
[Discover] Don't sync with URL
jughosta 1871a4e
[Discover] Improve resetting of lens attributes
jughosta f28d4bd
[Discover] Add logging
jughosta ac9d3fe
[Discover] Remove suggestion from histogram main state
jughosta 9ece3ce
[Discover] Return suggestion to histogram main state as it triggers r…
jughosta fc2ec95
[Discover] Disable logging
jughosta 38c69af
[Discover] Fix breakdown field
jughosta 4181550
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 0328095
[Discover] Delay calculation of table until search is complete
jughosta 6d23632
Migrate Lens Vis State to InternalStateContainer
kertal 1b2fb11
[Discover] Skip syncing to internalStateContainer
jughosta db9a48d
[Discover] Change props format
jughosta c0eda01
[Discover] Back to the problem
jughosta ee25770
[Discover] Improve reverting logic
jughosta 525e7c3
[Discover] Comment logs out
jughosta bad165d
[Discover] Comment logs out
jughosta 7e53323
[Discover] Fix checks
jughosta c6b124c
[Discover] Fix sample size schema
jughosta ae17bcf
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 3a211b2
[Discover] Check tests
jughosta 5b382b9
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 031343e
[Discover] Merge
jughosta 895a08e
[Discover] Fix checks
jughosta c8f837c
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 30f9df0
[Discover] Fix for ft
jughosta 60e217d
[Discover] Clean up
jughosta 1e5c502
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 7e9dd06
[Discover] Fix based on tests
jughosta 825aa71
[Discover] Update mocks
jughosta 04a3430
[Discover] Restore tests for lens attributes
jughosta 09960ce
[Discover] Fix tests
jughosta 189a182
[Discover] Simplify tests
jughosta 98923df
[Discover] Restore tests for vis suggestions
jughosta d7be568
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 1fce17f
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 9940078
[Discover] Add new functional tests
jughosta a5c1281
[Discover] Update tests
jughosta ab9593b
[Discover] Switch to local utils
jughosta 9bd096c
[Discover] Add more tests
jughosta 7ff9e21
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 6c11f14
[Discover] Remove redundant chart title
jughosta f2fc2ce
[Discover] Use the shared util for lens attributes
jughosta b555cd5
[Discover] Update on revert
jughosta 7f8cb6b
[Discover] Add a test
jughosta cf5666c
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine c2c15b2
[Discover] Clean up i18n
jughosta 9e49be3
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta f25029a
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta 9898d6c
[Discover] Avoid circular deps
jughosta f1d3994
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 96c3f13
[Discover] Revert type changes
jughosta 7f85d86
[Discover] Update types
jughosta fbc0181
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 9602ee2
Merge branch 'main' into 167887-esql-saved-search-v3
stratoula 2035802
[Discover] Return previous logic
jughosta e24d977
Merge branch 'main' into 167887-esql-saved-search-v3
stratoula d41009a
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta de8347a
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine b2de107
[Discover] Fix after the merge
jughosta e0b14a8
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta ad4aabd
[Discover] Split saved search plugin into 2 plugins and a new package…
jughosta d66451b
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 1f9e86b
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine 48ebc37
[CI] Auto-commit changed files from 'node scripts/build_plugin_list_d…
kibanamachine db28b3d
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine 998ba35
[Discover] Make lens migrations optional
jughosta 2707333
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta 133afb3
Revert "[Discover] Make lens migrations optional"
jughosta bc5b78c
Revert [Discover] Split saved search plugin into 2 plugins and a new …
jughosta 35d193a
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 1c2fd84
[Discover] Convert visContextJSON string into visContext object insid…
jughosta 14e4f6f
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 2ac30f8
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine 6c03da3
[CI] Auto-commit changed files from 'node scripts/build_plugin_list_d…
kibanamachine 3931132
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine b604434
[DataView] Update code style
jughosta 5f68c09
[Discover] Fix types
jughosta 01be3f9
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta d4b53ee
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 9b64a66
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta 8e0ee34
[Discover] Rename suggestion types
jughosta a599413
[Discover] Rename lensAttributesContext into visContext
jughosta 03eb966
[Discover] Remove console logs
jughosta a0bc190
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta a9229a1
[Discover] Fix types
jughosta d1ebe77
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta ef97fd7
[Discover] Fix lens title
jughosta 3150a5e
[Discover] Revert redundant changes
jughosta f356277
[Discover] Add tests
jughosta ac87b1a
[Discover] Fix tests
jughosta 1a74c67
Merge remote-tracking branch 'upstream/main' into 167887-esql-saved-s…
jughosta b6b5ac5
[Discover] Change how visContext updates are managed in Discover
jughosta bd3adb3
[Discover] Update tests
jughosta d0daf77
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 990c623
[Discover] Some fixes for this version
jughosta 8fb8e8e
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta d97c3f6
[Discover] Update implementation
jughosta a8f6e5b
[Discover] Simplify the implementation
jughosta d064930
[Discover] Simplify the implementation even more
jughosta 47b28db
[Discover] New updates
jughosta 55b5cf7
[Discover] Better clearing implementation
jughosta 64a0056
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta d5c1b5d
[Discover] Update tests after the merge
jughosta a4755a6
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta e658447
[Discover] Fix when suggestion type is changed via flyout
jughosta f3d92d2
[Discover] Fix when suggestion type is changed to an unfamiliar one v…
jughosta a9e0d9a
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 3400b7e
[Discover] Add more checks
jughosta 6151f7d
[Discover] Update invalidation logic
jughosta 46330ea
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 53139df
[Discover] Fix invalidation logic
jughosta 12b4b1c
Merge remote-tracking branch 'origin/167887-esql-saved-search-v3' int…
jughosta 90448a0
Merge branch 'main' into 167887-esql-saved-search-v3
stratoula 051bd82
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 4406b0e
[Discover] Mark other lnsXY charts as Customized too
jughosta 531c7a7
Merge branch 'main' into 167887-esql-saved-search-v3
stratoula b6637ba
[Discover] Address PR comments
jughosta e52a57b
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 7088f98
[Discover] Fix flyout Cancel action and improve the icon
jughosta 280323d
[Discover] Update tests
jughosta d49f1e3
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 3f1330e
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 0d9235f
Merge branch 'main' into 167887-esql-saved-search-v3
jughosta 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 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
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
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
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
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
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
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
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 where we delay updates to
query
andexternalVisContext
.