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

[Codemod] Rename react unsafe lifecycles #8143

Conversation

etr2460
Copy link
Member

@etr2460 etr2460 commented Aug 29, 2019

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

Cleans up some of these console warnings:
Screen Shot 2019-08-29 at 9 42 17 AM

Ran npx react-codemod rename-unsafe-lifecycles in superset/assets/src and superset/assets/spec.

However, we still have a decent number of dependencies that we'll need to update prior to being able to use React 17. This can be pushed off for a while (because React 17 isn't even out yet), but at some point, we'll have to pay the piper and upgrade a bunch of stuff. This'll include (I think) moving to a newer version of Bootstrap and finding a new React virtualizable library, as well as a bunch of other changes. No actions needed yet, but we'll wanna keep this on the future radar.

TEST PLAN

Ensure dashboards, charts, and SQL Lab still work as expected. CI/Tests

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

REVIEWERS

@graceguo-supercat @kristw @mistercrunch

@codecov-io
Copy link

codecov-io commented Aug 29, 2019

Codecov Report

Merging #8143 into master will increase coverage by 0.13%.
The diff coverage is 58.06%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #8143      +/-   ##
=========================================
+ Coverage   66.06%   66.2%   +0.13%     
=========================================
  Files         479     479              
  Lines       22930   22930              
  Branches     2524    2524              
=========================================
+ Hits        15148   15180      +32     
+ Misses       7648    7616      -32     
  Partials      134     134
Impacted Files Coverage Δ
...erset/assets/src/visualizations/deckgl/factory.jsx 0% <0%> (ø) ⬆️
superset/assets/src/components/AnchorLink.jsx 83.33% <0%> (ø) ⬆️
...t/assets/src/visualizations/deckgl/Multi/Multi.jsx 0% <0%> (ø) ⬆️
...s/src/dashboard/components/gridComponents/Tabs.jsx 61.11% <0%> (ø) ⬆️
...c/dashboard/components/gridComponents/Markdown.jsx 91.3% <0%> (ø) ⬆️
...explore/components/controls/AdhocFilterControl.jsx 65.43% <0%> (ø) ⬆️
...uperset/assets/src/dashboard/components/Header.jsx 42.2% <0%> (ø) ⬆️
...sualizations/deckgl/CategoricalDeckGLContainer.jsx 0% <0%> (ø) ⬆️
superset/assets/src/chart/chartAction.js 49.63% <0%> (ø) ⬆️
superset/assets/src/CRUD/CollectionTable.jsx 62.88% <0%> (ø) ⬆️
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee24539...9cbf841. Read the comment docs.

Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

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

LGTM

could you rebase?

@graceguo-supercat graceguo-supercat merged commit 436261e into apache:master Sep 3, 2019
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.35.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 0.35.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants