-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs] Add Toolpad Core template link #44415
Merged
bharatkashyap
merged 38 commits into
mui:master
from
bharatkashyap:docs/toolpad-core-template
Dec 9, 2024
Merged
Changes from 6 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a7cde8b
wip: Add Toolpad Core template
bharatkashyap 60300ff
fix: No dark mode on sign in page
bharatkashyap 7f35451
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap acb11e4
fix: Incorrect
bharatkashyap 84fe467
Merge branch 'docs/toolpad-core-template' of github.com:bharatkashyap…
bharatkashyap 94b22ed
fix: add `pnpm template:screenshot toolpad` output
bharatkashyap 2f7a1e1
fix: Move back to original section
bharatkashyap 885ef1d
fix: CI
bharatkashyap 7dc4267
Merge branch 'master' of github.com:mui-org/material-ui into docs/too…
bharatkashyap 62f3aff
fix: CI again
bharatkashyap 6245ac8
Merge branch 'master' of github.com:mui-org/material-ui into docs/too…
bharatkashyap a231e38
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap 2f65933
fix: Olivier review, Vale
bharatkashyap 56a0626
Merge branch 'docs/toolpad-core-template' of github.com:bharatkashyap…
bharatkashyap 50ac8ae
fix: Link, add template redirects
bharatkashyap 72a85d8
Merge branch 'master' of github.com:mui-org/material-ui into docs/too…
bharatkashyap c015dea
fix: Add image, callout from examples page
bharatkashyap 050eade
fix: CI
bharatkashyap e0e443a
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap c0dc8bd
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap dc6ce80
fix: CI
bharatkashyap 5856a7e
Merge branch 'docs/toolpad-core-template' of github.com:bharatkashyap…
bharatkashyap fdd86f9
fix: CI
bharatkashyap cd7f3c8
fix: Missed removing
bharatkashyap 1a4db18
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap 6a2202c
Merge branch 'master' of github.com:mui-org/material-ui into docs/too…
bharatkashyap b1c8367
fix: image borders
bharatkashyap 3a1b516
Merge branch 'docs/toolpad-core-template' of github.com:bharatkashyap…
bharatkashyap 6839785
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap 0ee61aa
fix: Images, copy on examples page
bharatkashyap 80ae9a8
Merge branch 'docs/toolpad-core-template' of github.com:bharatkashyap…
bharatkashyap b4bc25d
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap 991de3e
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap fddfce7
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap 47478bb
Merge branch 'master' into docs/toolpad-core-template
bharatkashyap 56a50fc
Olivier's feedback
prakhargupta1 ae61db3
missed
prakhargupta1 951e298
missed
prakhargupta1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+32.1 KB
docs/public/static/screenshots/toolpad/core/templates/nextjs-dashboard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interleaving different types of content feels like a big no-no.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean we should create a separate section for Toolpad Core templates on this page, or create a separate page for them, or do you mean that the Toolpad-specific copy should be stored separately from the rest of the content (not in
translations.json
?)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep the Toolpad templates separate from the rest of the templates, because they seem to serve somewhat different use cases and I'm afraid we'd be presenting users with too many options. I think the way this page is currently structured with Toolpad Core as its own section makes the most sense. (I've suggested some copyedits to this section in #44461 to say more about Toolpad's value proposition.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bharatkashyap Right so not the current shape.
Now, I'm not sure what's the right way to approach this, but at first sight, I would imagine we would have nothing else? I mean, having a link to Toolpad from this page that lists all the existing Toolpad templates seems great, similar to how the premium store items can be browsed.
We covered a bit of Toolpad product architecture in today's https://www.notion.so/mui-org/product-Company-Product-Meeting-2024-11-18-135cbfe7b66080518203cff028b28579. The main thought was that:
How do we know if a feature is right for Toolpad or another place in the stack? In my view, it's about:
For example:
cc @joserodolfofreitas see if this resonates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that putting Toolpad template in it's own section will help users distinguish between the templates. We were earlier thinking that it would be better if the user could see Toolpad template before scroll, but due to the design revamp of this page, scrolling is inevitable. So, a separate section will help visually differentiate.
We'll replace the dashboardLayout demo with the hosted Toolpad core template. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but this list of templates demos using the Toolpad primitives should be in Toolpad's docs, not in Material UI's docs because it's not a Material UI feature or value proposition of Material UI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Listing Toolpad template here will only make it more discoverable to the Material UI users who are looking for templates. Some of them may be interested in it, so I think we should have it here, at the bottom, in a section of its own.
Also, the templates docs page attracts many users, so not listing it here, would be a missed opportunity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prakhargupta1 Referencing Toolpad here makes sense to me, a person reaching for a template has about a 25% probability to be a user we build Toolpad for (internal tool 0.5 * simple use cases 0.5). It's also at the right time in the user journey.
However,
So It seems that the only viable option is to reference Toolapd like we do for the template market: so no list, but a link.