Skip to content

fix(cartodiagram): add missing locales for rendering echarts #34268

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jansule
Copy link
Contributor

@jansule jansule commented Jul 22, 2025

SUMMARY

This fixes rendering echarts viztypes on the cartodiagram plugin.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

before:

image

after:

image

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue: Cartodiagram doesn't work with pie chart #34247
  • 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

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

Review by Korbit AI

Korbit automatically attempts to detect when you fix issues in new commits.
Category Issue Status
Performance Redux Store Recreation On Every Render ▹ view 🧠 Incorrect
Files scanned
File Path Reviewed
superset-frontend/plugins/plugin-chart-cartodiagram/src/util/chartUtil.tsx
superset-frontend/plugins/plugin-chart-cartodiagram/src/components/ChartWrapper.tsx
superset-frontend/plugins/plugin-chart-cartodiagram/src/types.ts
superset-frontend/plugins/plugin-chart-cartodiagram/src/components/ChartLayer.tsx
superset-frontend/plugins/plugin-chart-cartodiagram/src/components/OlChartMap.tsx

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

Comment on lines +47 to +49
const mockStore = configureStore({
reducer: (state = { common: { locale } }) => state,
});

This comment was marked as resolved.

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!

@xavier-GitHub76
Copy link
Contributor

Could you create a temporary environment to test it ?

Copy link
Contributor

@rusackas Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments

@rusackas
Copy link
Member

@xavier-GitHub76 spinning up! It should be ready in a few minutes.

Copy link
Contributor

@rusackas Ephemeral environment spinning up at http://18.236.85.81:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup.

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.

3 participants