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: implement force refresh in chart data request #9762

Merged
merged 2 commits into from
May 7, 2020

Conversation

villebro
Copy link
Member

@villebro villebro commented May 7, 2020

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

With the introduction of the new chart data API, support for force updating charts was temporarily lost. This updates the @superset-ui/chart and @superset-ui/query packages which recently added support for force updates ( apache-superset/superset-ui#445 ) and adds the force property to formData, which is now properly deserialized by the new endpoint ( #9749 ).

BEFORE

word-cloud-before

AFTER

word-cloud-after

TEST PLAN

Local testing (unit tests will be updated later as more charts are migrated to the new endpoint and the old endpoint is deprecated)

ADDITIONAL INFORMATION

REVIEWERS

@suddjian @rusackas @kristw @ktmud

Copy link
Member

@suddjian suddjian left a comment

Choose a reason for hiding this comment

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

nice!

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!

@rusackas rusackas merged commit 5b430ea into apache:master May 7, 2020
@rusackas rusackas deleted the villebro/api-chart-data-force branch May 7, 2020 16:33
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.37.0 labels Feb 28, 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/S 🚢 0.37.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants