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

fix: Enable ESLint rule default-props-match-prop-types #11058

Merged
merged 5 commits into from
Oct 2, 2020

Conversation

kgabryje
Copy link
Member

SUMMARY

Fixes a bug introduced in #10868 (reverted by #11050)
Cypress test was added to make sure that the tabs switch correctly.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

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

@kgabryje
Copy link
Member Author

@graceguo-supercat It fixes a bug reported by you, can you please take a look?
@adam-stasiak There are some changes in dashboard tests that you're refactoring

@codecov-commenter
Copy link

Codecov Report

Merging #11058 into master will decrease coverage by 4.80%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11058      +/-   ##
==========================================
- Coverage   65.79%   60.99%   -4.81%     
==========================================
  Files         816      816              
  Lines       38422    38402      -20     
  Branches     3621     3621              
==========================================
- Hits        25280    23422    -1858     
- Misses      13034    14794    +1760     
- Partials      108      186      +78     
Flag Coverage Δ
#cypress ?
#javascript 61.76% <ø> (-0.01%) ⬇️
#python 60.53% <ø> (-0.88%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset-frontend/src/CRUD/Field.jsx 22.22% <ø> (ø)
...src/SqlLab/components/ExploreCtasResultsButton.jsx 7.14% <ø> (-6.20%) ⬇️
...rontend/src/SqlLab/components/SqlEditorLeftBar.jsx 40.00% <ø> (-16.00%) ⬇️
...end/src/SqlLab/components/TemplateParamsEditor.jsx 88.57% <ø> (-2.86%) ⬇️
superset-frontend/src/components/Hotkeys.jsx 100.00% <ø> (ø)
...t-frontend/src/components/Select/OnPasteSelect.jsx 95.23% <ø> (ø)
...dashboard/components/ColorSchemeControlWrapper.jsx 81.25% <ø> (ø)
...tend/src/dashboard/components/DashboardBuilder.jsx 77.27% <ø> (-7.58%) ⬇️
...ntend/src/dashboard/components/PropertiesModal.jsx 46.42% <ø> (-14.29%) ⬇️
...t-frontend/src/dashboard/components/SliceAdder.jsx 80.59% <ø> (-16.42%) ⬇️
... and 208 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 d056e3d...7a6155f. Read the comment docs.

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

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

LGTM, but I'd love to get a thumbs up from @graceguo-supercat before merging this one. Thanks for the test addition!

@rusackas rusackas merged commit 07f8714 into apache:master Oct 2, 2020
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* Re-enable ESLint rule default-props-match-props-types

* Add cypress test for switching tabs

* fix

* Typo fix

* Test fix
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.0.0 labels Mar 12, 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 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants