-
Notifications
You must be signed in to change notification settings - Fork 904
feat: Add create workspace page #1589
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
This allows the frontend to render inputs displaying these values!
Co-authored-by: Cian Johnston <[email protected]>
id: "templateState", | ||
initial: "gettingOrganizations", | ||
states: { | ||
gettingOrganizations: { |
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 see gettingOrganizations, gettingTemplate, gettingTemplateVersion, and gettingTemplateSchema are chained which can make the load time noticeable. If it is a problem, I think it is ok for now, we can make them parallel states.
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 wasn't sure how to make it parallel, is there another file I can reference for example?
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.
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.
Captured this in #1603
site/src/pages/CreateWorkspacePage/CreateWorkspacePage.test.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM, I just would like to highlight the successful test case. I don't think it is working(catching errors if they happen) in the current state.
I made some QA and it works well for me. |
This page certainly needs some visual love, but I'll add that in another PR. This implements the core functionality for creating a workspace via the UI.
Things to be added in the future:
readme
property on a template version)