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(plugin-chart-echarts): boxplot throw error in the dashboard #21661

Merged
merged 1 commit into from
Oct 1, 2022

Conversation

stephenLYZ
Copy link
Member

SUMMARY

The reason is the controlPanelState may be null in the dashboard.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

image

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Copy link
Member

@zhaoyongjie zhaoyongjie 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 the fix! IMO, we should find out why the controlPanel logic took the process in Dashboard.

@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Merging #21661 (40ce61c) into master (9dd102f) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #21661      +/-   ##
==========================================
- Coverage   66.83%   66.83%   -0.01%     
==========================================
  Files        1798     1798              
  Lines       68823    68820       -3     
  Branches     7333     7331       -2     
==========================================
- Hits        45996    45993       -3     
  Misses      20949    20949              
  Partials     1878     1878              
Flag Coverage Δ
javascript 53.16% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
...et-ui-chart-controls/src/shared-controls/index.tsx 57.14% <ø> (ø)
...t-ui-chart-controls/src/shared-controls/mixins.tsx 33.33% <ø> (ø)
...s/plugin-chart-echarts/src/BoxPlot/controlPanel.ts 5.55% <0.00%> (ø)
...ugins/plugin-chart-echarts/src/Gauge/buildQuery.ts 66.66% <0.00%> (-8.34%) ⬇️
...s/plugin-chart-handlebars/src/plugin/buildQuery.ts 100.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@stephenLYZ stephenLYZ merged commit 61bd696 into apache:master Oct 1, 2022
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 and removed 🚢 2.1.3 labels Mar 13, 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 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants