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

[charts-pro] Avoid relative reference to @mui/x-charts package #14335

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

LukasTy
Copy link
Member

@LukasTy LukasTy commented Aug 26, 2024

Fixes #14314.

@LukasTy LukasTy added bug 🐛 Something doesn't work plan: Pro Impact at least one Pro user component: charts This is the name of the generic UI component, not the React module! labels Aug 26, 2024
@LukasTy LukasTy self-assigned this Aug 26, 2024
@mui-bot
Copy link

mui-bot commented Aug 26, 2024

Deploy preview: https://deploy-preview-14335--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against ad836d4

Copy link

codspeed-hq bot commented Aug 26, 2024

CodSpeed Performance Report

Merging #14335 will not alter performance

Comparing LukasTy:fix-charts-pro-import (ad836d4) with master (b321b40)

Summary

✅ 3 untouched benchmarks

@LukasTy LukasTy requested a review from a team August 26, 2024 07:19
Copy link
Member

@alexfauquette alexfauquette left a comment

Choose a reason for hiding this comment

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

Thanks for handling it

@@ -11,8 +11,10 @@
"packages/x-date-pickers",
"packages/x-date-pickers-pro",
"packages/x-charts",
"packages/x-charts-pro",
Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to check the issue with a CodeSandbox published package and noticed that we are not publishing new pro packages in CI.
Do you think there is a reason for it, or did we just forget to add them to the list? 🤔

Copy link
Member

Choose a reason for hiding this comment

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

I think we just forgot it

} from '@mui/x-charts/internals';
import { ChartsAxisProps, ScaleName, AxisConfig } from '@mui/x-charts';
import { ZoomData } from '../ZoomProvider';
import { getScale } from '../../../../x-charts/src/internals/getScale';
Copy link
Member

Choose a reason for hiding this comment

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

Didn't eslint pick this up? 😮

Copy link
Member Author

Choose a reason for hiding this comment

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

Somehow it didn't. 🤔
Could be because of the issues in the ESLint config that are pending resolution: #13401

@alexfauquette alexfauquette merged commit 377d5a0 into mui:master Aug 26, 2024
19 checks passed
@LukasTy LukasTy deleted the fix-charts-pro-import branch August 26, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: charts This is the name of the generic UI component, not the React module! plan: Pro Impact at least one Pro user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[charts-pro] Dependency local workspace reference causes runtime errors on createAxisFilterMapper
4 participants