-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Bump React@17 #128239
Bump React@17 #128239
Conversation
...k/plugins/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.tsx
Outdated
Show resolved
Hide resolved
bdfd3e8
to
1ae8daa
Compare
1ae8daa
to
38e9ee9
Compare
…-ref HEAD~1..HEAD --fix'
# Conflicts: # package.json # x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx # yarn.lock
# Conflicts: # package.json # yarn.lock
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💛 Build succeeded, but was flakyFailed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
) ## Summary After upgrading to [React 17](#128239), the old version of `react-grid-layout` was no longer compatible and required an upgrade as well. However, this upgrade included a [PR](react-grid-layout/react-grid-layout#1283) that overcame a visual glitch with images, which made it so that a clickable image in TSVB markdown was only clickable in a small region at the bottom of the image. This PR fixes this by undoing the changes made in the aforementioned [PR](react-grid-layout/react-grid-layout#1283) specifically for TSVB markdown images. ### Videos **Before** https://user-images.githubusercontent.com/8698078/208514574-e586c1e0-3675-4ef2-9a42-9956f81dee5a.mov **After** https://user-images.githubusercontent.com/8698078/208514585-353a0413-7ed2-40f9-8e90-8289b5483ecb.mov ### Checklist - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…tic#147802) ## Summary After upgrading to [React 17](elastic#128239), the old version of `react-grid-layout` was no longer compatible and required an upgrade as well. However, this upgrade included a [PR](react-grid-layout/react-grid-layout#1283) that overcame a visual glitch with images, which made it so that a clickable image in TSVB markdown was only clickable in a small region at the bottom of the image. This PR fixes this by undoing the changes made in the aforementioned [PR](react-grid-layout/react-grid-layout#1283) specifically for TSVB markdown images. ### Videos **Before** https://user-images.githubusercontent.com/8698078/208514574-e586c1e0-3675-4ef2-9a42-9956f81dee5a.mov **After** https://user-images.githubusercontent.com/8698078/208514585-353a0413-7ed2-40f9-8e90-8289b5483ecb.mov ### Checklist - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit eaa9423)
…#147802) (#148586) # Backport This will backport the following commits from `main` to `8.6`: - [[Dashboard] Add styling to allow clickable TSVB markdown images (#147802)](#147802) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-09T18:27:56Z","message":"[Dashboard] Add styling to allow clickable TSVB markdown images (#147802)\n\n## Summary\r\n\r\nAfter upgrading to [React\r\n17](#128239), the old version of\r\n`react-grid-layout` was no longer compatible and required an upgrade as\r\nwell. However, this upgrade included a\r\n[PR](https://github.com/react-grid-layout/react-grid-layout/pull/1283)\r\nthat overcame a visual glitch with images, which made it so that a\r\nclickable image in TSVB markdown was only clickable in a small region at\r\nthe bottom of the image.\r\n\r\nThis PR fixes this by undoing the changes made in the aforementioned\r\n[PR](https://github.com/react-grid-layout/react-grid-layout/pull/1283)\r\nspecifically for TSVB markdown images.\r\n\r\n### Videos\r\n\r\n**Before**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/8698078/208514574-e586c1e0-3675-4ef2-9a42-9956f81dee5a.mov\r\n\r\n\r\n**After**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/8698078/208514585-353a0413-7ed2-40f9-8e90-8289b5483ecb.mov\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"eaa9423d51c043a9a6f4640cee26490b6d817dea","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Platform-Design","Feature:Dashboard","release_note:fix","Team:Presentation","loe:hours","Team:Visualizations","impact:low","backport:prev-minor","v8.7.0"],"number":147802,"url":"https://github.com/elastic/kibana/pull/147802","mergeCommit":{"message":"[Dashboard] Add styling to allow clickable TSVB markdown images (#147802)\n\n## Summary\r\n\r\nAfter upgrading to [React\r\n17](#128239), the old version of\r\n`react-grid-layout` was no longer compatible and required an upgrade as\r\nwell. However, this upgrade included a\r\n[PR](https://github.com/react-grid-layout/react-grid-layout/pull/1283)\r\nthat overcame a visual glitch with images, which made it so that a\r\nclickable image in TSVB markdown was only clickable in a small region at\r\nthe bottom of the image.\r\n\r\nThis PR fixes this by undoing the changes made in the aforementioned\r\n[PR](https://github.com/react-grid-layout/react-grid-layout/pull/1283)\r\nspecifically for TSVB markdown images.\r\n\r\n### Videos\r\n\r\n**Before**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/8698078/208514574-e586c1e0-3675-4ef2-9a42-9956f81dee5a.mov\r\n\r\n\r\n**After**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/8698078/208514585-353a0413-7ed2-40f9-8e90-8289b5483ecb.mov\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"eaa9423d51c043a9a6f4640cee26490b6d817dea"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147802","number":147802,"mergeCommit":{"message":"[Dashboard] Add styling to allow clickable TSVB markdown images (#147802)\n\n## Summary\r\n\r\nAfter upgrading to [React\r\n17](#128239), the old version of\r\n`react-grid-layout` was no longer compatible and required an upgrade as\r\nwell. However, this upgrade included a\r\n[PR](https://github.com/react-grid-layout/react-grid-layout/pull/1283)\r\nthat overcame a visual glitch with images, which made it so that a\r\nclickable image in TSVB markdown was only clickable in a small region at\r\nthe bottom of the image.\r\n\r\nThis PR fixes this by undoing the changes made in the aforementioned\r\n[PR](https://github.com/react-grid-layout/react-grid-layout/pull/1283)\r\nspecifically for TSVB markdown images.\r\n\r\n### Videos\r\n\r\n**Before**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/8698078/208514574-e586c1e0-3675-4ef2-9a42-9956f81dee5a.mov\r\n\r\n\r\n**After**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/8698078/208514585-353a0413-7ed2-40f9-8e90-8289b5483ecb.mov\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"eaa9423d51c043a9a6f4640cee26490b6d817dea"}}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
…tic#147802) ## Summary After upgrading to [React 17](elastic#128239), the old version of `react-grid-layout` was no longer compatible and required an upgrade as well. However, this upgrade included a [PR](react-grid-layout/react-grid-layout#1283) that overcame a visual glitch with images, which made it so that a clickable image in TSVB markdown was only clickable in a small region at the bottom of the image. This PR fixes this by undoing the changes made in the aforementioned [PR](react-grid-layout/react-grid-layout#1283) specifically for TSVB markdown images. ### Videos **Before** https://user-images.githubusercontent.com/8698078/208514574-e586c1e0-3675-4ef2-9a42-9956f81dee5a.mov **After** https://user-images.githubusercontent.com/8698078/208514585-353a0413-7ed2-40f9-8e90-8289b5483ecb.mov ### Checklist - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
https://reactjs.org/blog/2020/10/20/react-v17.html
https://reactjs.org/blog/2020/08/10/react-v17-rc.html#changes-to-event-delegation
https://reactjs.org/blog/2020/08/10/react-v17-rc.html#other-breaking-changes