[dashboard] When creating a new Project in your personal account, don't ask under which team to create it #6966
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.
Description
Current situation:
/new
directly, we ask under which team (or personal account) to create the ProjectNew Project
button, we don't askNew Project
button, we ask where to put the new ProjectBoth 1. and 2. are fine, but for 3., we already know the user intended to create a new Project for their personal account, so we don't really need to ask.
In fact, we've purposefully decided to still ask here, in order to encourage users to create new teams, but maybe this isn't actually a good idea (e.g. we've seen users get confused at this point about what a team was, and creating one "by accident").
This PR fixes it: When clicking on
New Project
in your personal account, the project is now created in your personal account by default (and we don't ask for team selection).Related Issue(s)
Minimum viable change for #6686
How to test
New Project
Notes:
/new?team=<ID>
)/new?user=<any value>
)/new
without context still asks under which team (or personal account) you want to create the ProjectRelease Notes
Documentation
/uncc