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: remove queryFields in QueryObject and update chart control configs #12091

Merged
merged 4 commits into from
Dec 23, 2020

Conversation

ktmud
Copy link
Member

@ktmud ktmud commented Dec 17, 2020

SUMMARY

Remove queryFields from formData and queryContext as per discussion in #9962 (comment)

Requires apache-superset/superset-ui#862

Also brings changes in #12147
to bundle the breaking changes into one working PR.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A

TEST PLAN

No functional changes, all CI should pass

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 Dec 17, 2020

Codecov Report

Merging #12091 (9b30284) into master (ca680cf) will decrease coverage by 4.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12091      +/-   ##
==========================================
- Coverage   67.19%   63.06%   -4.13%     
==========================================
  Files         994      994              
  Lines       49079    49067      -12     
  Branches     4982     4983       +1     
==========================================
- Hits        32977    30945    -2032     
- Misses      15980    17922    +1942     
- Partials      122      200      +78     
Flag Coverage Δ
cypress ?
javascript 61.24% <100.00%> (+<0.01%) ⬆️
python 64.25% <100.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
superset-frontend/src/explore/controls.jsx 26.82% <ø> (ø)
superset-frontend/src/explore/store.js 57.14% <ø> (-35.97%) ⬇️
superset-frontend/src/explore/controlUtils.js 93.04% <100.00%> (-4.31%) ⬇️
superset/common/query_object.py 91.59% <100.00%> (+0.07%) ⬆️
superset-frontend/src/SqlLab/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupColors.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/chart/ChartContainer.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/reducers/index.js 0.00% <0.00%> (-100.00%) ⬇️
... and 187 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 ca680cf...9b30284. Read the comment docs.

@ktmud ktmud force-pushed the query-object-params branch 4 times, most recently from 6e82bca to 01f9f72 Compare December 18, 2020 19:15
Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for ripping this out!

@ktmud ktmud force-pushed the query-object-params branch 2 times, most recently from ae3ab25 to 54a7f84 Compare December 21, 2020 19:27
@ktmud ktmud changed the title refactor: remove queryFields in QueryObject refactor: remove queryFields in QueryObject and update chart control configs Dec 22, 2020
@villebro
Copy link
Member

villebro commented Dec 22, 2020

Looks like the failed cypress tests are causing errors on unrelated PRs. I'll restart a few times to see if they're just flaky.

@ktmud ktmud merged commit d2da25a into apache:master Dec 23, 2020
villebro pushed a commit to preset-io/superset that referenced this pull request Jan 7, 2021
…configs (apache#12091)

* Clean up queryFields

* Clean up unused vars

* Bump chart plugins

* Bringing changes in apache#12147
villebro pushed a commit to preset-io/superset that referenced this pull request Jan 7, 2021
…configs (apache#12091)

* Clean up queryFields

* Clean up unused vars

* Bump chart plugins

* Bringing changes in apache#12147
@ktmud ktmud deleted the query-object-params branch January 15, 2021 19:27
@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/L 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants