-
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
[XY] Migrate vis type xy to new unified xy expression #136475
Merged
VladLasitsa
merged 38 commits into
elastic:main
from
VladLasitsa:vis_type_xy_to_new_expression
Aug 11, 2022
Merged
Changes from 13 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
6d1ba64
Migrate vis type xy to new unified xy expression
VladLasitsa ce23d34
Add legend toggle and color picker. Some fixes
VladLasitsa b5d27c8
Fix snapshots
VladLasitsa c89335d
Fix tests
VladLasitsa 1aa9577
Fix some tests
VladLasitsa dfc353d
Fix snapshots
VladLasitsa 5b039ac
Fix tests
VladLasitsa c66c4ac
Merge branch 'main' into vis_type_xy_to_new_expression
flash1293 e533a2c
Fix some tests
VladLasitsa ebfdd1c
Fix some tests
VladLasitsa 2d46b7e
Fix some more tests
VladLasitsa 61d5149
Update snapshot for area chart
VladLasitsa f1829af
Merge branch 'main' into vis_type_xy_to_new_expression
kibanamachine 1ad23d9
Fix dashboards tests
VladLasitsa 61f9418
Fix test
VladLasitsa f0ced01
Merge remote-tracking branch 'upstream/main' into vis_type_xy_to_new_…
VladLasitsa 57abcc4
Merge remote-tracking branch 'upstream/main' into vis_type_xy_to_new_…
VladLasitsa 2c38d2c
Fix some remarks
VladLasitsa d8067fd
Fix tests
VladLasitsa 8da7181
Fix test
VladLasitsa 72d8c03
Merge remote-tracking branch 'upstream/main' into vis_type_xy_to_new_…
VladLasitsa a85f845
Remove useAdjustedInterval arg
VladLasitsa 7a6faa4
Fix remarks
VladLasitsa 526bb0e
Fix CI checks
VladLasitsa 06d3ccd
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine d20b31f
Fix CI
VladLasitsa 159c923
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
kibanamachine fb63186
Merge branch 'main' into vis_type_xy_to_new_expression
kibanamachine dd78ebd
Merge branch 'main' into vis_type_xy_to_new_expression
flash1293 8a756f8
Fix all remarks
VladLasitsa 4b4544d
Remove unused code
VladLasitsa bddd5aa
Merge branch 'main' into vis_type_xy_to_new_expression
kibanamachine 1a1249b
Merge remote-tracking branch 'upstream/main' into vis_type_xy_to_new_…
VladLasitsa 4a5d053
Merge branch 'main' into vis_type_xy_to_new_expression
kibanamachine 99ae23f
Fix Percentile aggragtion
VladLasitsa c44b153
Merge branch 'main' into vis_type_xy_to_new_expression
stratoula f0e1bf2
Fix problems with several series
VladLasitsa 32b29f5
Fix problems with hidden series
VladLasitsa 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
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.
To avoid checking for visualize here, let's instead check whether the tables are the same:
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.
@flash1293 Unless in Lens there can be a situation that there will be an identical table in two layers?
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.
@VladLasitsa This can't happen in Lens - layers always have their separate data fetching
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.
And even if it would happen IMHO it makes sense to report it as a single table in the inspector if it is virtually the same object.
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.
Done.
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.
@flash1293 I have checked this more deeply and found out that we should use my approach because for lens we should log datatable using layer id as key, but when we log only one datatable we use "default" as key. It leads to some problems with getting correct datatable from inspector which we use after as active data in many places.