- Notifications
You must be signed in to change notification settings - Fork1.1k
feat: implement multi-org template gallery#13784
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fa872e0 to63827efCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
BrunoQuaresma commentedJul 12, 2024
89e54a4 tobd2bb03Compare
aslilac left a comment
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.
sorry for taking so long to review! 💀
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| exportconstTemplateCard:FC<TemplateCardProps>=({ | ||
| template, | ||
| ...divProps |
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.
super minor nit, I tend to call these sorts of capturesattrs, but there's definitely precedent for calling itwhateverProps too. maybe this is something we should consolidate on...
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 was following the pattern in the files I was working on. In other code bases/the React docs, this is often called ...props as well. I think it depends if we want to call them based on what they are, "props" or how they are used, props on divs "divProps" or attributes on divs "attrs"
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
jaaydenh commentedJul 17, 2024
@aslilac Can you comment on the feedback from@BrunoQuaresma as you have more context around the design decisions? |
fc2e6f9 to801138aCompareaslilac commentedJul 18, 2024
@BrunoQuaresma the design is based off of the starter template gallery, and aims to bring some distinction between the appearance of workspace related pages and the appearance of the template related pages. investigating the pills idea sounds interesting, but we can mess with the design more after the experiment has shipped. |


Uh oh!
There was an error while loading.Please reload this page.
Resolves#13775
MultiOrgTemplatesPageViewusing a grid layoutMultiOrgTemplatesPageViewTemplateCard