Skip to content
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

[7.7] [DOCS] Adds link from remote clusters to index patterns (#68406) #68433

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

gchaps
Copy link
Contributor

@gchaps gchaps commented Jun 5, 2020

Backports the following commits to 7.7:

[skip-ci]

@gchaps gchaps added the backport label Jun 5, 2020
@gchaps gchaps merged commit 821f4f1 into elastic:7.7 Jun 5, 2020
@gchaps gchaps deleted the backport/7.7/pr-68406 branch June 5, 2020 20:08
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant