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

refactor : Transform FilterScopeModal to Typescript #11964

Merged
merged 2 commits into from Dec 9, 2020

Conversation

maloun96
Copy link
Contributor

@maloun96 maloun96 commented Dec 8, 2020

SUMMARY
Transform FilterScopeModal to Typescript

@maloun96
Copy link
Contributor Author

maloun96 commented Dec 8, 2020

@junlincc @evans

@codecov-io
Copy link

codecov-io commented Dec 8, 2020

Codecov Report

Merging #11964 (071440f) into master (7e6f04f) will decrease coverage by 0.10%.
The diff coverage is 42.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11964      +/-   ##
==========================================
- Coverage   63.75%   63.65%   -0.11%     
==========================================
  Files         941      941              
  Lines       45654    45709      +55     
  Branches     4389     4396       +7     
==========================================
- Hits        29106    29094      -12     
- Misses      16371    16436      +65     
- Partials      177      179       +2     
Flag Coverage Δ
javascript 62.67% <42.85%> (-0.23%) ⬇️
python 64.23% <ø> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
...hboard/components/filterscope/FilterScopeModal.tsx 31.25% <42.85%> (ø)
superset-frontend/src/explore/exploreUtils.js 55.47% <0.00%> (-15.33%) ⬇️
...erset-frontend/src/SqlLab/components/ResultSet.tsx 66.82% <0.00%> (-9.48%) ⬇️
superset/db_engine_specs/sqlite.py 65.62% <0.00%> (-9.38%) ⬇️
...perset-frontend/src/messageToasts/actions/index.ts 80.76% <0.00%> (-7.70%) ⬇️
superset/utils/celery.py 96.42% <0.00%> (-3.58%) ⬇️
superset-frontend/src/SqlLab/actions/sqlLab.js 57.05% <0.00%> (-2.57%) ⬇️
superset/result_set.py 96.69% <0.00%> (-1.66%) ⬇️
superset/connectors/sqla/models.py 90.50% <0.00%> (-0.27%) ⬇️
superset/datasets/schemas.py 96.42% <0.00%> (+0.03%) ⬆️
... and 3 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 7e6f04f...071440f. Read the comment docs.

super(props);

this.modal = React.createRef();
this.handleCloseModal = this.handleCloseModal.bind(this);
}

handleCloseModal() {
handleCloseModal(): any {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
handleCloseModal(): any {
handleCloseModal(): void {

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.

Just one nit (easy tweak, unless I'm missing something), and I think this is good to go!

@rusackas
Copy link
Member

rusackas commented Dec 9, 2020

thumbs up

@rusackas rusackas merged commit 5435064 into apache:master Dec 9, 2020
@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.

None yet

5 participants