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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs][joy-ui] Fix dashboard template console errors #40316

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Dec 25, 2023

This template wasn't usable IMHO, I'm a new user, overwhelmed, short in time: I see this, I close my tab 馃槃

Before

Screen.Recording.2023-12-26.at.00.14.44.mov

http://0.0.0.0:3000/joy-ui/getting-started/templates/order-dashboard/

After

The error is gone. There are still others in the Joy UI templates, but at least this massive spam is gone.


Noticed by chance while I was fixing #40315. Now, to be fair, I still don't think that this template is fully usable in production for a developer if you compare the report of:

between https://ui.shadcn.com/examples/dashboard and https://mui.com/joy-ui/getting-started/templates/order-dashboard/ it's a completely different story (Shadcn is close to having no problems). Or at least, we negatively differentiate with it (makes Shadcn more appealing) in this dimension.

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy labels Dec 25, 2023
@oliviertassinari oliviertassinari added the bug 馃悰 Something doesn't work label Dec 25, 2023
@oliviertassinari oliviertassinari changed the title [docs][joy-ui] Fix Dashboard console errors [docs][joy-ui] Fix dashboard template console errors Dec 25, 2023
@mui-bot
Copy link

mui-bot commented Dec 25, 2023

Netlify deploy preview

https://deploy-preview-40316--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 馃毇 dangerJS against 32eb348

@oliviertassinari oliviertassinari merged commit 9ce07b2 into mui:master Dec 28, 2023
22 checks passed
@oliviertassinari oliviertassinari deleted the joy-ui-template-fix-warning branch December 28, 2023 16:32
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 馃悰 Something doesn't work docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants