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

[Logs / Metrics UI] [NP followup] Cleanup link-to routes #61162

Merged
merged 5 commits into from
Mar 25, 2020

Conversation

Zacqary
Copy link
Contributor

@Zacqary Zacqary commented Mar 24, 2020

Fixes #58005

Cleans up link-to routes, removes Logs-relevant routes from Metrics and vice-versa, fixes a link-to bug related to the new Logs schema with start and end params

Checklist

@Zacqary Zacqary added Feature:Metrics UI Metrics UI feature v8.0.0 Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 labels Mar 24, 2020
@Zacqary Zacqary requested a review from a team March 24, 2020 20:35
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@Zacqary Zacqary added the release_note:skip Skip the PR/issue when compiling release notes label Mar 24, 2020
@afgomez afgomez self-requested a review March 25, 2020 10:36
Copy link
Contributor

@afgomez afgomez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested log changes locally. Everything seems to work 🎉

@Zacqary
Copy link
Contributor Author

Zacqary commented Mar 25, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Zacqary Zacqary merged commit d50fe0c into elastic:master Mar 25, 2020
@Zacqary Zacqary deleted the 58005-linkto-cleanup branch March 25, 2020 20:56
Zacqary added a commit to Zacqary/kibana that referenced this pull request Mar 27, 2020
* Split link-to into Metrics and Logs routers

* Fix logs stream link-to

* Import fix

* Update snapshots

Co-authored-by: Elastic Machine <[email protected]>
weltenwort added a commit to weltenwort/kibana that referenced this pull request Aug 11, 2020
This was removed in a non-backwards-compatible way in elastic#61162.
weltenwort added a commit that referenced this pull request Aug 14, 2020
This replaces the use of the old graphql-based `useSource` hook with the new plain JSON `useLogSource` hook.

It also fixes two more problems:

- A rendering problem with the source configuration loading screen and a `setState` race condition in the `useLogSource` hook.
- A non-backwards-compatible change of the `/link-to/:sourceId/logs` route in #61162.
weltenwort added a commit to weltenwort/kibana that referenced this pull request Aug 14, 2020
This replaces the use of the old graphql-based `useSource` hook with the new plain JSON `useLogSource` hook.

It also fixes two more problems:

- A rendering problem with the source configuration loading screen and a `setState` race condition in the `useLogSource` hook.
- A non-backwards-compatible change of the `/link-to/:sourceId/logs` route in elastic#61162.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature Feature:Metrics UI Metrics UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs / Metrics UI] [NP followup] Cleanup link-to routes
4 participants