-
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
[Lens] Formula time shift #101718
Merged
flash1293
merged 306 commits into
elastic:master
from
flash1293:lens/formula-time-shift
Jun 17, 2021
Merged
[Lens] Formula time shift #101718
Changes from all commits
Commits
Show all changes
306 commits
Select commit
Hold shift + click to select a range
7832aeb
Move formula into a tab
wylieconlon f05c647
:fire: Leftovers from previous merge
dej611 d050e6f
:sparkles: Move over namedArgs from previous function
dej611 37c9c5f
:white_check_mark: Add tests for transferable scenarios
dej611 006f569
Merge branch 'lens/formula-error-handling' of github.com:dej611/kiban…
dej611 135987c
:white_check_mark: Fixed broken test
dej611 28847f1
:sparkles: Use custom label for axis
dej611 5524cf2
Allow switching back and forth to formula tab
wylieconlon 6650f67
Add a section for the function reference
wylieconlon 1e32e0a
Add modal editor and markdown docs
wylieconlon cacf486
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 2bc7f6c
Change the way math nodes are validated
wylieconlon 367de12
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon d42d02e
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon e0cd7d4
Use custom portal to fix monaco positioning
wylieconlon a1e8412
Fix model sharing issues
wylieconlon 039a5c2
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 86f36dd
Provide signature help
wylieconlon dba216c
:bug: Fix small test issue
dej611 4d5ce24
:bug: Mark pow arguments as required
dej611 f47c5db
:bug: validate on first render only if a formula is present
dej611 e102ad2
:fire: Remove log10 fn for now
dej611 1483d9d
:sparkles: Improved math validation + add tests for math functions
dej611 1e510cc
Merge remote-tracking branch upstream/master into lens/formula-error-…
dej611 9069161
Merge branch 'master' into lens/formula-error-handling
kibanamachine c4e6be8
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 89bf4d2
Fix mount/unmount issues with Monaco
wylieconlon 2334c1b
[Lens] Fully unmount React when flyout closes
wylieconlon 3f2b10f
Merge remote-tracking branch 'origin/master' into lens/unmount-bug
wylieconlon 502f74d
Fix bug with editor frame unmounting
wylieconlon 5df313c
Fix type
wylieconlon dc20489
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 5c4b75f
Merge branch 'lens/unmount-bug' into lens/formulas
wylieconlon 7dfed34
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 2382797
Add tests for monaco providers, add hover provider
wylieconlon f746acf
Add test for last_value
wylieconlon 81eace1
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 387059e
Usability improvements
wylieconlon 1065a76
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 46bd80f
Add KQL and Lucene named parameters
wylieconlon 14ec327
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon bbf55a2
Add kql, lucene completion and validation
wylieconlon 9351572
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon c7e4154
Fix autocomplete on weird characters and properly connect KQL
wylieconlon 15ccac2
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 08a985c
Highlight functions that have additional requirements after validating
wylieconlon daa5685
Fix type error and move help text to popover
wylieconlon ccf7266
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 0c1cfa9
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 239c72d
Fix escape characters inside KQL
wylieconlon fa57951
:bug: Fix dataType issue when moving over to Formula
dej611 3da8f82
Merge branch 'lens/formula-error-handling' of github.com:dej611/kiban…
dej611 1fd06bf
Automatically insert single quotes on every named param
wylieconlon b62f96e
Only insert single quotes when typing kql= or lucene=
wylieconlon d563cb5
Reorganize help popover
wylieconlon 32fdfbf
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon c81b47c
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon edb522d
Fix merge issues
wylieconlon 87b435b
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 7169655
Update grammar for formulas
wylieconlon e01bca8
Fix bad merge
wylieconlon ec493d1
Rough fullscreen mode
wylieconlon 255a40f
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 90cff4a
Type updates
wylieconlon 12391f6
Pass through fullscreen state
wylieconlon 83ae9bf
Remove more chrome from full screen mode
wylieconlon f520d2f
Fix minor bugs in formula typing
wylieconlon 23f65d8
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 5a26025
🐛 Decouple column order of references and output
wylieconlon e6ff6d7
🔧 Fix tests and types
wylieconlon 198ca29
✅ Add first functional test
wylieconlon ddd5515
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon d335aa3
Fix copying formulas and empty formula
wylieconlon bf264ed
Trigger suggestion prompt when hitting enter on function or typing kql=
wylieconlon a317738
🐛 Prevent flyout from closing while interacting with monaco
wylieconlon b2272f9
Merge branch 'master' into lens/formula-error-handling
kibanamachine bd87d98
refactoring
flash1293 571501a
move main column generation into parse module
flash1293 70a6b86
fix tests
flash1293 1883964
refactor small formula styles and markup
MichaelMarcialis 96988e8
Merge branch 'lens/formula-error-handling' of github.com:wylieconlon/…
MichaelMarcialis 40c43e4
documentation
flash1293 203b622
adjustments in formula footer
MichaelMarcialis b4a36ad
Formula refactoring (#12)
flash1293 2088c8e
Merge remote-tracking branch 'origin/master' into lens/formulas
wylieconlon 9655e7d
more style and markup tweak for custom formula
MichaelMarcialis 09659a2
Fix tests
wylieconlon 03563b4
[Expressions] Use table column ID instead of name when set
wylieconlon f3ba457
[Lens] Create managedReference type for formulas
flash1293 2fce117
Merge branch 'lens/formula-error-handling' of github.com:wylieconlon/…
MichaelMarcialis c210c4b
Fix test failures
wylieconlon e8ef7e8
Fix i18n types
wylieconlon 16387e8
fix fullscreen flex issues
MichaelMarcialis 9114256
Delete managedReference when replacing
wylieconlon 4ea324d
refactor css and markup; add button placeholders
MichaelMarcialis 394555c
[Lens] Formulas
wylieconlon a33545e
Tests for formula
wylieconlon b06888e
Merge branch 'lens/managed-reference' into lens/formula-editor
wylieconlon 1a74b65
added error count placeholder
MichaelMarcialis c0577f0
Add tooltips
MichaelMarcialis 557b3a8
Merge branch 'lens/formula-error-handling' into formula-documentation
flash1293 51a8f62
Merge remote-tracking branch 'wylieconlon/lens/formula-error-handling…
flash1293 614b357
Merge remote-tracking branch 'MichaelMarcialis/lens/formula-error-han…
flash1293 c2f23a4
Merge remote-tracking branch 'origin/master' into lens/managed-reference
wylieconlon 0b347ff
Refactoring from code review
wylieconlon 9b6515c
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 2471c1f
Merge branch 'lens/managed-reference' into lens/formula-editor
wylieconlon bac5fd6
Merge remote-tracking branch 'MichaelMarcialis/lens/formula-error-han…
wylieconlon 64ee982
Fix some editor issues
wylieconlon 41789fb
Merge remote-tracking branch 'origin/master' into map-column-id
wylieconlon 628cf8d
Update ID matching to match by name sometimes
wylieconlon cf51972
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 5421775
Improve performance of Monaco, fix formulas with 0, update labels
wylieconlon 4d25851
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 8f6a6a0
Improve performance of full screen toggle
wylieconlon dd27759
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon a6a6fae
Fix formula tests
wylieconlon 5413d7a
Merge branch 'master' into map-column-id
kibanamachine a85d91c
Merge remote-tracking branch 'wylieconlon/lens/formula-error-handling…
flash1293 5c97610
Merge remote-tracking branch 'upstream/master' into formula-documenta…
flash1293 507dd53
fix stuff
flash1293 468cfcf
Add an extra case to prevent insertion of duplicate column
wylieconlon d222796
Merge remote-tracking branch 'origin/master' into map-column-id
wylieconlon 9f4d647
Simplify logic and add test for output ID
wylieconlon c0d28a9
add telemetry for Lens formula (#15)
flash1293 7f1df87
Respond to review comments
wylieconlon 65e61a1
:sparkles: Improve the signatures with better documentation and examples
dej611 e4a5bcc
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 9abe037
Merge remote-tracking branch 'joe/formula-documentation' into lens/fo…
wylieconlon 371703c
adjust border styles to account for docs collapse
MichaelMarcialis eb658fe
refactor docs markup; restructure docs obj; styles
MichaelMarcialis 01af0b6
Merge branch 'lens/formula-error-handling' of github.com:wylieconlon/…
MichaelMarcialis f8cab62
Formula signature + doc improvements (https://github.com/wylieconlon/…
wylieconlon 342c23d
Merge remote-tracking branch 'MichaelMarcialis/formula-documentation-…
wylieconlon 4d7d2ba
Fix formula auto reordering (#18)
flash1293 c97f6f6
Fix and improve suggestion experience in Formula (#19)
dej611 4aac893
:sparkles: Add query validation for quotes
dej611 97a2457
Usability updates & type fixes
wylieconlon 969ffd9
Merge branch 'master' into map-column-id
kibanamachine 934d3bb
Merge branch 'master' into lens/formula-error-handling
kibanamachine b84faf9
add search to formula
flash1293 1ade3f3
fix form styles to match designs
MichaelMarcialis a8f4ec8
fix text styles; revert to Markdown for control
MichaelMarcialis f419cb6
:ok_hand: Integrated more feedback
dej611 4b4bf18
Merge pull request #13 from MichaelMarcialis/lens/formula-doc-3-mm
flash1293 72d25ce
improve search
flash1293 12ddbf7
improve suggestions
flash1293 d086cca
improve suggestions even more
flash1293 d07dae3
:bug: Fix i18n issues (#22)
dej611 faca9e2
Persist formula on leave, fix fullscreen and popovers
wylieconlon 232e02d
Fix documentation tests
wylieconlon f7bcefd
Merge remote-tracking branch 'joe/lens/formula-doc-3' into lens/formu…
wylieconlon c0b7da0
Merge remote-tracking branch 'dej611/lens/formula-kql-validation' int…
wylieconlon c41b932
Merge remote-tracking branch 'joe/lens/formula-suggestions' into lens…
wylieconlon 759e168
:label: fix type issue
dej611 0542a10
:bug: Remove hidden operations from valid functions list
dej611 195a5a6
:bug: Fix empty string query edge case
dej611 c51e8e0
:bug: Enable more suggestions + extends validation
dej611 cc41fc5
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon bbf5aac
Fix tests that depended on setState being called without function
wylieconlon 7de19c9
Merge remote-tracking branch 'dej611/lens/formula-more-fixes' into le…
wylieconlon 4ab340b
Error state and text wrapping updates
wylieconlon 32713dd
:sparkles: Add new module to CodeEditor for brackets matching (#25)
dej611 fc2c3c9
Fix type
wylieconlon 3637ee6
show warning
flash1293 ed47705
keep current quick function
flash1293 e56ef54
:sparkles: Improve suggestions within kql query
dej611 fcc775f
:camera: Fix snapshot editor test
dej611 ad50a7e
:bug: Improved suggestion for single quote and refactored debounce
dej611 7c897dc
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 290627c
:wqerge remote-tracking branch 'dej611/lens/formula-more-suggestions'…
wylieconlon 8e1934d
Fix lodash usage
wylieconlon 8d4778b
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 8d04687
Merge branch 'master' into map-column-id
kibanamachine 068d8dc
Merge remote-tracking branch 'fork/map-column-id' into lens/formula-e…
wylieconlon dfb8cb5
Fix tests
wylieconlon e12c711
Merge remote-tracking branch 'joe/lens/keep-quick-function-around' in…
wylieconlon a610e37
Revert "keep current quick function"
wylieconlon dd2fb49
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 710061a
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 507a421
Improve performance of dispatch by using timeout
wylieconlon b92c8e6
Improve memoization of datapanel
wylieconlon e00bd4a
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 48e22ba
Fix escape characters
wylieconlon b349a1c
fix reduced suggestions
flash1293 6426034
fix responsiveness
flash1293 e4a9535
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 548f7f1
Merge remote-tracking branch 'joe/fix-doc-help-responsiveness' into l…
wylieconlon 5d17588
fix unit test
flash1293 5222093
Merge remote-tracking branch 'joe/fix-suggestions' into lens/formula-…
wylieconlon 12192a2
Merge remote-tracking branch 'joe/fix-unit-test' into lens/formula-ed…
wylieconlon 3e9ebdb
Fix autocomplete on nested math
wylieconlon ae81c0e
Show errors and warnings on first render
wylieconlon 2b44b2f
fix transposing column crash
flash1293 3096a2e
Merge remote-tracking branch 'origin/master' into lens/formula-editor
wylieconlon 08a1f80
Merge remote-tracking branch 'joe/fix-async-state-update' into lens/f…
wylieconlon d1628b7
Update comment
wylieconlon 48d7ff7
:bug: Fix field error message
dej611 1b97e8b
fix test types
flash1293 5cd99fe
:memo: Fix i18n name
dej611 881592a
:lipstick: Manage wordwrap via react component
dej611 1d16ef9
Fix selector for palettes that interferes with quick functions
wylieconlon 5bf9c14
Merge remote-tracking branch 'dej611/lens/formula-field-message' into…
wylieconlon bbfd225
Merge remote-tracking branch 'dej611/lens/formula-word-wrap' into len…
wylieconlon fd2ea82
Use word wrapping by default
wylieconlon 6f79509
Errors for managed references are handled at the top level
wylieconlon 2e3cdd1
:bug: Move the cursor just next to new inserted text
dej611 1e422fa
:alembic: First pass for performance
dej611 bf66960
Merge branch 'master' into lens/formula-error-handling
kibanamachine 0578cc5
:bug: Fix unwanted change
dej611 0b76853
:zap: Memoize as many combobox props as possible
dej611 affc0b3
:zap: More memoization
dej611 0762f2f
Show errors in hover
wylieconlon 304fb64
Use temporary invalid state when moving away from formula
wylieconlon c3be427
Merge remote-tracking branch 'dej611/lens/formula-autocomplete-escape…
wylieconlon 57e67f5
Remove setActiveDimension and shouldClose, fixed by async setters
wylieconlon 875dd04
Merge remote-tracking branch 'dej611/lens/formula-performance-attempt…
wylieconlon 199eece
Fix test dependency
wylieconlon b0e4dda
Merge branch 'master' into lens/formula-error-handling
kibanamachine aca7aba
do not show quick functions tab
flash1293 16b0d40
increase documentation popover width
flash1293 7e7b91e
Merge branch 'master' into lens/formula-error-handling
kibanamachine 9a7b4bc
fix functional test
flash1293 7f5dbea
Call setActiveDimension when updating visualization
wylieconlon fd2878f
fix some things, break others
flash1293 4b81e5d
Simplify handling of flyout with incomplete columns
wylieconlon f9a9c9a
Fix test issues
wylieconlon 2fbf051
add suggestions and improve autocomplete
flash1293 ff32add
Merge branch 'lens/formula-error-handling' into lens/formula-time-shift
flash1293 bca4cb5
Merge remote-tracking branch 'upstream/master' into lens/formula-erro…
flash1293 93da501
add description to formula telemetry
flash1293 e350d19
Merge branch 'lens/formula-error-handling' into lens/formula-time-shift
flash1293 fd8bbc9
fix schema
flash1293 4b192bb
Merge branch 'lens/formula-error-handling' into lens/formula-time-shift
flash1293 75b8da7
fix problems
flash1293 d1f9231
fix type problem
flash1293 df38a26
complete time shift in formula
flash1293 6997ed3
fix types
flash1293 e2e4e6d
Update from design feedback
wylieconlon 28cf06e
More review comments
wylieconlon 9ec3c9a
Hide callout border from v7 theme
wylieconlon 77105b0
Merge branch 'lens/formula-error-handling' into lens/formula-time-shift
flash1293 54f02f3
fix test
flash1293 af45859
Merge remote-tracking branch 'upstream/master' into lens/formula-time…
flash1293 a5d9b92
Merge branch 'master' into lens/formula-time-shift
kibanamachine 51e0afd
Merge remote-tracking branch 'upstream/master' into lens/formula-time…
flash1293 cc16b18
review comments
flash1293 f08b38b
Merge branch 'master' into lens/formula-time-shift
kibanamachine 989b899
Merge branch 'master' into lens/formula-time-shift
kibanamachine 479cd30
Merge branch 'master' into lens/formula-time-shift
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
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 looks like it'll cause extra re-renders of the formula panel and all the others, any idea how much of an impact this has?