[CICD-DX] Improve project selection with input selector #14280
+45
−17
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.
Improve project linking experience in CLI.
If a user has <= 100 projects for their team, we allow users to scroll and search for their projects. For users with more than 101, we maintain the current flow where users need to type the project in directly. Supporting users with a large number of project names requires more network calls, and may not necessarily be a notably improved experience. This threshold can be reevaluated in the future.
A v2 of this feature could include a search or scroll-through-all-projects, though would introduce more network calls. For users with few projects, a input selector view seems preferable though.
<100 projects
> 100 projects
No projects
ref https://linear.app/vercel/issue/FLOW-4715/make-project-names-autocomplete-when-linking-to-existing-project