feat: simplify selection of project creation#890
Merged
Soner (shyim) merged 6 commits intomainfrom Mar 3, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces usage tracking and a more guided interactive flow for project create, while also improving shutdown handling and Docker-based Composer behavior.
Changes:
- Add a new
internal/trackingpackage that resolves a stable user ID and emits UDP tracking events, plus accompanying tests. - Update
project createto use a simplified version selection UI (grouped selection) and optionally hide “advanced” configuration. - Add signal-aware root context cancellation and introduce a Docker mountability helper used during Docker-based Composer installs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
internal/tracking/tracking.go |
Implements stable ID resolution and UDP event emission for tracking. |
internal/tracking/tracking_test.go |
Adds unit tests for tracking payload sending and ID resolution behavior. |
internal/system/docker.go |
Adds IsDockerMountable() helper used by Docker Composer install path. |
cmd/root.go |
Cancels the root command context on SIGINT/SIGTERM. |
cmd/project/project_create.go |
Reworks interactive prompts (version selection + advanced toggle), emits a project.create tracking event, and tweaks Docker composer args/mounts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Uh oh!
There was an error while loading. Please reload this page.