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: Revert "chore: Changes the DatabaseSelector and TableSelector to use the new Select component" #16478

Merged

Conversation

etr2460
Copy link
Member

@etr2460 etr2460 commented Aug 26, 2021

Reverts #16334

This is the root cause PR for the issue here: #16475. Reverting as opposed to fixing forward since this was a pretty big PR and i unfortunately don't have the time to dig into a fix. Hope that's ok!

to: @michael-s-molina @lilykuang @graceguo-supercat @ktmud

@etr2460 etr2460 changed the title Revert "chore: Changes the DatabaseSelector and TableSelector to use the new Select component" fix: Revert "chore: Changes the DatabaseSelector and TableSelector to use the new Select component" Aug 26, 2021
@codecov
Copy link

codecov bot commented Aug 26, 2021

Codecov Report

Merging #16478 (28e0e75) into master (f422f1e) will decrease coverage by 0.36%.
The diff coverage is 78.46%.

❗ Current head 28e0e75 differs from pull request most recent head cce34a5. Consider uploading reports for the commit cce34a5 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16478      +/-   ##
==========================================
- Coverage   76.61%   76.25%   -0.37%     
==========================================
  Files        1002     1002              
  Lines       53674    53787     +113     
  Branches     6855     6870      +15     
==========================================
- Hits        41123    41015     -108     
- Misses      12312    12535     +223     
+ Partials      239      237       -2     
Flag Coverage Δ
hive 81.23% <50.00%> (-0.03%) ⬇️
mysql ?
postgres ?
presto ?
python 81.23% <50.00%> (-0.82%) ⬇️
sqlite ?

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

Impacted Files Coverage Δ
...ontend/src/views/CRUD/data/dataset/DatasetList.tsx 69.41% <ø> (ø)
superset-frontend/src/components/Select/Select.tsx 73.42% <25.00%> (-3.16%) ⬇️
superset/views/core.py 71.72% <33.33%> (-3.57%) ⬇️
...erset-frontend/src/datasource/DatasourceEditor.jsx 74.81% <50.00%> (ø)
...et-frontend/src/components/TableSelector/index.tsx 84.25% <81.81%> (+22.96%) ⬆️
...frontend/src/components/DatabaseSelector/index.tsx 92.70% <95.77%> (+26.04%) ⬆️
superset-frontend/src/SqlLab/actions/sqlLab.js 59.49% <100.00%> (+0.92%) ⬆️
...et-frontend/src/components/CertifiedIcon/index.tsx 100.00% <100.00%> (ø)
superset-frontend/src/components/Icons/Icon.tsx 100.00% <100.00%> (ø)
...nd/src/components/WarningIconWithTooltip/index.tsx 100.00% <100.00%> (ø)
... and 32 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 f422f1e...cce34a5. Read the comment docs.

@michael-s-molina
Copy link
Member

@etr2460 You can revert it. No problem at all. I'll search for the problem and re-submit as soon as possible 👍🏼

@michael-s-molina michael-s-molina merged commit 8adc31d into master Aug 27, 2021
@ktmud
Copy link
Member

ktmud commented Aug 27, 2021

Un an unrelated note, the conventional commit topic of the original PR should be "refactor:" not "chore:".

amitmiran137 pushed a commit to nielsen-oss/superset that referenced this pull request Aug 29, 2021
* upstream/master:
  fix: create example DB if needed (apache#16451)
  fix(native-filters): add handle undefined control value gracefully (apache#16468)
  Revert "chore: Changes the DatabaseSelector to use the new Select component (apache#16334)" (apache#16478)
  fix(explore): JS error for creating new metrics from columns (apache#16477)
  fix: queryEditor bug (apache#16452)
  docs: make code snippet usable with required imports (apache#16473)
  perf(dashboard): decouple redux props from dashboard components (apache#16421)
  perf(dashboard): reduce number of rerenders of Charts (apache#16444)
@jinghua-qa
Copy link
Member

🏷 2021.34

stevenuray pushed a commit to preset-io/superset that referenced this pull request Aug 31, 2021
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
@mistercrunch mistercrunch deleted the revert-16334-change-database-selector-select branch March 26, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants