Skip to content

[7.x] Use platform history (#74328)#76287

Merged
smith merged 1 commit intoelastic:7.xfrom
smith:backport/7.x/pr-74328
Aug 31, 2020
Merged

[7.x] Use platform history (#74328)#76287
smith merged 1 commit intoelastic:7.xfrom
smith:backport/7.x/pr-74328

Conversation

@smith
Copy link
Copy Markdown
Contributor

@smith smith commented Aug 31, 2020

Backports the following commits to 7.x:

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: cauemarcondes <caue.marcondes@elastic.co>
@smith smith added the backport This PR is a backport of another PR label Aug 31, 2020
@kibanamachine
Copy link
Copy Markdown
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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants