-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Lens] Performance improvements #41784
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
flash1293
merged 67 commits into
elastic:feature/lens
from
flash1293:lens/potential-columns-improvements
Jul 29, 2019
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
220eefa
[lens] WIP add support for layers
wylieconlon 26601aa
[lens] WIP switch to nested tables
wylieconlon 152bee3
Merge remote-tracking branch 'origin/feature/lens' into lens/layers-t…
wylieconlon 84bf126
Get basic layering to work
wylieconlon 63fb14b
Load multiple tables and render in one chart
wylieconlon 5e60930
Merge remote-tracking branch 'origin/feature/lens' into lens/layers-t…
wylieconlon 4aa80f2
Fix priority ordering
wylieconlon 8be851e
Merge remote-tracking branch 'origin/feature/lens' into lens/layers-t…
wylieconlon f78ce1a
Reduce quantity of linting errors
wylieconlon 3c56d84
Merge branch 'lens/layers-toplevel' of https://github.com/wylieconlon…
chrisdavies 6b2454b
Ensure that new xy layer state has a split column
chrisdavies 94c97d7
Make the "add" y / split the trailing accessor
chrisdavies cbea4e8
Various fixes for datasource public API and implementation
wylieconlon 762bd44
Unify datasource deletion and accessor removal
chrisdavies 6229db6
Merge branch 'lens/layers-toplevel' of https://github.com/wylieconlon…
chrisdavies 5001bf2
Fix broken scss
chrisdavies e111fdc
Fix xy visualization TypeScript errors?
chrisdavies dcc243f
Build basic suggestions
wylieconlon d9e101a
Restore save/load and fix typescript bugs
flash1293 5d533c0
Merge branch 'lens/layers-toplevel' of github.com:wylieconlon/kibana …
flash1293 e35bc9f
simplify init routine
flash1293 cd90a9d
fix save tests
flash1293 9fac490
fix persistence tests
flash1293 5b997af
fix state management tests
flash1293 26bc89c
Ensure the data table is aligned to the top
chrisdavies cbcb341
Add layer support to Lens datatable
chrisdavies 91c6881
Give xy chart a default layer initially
chrisdavies e263e4c
Allow deletion of layers in xy charts
chrisdavies a642a11
xy: Make split accessor singular
chrisdavies 844be81
Change expression type for lens_merge_tables
wylieconlon 142bca2
Fix XY chart rendering expression
wylieconlon c10b6a1
Fix type errors relating to `layerId` in table suggestions
wylieconlon 542557c
Pass around tables for suggestions with associated layerIds
wylieconlon c659084
fix tests in workspace panel
flash1293 42302d6
fix editor_frame tests
flash1293 64b2f58
Fix xy tests, skip inapplicable tests
chrisdavies f634f51
add some tests for multiple datasources and layers
flash1293 aaa320d
Merge branch 'lens/layers-toplevel' of github.com:wylieconlon/kibana …
chrisdavies 9fb5e9d
Suggest that split series comes before X axis in XY chart
wylieconlon 19d9a50
Get datatable suggestion working
chrisdavies ddab6e4
Adjust how xy axis labels are computed
chrisdavies c368a28
Merge branch 'lens/layers-toplevel' of github.com:wylieconlon/kibana …
chrisdavies 3f25c93
Datasource suggestions should handle layers and have tests
wylieconlon 0ac2c31
Fix linting in XY chart and remove commented code
wylieconlon 61f232b
Update snapshots from earlier change
wylieconlon f15228a
Merge branch 'feature/lens' into lens/layers-toplevel
wylieconlon 5decb43
started not materializing columns until necessary
flash1293 6610049
continued performance improvement
flash1293 0134bb9
continued performance improvement #2
flash1293 68603f6
fix linting errors and make dimension panel work again
flash1293 9f59ecc
improve performance by not re-rendering everything
flash1293 e7d50f5
Merge remote-tracking branch 'upstream/feature/lens' into lens/potent…
flash1293 d6eec66
Merge branch 'lens/potential-columns-improvements' of github.com:flas…
flash1293 57ab321
resolve conflicts
flash1293 ebb2485
fix tests and improve implementation
flash1293 2e4513f
fix bug with document showing as incompatible
flash1293 af76488
fix tests
flash1293 146297b
rename stuff
flash1293 bcf1f43
fix types
flash1293 a89e854
shortened code
flash1293 c60b3c6
Merge remote-tracking branch 'upstream/feature/lens' into lens/potent…
flash1293 365f98c
fix type bugs and clean up
flash1293 986bce4
Merge branch 'feature/lens' into lens/potential-columns-improvements
flash1293 84ff252
Merge branch 'feature/lens' into lens/potential-columns-improvements
flash1293 1aec574
make filterOperations function memoizable in datatable vis
flash1293 0de364e
Merge branch 'feature/lens' into lens/potential-columns-improvements
flash1293 01a955a
code style
flash1293 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
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 fine, but I wonder if we should move from a setState kind of approach to a dispatch kind of approach, for this reason. dispatch-helpers can be easily memoized as they don't need to close over the state object.