-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
A Material Template Example #1254
Conversation
This is great! I'll probably start adapting this for my work on default templates. One comment for now, please always clear the notebooks you commit to the repo. |
Hi @philippjfr I managed to get the I believe this shows that using the
For me this has been a major motivation and goal to reach and the driver of the work I have put in so far. I think I will go out and take a glass of wine or a cup of tea :-) When/ if I get the time I would love to see example Notebooks for Bootstrap and Vaadin as well. Both build on Web Components. Maybe I can find the time. |
Created some github issues for problems with the Known Issues |
I have feedback regarding the menu buttons. See material-components/material-web#1114 (comment). I should switch to a FYI. @philippjfr if you are working on a general Material Template. |
Note that until MWC has complete support for all material components I will be using material components web, i.e. MDC not MWC. |
Just the reasons why I've been looking to But |
I haven't seen any issues so far, at least in server apps.
This is a good point, MWC will definitely work better in the notebook as there is a little bit of weirdness there otherwise. If only the card component was complete...
Yes, haven't seen any issue there, as you say MWC is nicely isolated.
I'm talking about a default template here, a user would rarely mess with classes directly here. I might try to provide both a MWC and MDC based default template and then compare. |
Would this be merged as an example? Or is it replaced by some of the new templates or ? |
I think it's still reasonable to merge it but call it "Custom Material Template" instead. |
The reason I didn't merge this or give further feedback was because I assumed it was at least partially subsumed by the material template. If you still think we should go forward we will have to find some way to make clear that this is a very different beast from the bundled |
Thx. The intention here is not to create a template for users to use. But document how to create custom JINJA templates. Very few people know how to do this today. And it's a super power of Panel that neither Streamlit nor Dash has. Currently users try to use Panel layouts to layout and style their app. And that is just difficult to use to layout an entire app with. It's great for smaller sections. But not the entire app. Today (I claim) an organisation or project would not know they can make a custom template with their brand and maybe a mobile layout and using some layout components from a framework to get something awesome going. |
In my vision there would be a section in the gallery of Custom Templates just like you would have a section on Streaming apps. That section could contain a Bootstrap example, A Fast Example, a Shoelace Example, a Ionic example etc. That would help users get started but also just understand what is possible. From the current documentation there is no visualization of a custom template that looks awesome. Only the included templates are shown. |
Merging for now, will have to find a way to organize this better before releasing 0.11. |
I have created a Material Template Example .
I don't yet know where this will end. Maybe it will end as
mwc
components to build awesome analytics apps in Python.There will be a lot of small tweaks to do. But it got a good start.
To me creating a few good, high quality templates like this is a killer feature. It makes Panel able to compete with BI tools and modern Front End frameworks. But in Python (almost) only.