Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 38 commits into from
May 19, 2022
Merged

feat: Add create workspace page #1589

merged 38 commits into from
May 19, 2022

Conversation

kylecarbs
Copy link
Member

@kylecarbs kylecarbs commented May 19, 2022

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:

  • Name of the template
  • Preview of the resources to be provisioned
  • Markdown of the template version (this is in the readme property on a template version)

@kylecarbs kylecarbs marked this pull request as ready for review May 19, 2022 15:54
@kylecarbs kylecarbs requested review from presleyp and a team as code owners May 19, 2022 15:54
@kylecarbs kylecarbs self-assigned this May 19, 2022
@kylecarbs kylecarbs requested a review from BrunoQuaresma May 19, 2022 15:57
id: "templateState",
initial: "gettingOrganizations",
states: {
gettingOrganizations: {
Copy link
Collaborator

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.

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 wasn't sure how to make it parallel, is there another file I can reference for example?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

Captured this in #1603

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.

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.

@BrunoQuaresma
Copy link
Collaborator

I made some QA and it works well for me.

@BrunoQuaresma BrunoQuaresma enabled auto-merge (squash) May 19, 2022 20:43
@BrunoQuaresma BrunoQuaresma merged commit 3be3560 into main May 19, 2022
@BrunoQuaresma BrunoQuaresma deleted the singletemplate branch May 19, 2022 20:51
kylecarbs added a commit that referenced this pull request Jun 10, 2022
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.

3 participants