-
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/Reporting] Fix export that does not contain relative time filter #110459
Merged
jloleysens
merged 20 commits into
elastic:master
from
jloleysens:data/allow-relative-timefilters
Sep 14, 2021
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
249eb5c
version 1 of fix: we set the time range on the search source at CSV g…
jloleysens 16229e7
updated jest tests and updated API for getSharingData
jloleysens 801f5ef
make time range optional for getSharingData
jloleysens dd948df
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 8849a83
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 484309c
pivot to updating "getTime" functionality by introducing a new flag
jloleysens c9051e7
update jest snapshots
jloleysens 1eafd0b
update comment
jloleysens 1b54f4f
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 4fbe5b3
refactored coerceToAbsoluteTime -> coerceRelativeTimeToAbsoluteTime a…
jloleysens 57c60b3
fix jest test
jloleysens 445bd2f
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 1bb3f79
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 8d41c1e
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 3ed6354
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine e3d8a02
Merge branch 'master' into data/allow-relative-timefilters
kibanamachine 324c844
do not change createFilter API, rather create new createRelativeFilte…
jloleysens b386dbd
update jest tests
jloleysens bc914d9
update mock
jloleysens 01c68df
update jest test mock
jloleysens 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,7 @@ export const getTopNavLinks = ({ | |
state.appStateContainer.getState(), | ||
services.uiSettings | ||
); | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ⚡ |
||
services.share.toggleShareContextMenu({ | ||
anchorElement, | ||
allowEmbed: false, | ||
|
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
1 change: 1 addition & 0 deletions
1
...mbeddables/anomaly_charts/__snapshots__/embeddable_anomaly_charts_container.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
is this needed if we are working with absolute time ? or could we always just take timeRange.from ?
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.
My assumption is yes. Some tests give values like
Jan 1, 2019 @ 00:00:00.000
for absolute time which ES does not understand and somoment
was converting these to ISO strings.[UPDATE]
My assumption is that if it is contained in tests then it could also occur "in the wild"