-
Notifications
You must be signed in to change notification settings - Fork 193
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
[GTM-838][GTM-841]Add template name and fix broken template links #1089
Conversation
Initial proposal on what the template cards look like. Thoughts on this? @Alek99 @picklelo I kept it this way because the template names are kebab cased on reflex init and I thought it was intuitive to have titles as Title-cases with whitespaces instead of hyphens(or underscores). We could argue that names could simply be formatted for the titles, but that means the name displayed on the title will differ from that when you click the copy button which could be confusing, so instead, having the template name explicitly stated should clear this up. My only issue here is the use of |
This PR now depends on reflex-dev/templates#44 and reflex-dev/templates#45 |
@picklelo @tgberkeley lmk what you think |
Lets change the init with template Says in terminal """Go to the templates page (http://reflex.dev/templates/) and copy the command to init with a template The command will be like the following 'reflex init --template template_name" Then cuts the command and does not take then to the template page, that way they can see the command Now when they go to template When clicking copy on the template page it should copy the whole command reflex init --template .... The user pastes this command into their terminal The ui will look like this |
import `copy_script` from the shiki code block and reuse it
allow truncation ellipses and auto tooltip logic in browsers like safari and firefox
No description provided.