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

chore: Moves AsyncSelect component and tests to own folder #13314

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

michael-s-molina
Copy link
Member

SUMMARY

Moves AsyncSelect component and tests to own folder.

TEST PLAN

1 - Execute AsyncSelect tests
2 - All tests should pass

@rusackas

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

@codecov-io
Copy link

codecov-io commented Feb 24, 2021

Codecov Report

Merging #13314 (09d56d7) into master (29d6420) will decrease coverage by 18.70%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #13314       +/-   ##
===========================================
- Coverage   77.20%   58.50%   -18.71%     
===========================================
  Files         872      480      -392     
  Lines       45101    16003    -29098     
  Branches     5435     4130     -1305     
===========================================
- Hits        34820     9362    -25458     
+ Misses      10158     6641     -3517     
+ Partials      123        0      -123     
Flag Coverage Δ
cypress 58.50% <ø> (-0.04%) ⬇️
javascript ?
python ?

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

Impacted Files Coverage Δ
...rset-frontend/src/components/AsyncSelect/index.jsx 74.07% <ø> (ø)
...uperset-frontend/src/dashboard/util/dnd-reorder.js 0.00% <0.00%> (-100.00%) ⬇️
...rset-frontend/src/dashboard/util/getEmptyLayout.js 0.00% <0.00%> (-100.00%) ⬇️
...dashboard/components/resizable/ResizableHandle.jsx 0.00% <0.00%> (-100.00%) ⬇️
...tersConfigModal/Footer/CancelConfirmationAlert.tsx 0.00% <0.00%> (-100.00%) ⬇️
...ConfigModal/FiltersConfigForm/FilterScope/state.ts 0.00% <0.00%> (-100.00%) ⬇️
...odal/FiltersConfigForm/FilterScope/ScopingTree.tsx 6.25% <0.00%> (-93.75%) ⬇️
.../src/dashboard/util/getFilterScopeFromNodesTree.js 0.00% <0.00%> (-93.48%) ⬇️
...src/dashboard/components/gridComponents/Header.jsx 10.52% <0.00%> (-86.85%) ⬇️
superset-frontend/src/components/IconTooltip.tsx 13.33% <0.00%> (-86.67%) ⬇️
... and 737 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 29d6420...09d56d7. Read the comment docs.

@@ -21,7 +21,7 @@ import PropTypes from 'prop-types';
// TODO: refactor this with `import { AsyncSelect } from src/components/Select`
import { Select } from 'src/components/Select';
import { t, SupersetClient } from '@superset-ui/core';
import { getClientErrorObject } from '../utils/getClientErrorObject';
import { getClientErrorObject } from '../../utils/getClientErrorObject';
Copy link
Member

Choose a reason for hiding this comment

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

nit: think we want absolute paths here src/utils/getClientErrorObject

Copy link
Member

Choose a reason for hiding this comment

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

tagging this with revisit:src path for someone else to come along and touch up later. On with the show!

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.

Agree with @pkdotson's nit, but approving nonetheless. We can/should go through and just sweep up ALL these paths one day.

@rusackas rusackas merged commit 7055c05 into apache:master Feb 26, 2021
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.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 test:component 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants