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

Skip to content

feat(site): allow selecting an organization when creating a template #14061

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 65 commits into from
Aug 2, 2024

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Jul 30, 2024

Closes #13877
Closes #13879

This PR is kind of massive because all of the existing template views assume that the template you're looking at is in the default org. Allowing creating a template under any org, means all of this UI needs to be updated, some tests need to change, etc. This even sparked a pretty large backend change (tho that became its own PR and has already been merged).

Screenshot 2024-07-30 at 3 28 12 PM

Important note (reviewers, seriously please read this)

  1. You currently cannot find the template you created in the UI on the /templates page. This is intentional! That work was already completed in a different PR, which unfortunately got reverted. This change is purely to enable creating templates in other orgs, and is already large. The rest of the flow will come (back) later. :)

  2. Make sure you have a provisioner connected to whatever org you want to create a template for if you try kicking the tires on this. This requires some manual effort and know-how, so please let me know if you need help testing.

@aslilac aslilac requested a review from jaaydenh July 30, 2024 22:01
@aslilac aslilac marked this pull request as ready for review July 30, 2024 22:01
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.

The code looks good to me. I will try to run it locally, and if I need any help with that, I will ping you. I think something useful would be adding in the description, a step-by-step tutorial to get it running.

@BrunoQuaresma
Copy link
Collaborator

After reading the PR description again, I can see how difficult it can be to test locally. I think our tests can catch most of the bugs we may have so I will move forward and approve the PR but please let me know if you want a QA on dev.coder.com when it gets merged.

@aslilac
Copy link
Member Author

aslilac commented Jul 31, 2024

ok, this is basically ready to merge, but I need to do a little bit of tweaking with links and navigation that I think would probably be better off in a separate PR, rather than making this one even larger.

@aslilac aslilac merged commit 7125b37 into main Aug 2, 2024
31 checks passed
@aslilac aslilac deleted the kayla/multi-org-create-template branch August 2, 2024 00:04
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-org create template form
3 participants