mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[docs] Allow for the source code to be visible

Open DanailH opened this issue 3 months ago • 1 comments

Feedback received: It would be nice to see the source code from https://mui.com/x/react-data-grid/demos/real-time-data/#

This is feedback that was provided through the feedback form located at the bottom of the page. This allies to the other example under Demos as well

DanailH avatar Sep 23 '25 12:09 DanailH

I noticed on Slack that multiple users have requested for the code. While we figure out the multi-file solution, should we just link the source folder: https://github.com/mui/mui-x/tree/master/docs/src/modules/components/demos/data-grid/StockDashboard below this demo?

Although users can find it themselves, but some clearly aren't.

prakhargupta1 avatar Dec 10 '25 05:12 prakhargupta1

I'm reopening this PR https://github.com/mui/mui-x/pull/19759/ to merge as a first version, I think it's good. As an add-on, we can just add the GitHub icon next to the demos titles for easy access to the source code

alelthomas avatar Dec 10 '25 18:12 alelthomas

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

github-actions[bot] avatar Dec 11 '25 23:12 github-actions[bot]