refactor(project): improve project creation UX flow#919
Merged
Soner (shyim) merged 2 commits intomainfrom Mar 19, 2026
Merged
Conversation
Move Docker option out of advanced settings into the main form so it's always presented. Improve next steps output for interactive mode and add logging when CI templates are created. Pass context to setupCI for proper structured logging support.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the project create command’s interactive UX by surfacing the Docker choice earlier, improving the post-create messaging, and adding log output when CI templates are generated.
Changes:
- Move the Docker prompt into the main interactive form (no longer gated behind “advanced”).
- Update interactive “next steps” output to show a “Setup complete” message and Docker-specific instructions conditionally.
- Add context-aware logging to
setupCIand update tests/callers for the new signature.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
cmd/project/project_create.go |
Adjusts interactive form flow and output; adds ctx-based logging in setupCI. |
cmd/project/project_create_test.go |
Updates setupCI calls to pass a context. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
- Move Docker prompt out of advanced settings into main flow - Rename advanced settings to clearer question phrasing - Fix "Setup" typo to "Set up" in next steps output - Show project folder path in success message - Quote project folder in cd command for paths with spaces - Show access URLs and credentials only when Docker is enabled - Add logging when CI template files are created
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setupCInow acceptscontext.Context)Test plan
go test ./cmd/project/ -run TestSetupCI)--docker) flag still works correctly