Skip to content

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

Merged
gchaps merged 1 commit intoelastic:7.7from
gchaps:backport/7.7/pr-68406
Jun 5, 2020
Merged

[7.7] [DOCS] Adds link from remote clusters to index patterns (#68406)#68433
gchaps merged 1 commit intoelastic:7.7from
gchaps:backport/7.7/pr-68406

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 This PR is a backport of another PR 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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant