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
Restores the site name search functionality removed in #335, along with some minor updates to copy and code. Partially addresses #496.
Test plan
Run the
netlify link
command and try all of the options in the prompt tree:origin
set ingit remote
(prompt won't display in choices)origin
set that has no connected sitesorigin
set that has one connected site (this may still fail due to netlify link doesn't recognize sites in different teams #498 and Support pagination js-client#39)origin
set that has more than one connected site (may also fail for same reasons)Description for the changelog
link
command promptslink
command prompt text for greater clarity and consistencylink
command prompt code for consistency between promptsOther impacts
This also changes the telemetry data collected for the
kind
field:byName
changed to refer to the "search by name" prompt again as it did in v2.11.23 and beforefromList
A picture of a cute animal (not mandatory but encouraged)