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.x] Use platform history (#74328) #76287

Merged
merged 1 commit into from
Aug 31, 2020
Merged

Conversation

smith
Copy link
Contributor

@smith smith commented Aug 31, 2020

Backports the following commits to 7.x:

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: cauemarcondes <[email protected]>
@smith smith added the backport label Aug 31, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
apm 941 -7 948
observability 89 -6 95
total -13

async chunks size

id value diff baseline
apm 4.7MB -12.8KB 4.7MB
observability 296.9KB -13.4KB 310.3KB
total -26.3KB

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

@smith smith merged commit ac29d33 into elastic:7.x Aug 31, 2020
@smith smith deleted the backport/7.x/pr-74328 branch August 31, 2020 16:12
smith added a commit to smith/kibana that referenced this pull request Sep 1, 2020
* Replace `useLocation` and our `LocationContext` with `useLocation` from React Router. We can do this since we're now using the platform history, added in elastic#76287.
* Pass in `RouteComponentProps` where appropriate to routes to use `history` and `location`.

This is in the service of elastic#51963, but doesn't do anything with `useUrlParams` or any of the other changes specified in that issue.
smith added a commit that referenced this pull request Sep 15, 2020
* [APM] Remove useLocation and some minor route improvements

* Replace `useLocation` and our `LocationContext` with `useLocation` from React Router. We can do this since we're now using the platform history, added in #76287.
* Pass in `RouteComponentProps` where appropriate to routes to use `history` and `location`.

This is in the service of #51963, but doesn't do anything with `useUrlParams` or any of the other changes specified in that issue.
smith added a commit to smith/kibana that referenced this pull request Sep 15, 2020
…6343)

* [APM] Remove useLocation and some minor route improvements

* Replace `useLocation` and our `LocationContext` with `useLocation` from React Router. We can do this since we're now using the platform history, added in elastic#76287.
* Pass in `RouteComponentProps` where appropriate to routes to use `history` and `location`.

This is in the service of elastic#51963, but doesn't do anything with `useUrlParams` or any of the other changes specified in that issue.
smith added a commit that referenced this pull request Sep 15, 2020
…77476)

* [APM] Remove useLocation and some minor route improvements

* Replace `useLocation` and our `LocationContext` with `useLocation` from React Router. We can do this since we're now using the platform history, added in #76287.
* Pass in `RouteComponentProps` where appropriate to routes to use `history` and `location`.

This is in the service of #51963, but doesn't do anything with `useUrlParams` or any of the other changes specified in that issue.
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.

2 participants