Skip to content

feat: Add templates page #1510

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

Merged
merged 10 commits into from
May 18, 2022
Merged

feat: Add templates page #1510

merged 10 commits into from
May 18, 2022

Conversation

kylecarbs
Copy link
Member

All of the states are added in Storybook, so feel free to poke around and provide feedback!

This is pretty basic for now, but I'm thinking we should add a little resource preview column that displays operating systems and architectures 🤓

image

@kylecarbs kylecarbs self-assigned this May 17, 2022
@kylecarbs kylecarbs requested review from presleyp and a team as code owners May 17, 2022 14:24
@kylecarbs kylecarbs force-pushed the templatepage branch 3 times, most recently from 15637bd to 6e2e734 Compare May 17, 2022 14:28
</div>
</TableCell>
</TableRow>
)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be an associated spinner view when loading is true? In the Storybook right now, toggling loading doesn't change anything:

Loading

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added!

Comment on lines +46 to +48
<TableCell>Name</TableCell>
<TableCell>Used By</TableCell>
<TableCell>Last Updated</TableCell>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Language for these as well

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to add it, but I'm curious why do it for small labels like this? Seems like it's most valuable for testing, and I don't think we'd want to test that each column appears.

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can do some improvements in the templates machine that could make it simpler for future maintenance but not blockers tho.

Copy link
Member

@Kira-Pilot Kira-Pilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job!!

@kylecarbs kylecarbs merged commit 76fc59a into main May 18, 2022
@kylecarbs kylecarbs deleted the templatepage branch May 18, 2022 14:05
Copy link
Contributor

@greyscaled greyscaled left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! ✔️

kylecarbs added a commit that referenced this pull request Jun 10, 2022
* feat: Add template page

* Create xService

* Update column names

* Show create template conditionally

* Add template description

* Route to templates

* Add empty states

* Add tests

* Add loading indicator

* Requested changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants