[7.7] [DOCS] Adds link from remote clusters to index patterns (#68406)#68433
Merged
gchaps merged 1 commit intoelastic:7.7from Jun 5, 2020
Merged
[7.7] [DOCS] Adds link from remote clusters to index patterns (#68406)#68433gchaps merged 1 commit intoelastic:7.7from
gchaps merged 1 commit intoelastic:7.7from
Conversation
afgomez
added a commit
to afgomez/kibana
that referenced
this pull request
Aug 19, 2020
Previously, when the user clicked a filter in the `LogEntryFlyout` two callbacks where fired: `setFilter` and `setTarget`. The purpose of the first was to add a filter based on the field where the user clicked. The second was to center the log stream in the line item that corresponded to the item shown in the flyout. Having these two callbacks gave too much knowledge to the `LogEntryFlyout` about what its consumer was doing. It also required the consumer to handle separatedly two events that happened at the same time. This commit removes `setTarget` and modifies `setFilter` to take as arguments the flyoutItemId and its timeKey. Consumers now only need to handle one callback instead of two. In the context of elastic#68433, it also enable the log analysis UI to link to the log stream with both a filter and a position, without needing to build the link from the result of calling the two callbacks.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backports the following commits to 7.7:
[skip-ci]