-
Notifications
You must be signed in to change notification settings - Fork 896
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fa872e0
to
63827ef
Compare
89e54a4
to
bd2bb03
Compare
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! 💀
|
||
export const TemplateCard: 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 captures attrs
, but there's definitely precedent for calling it whateverProps
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"
@aslilac Can you comment on the feedback from @BrunoQuaresma as you have more context around the design decisions? |
fc2e6f9
to
801138a
Compare
@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. |
Resolves #13775
MultiOrgTemplatesPageView
using a grid layoutMultiOrgTemplatesPageView
TemplateCard