Skip to content

Find previously deployed to managed environment and recommend them#669

Merged
nturinski merged 5 commits intomainfrom
na/recommendEnv
Apr 4, 2024
Merged

Find previously deployed to managed environment and recommend them#669
nturinski merged 5 commits intomainfrom
na/recommendEnv

Conversation

@nturinski
Copy link
Copy Markdown
Member

I toyed with the idea of using grouping instead of description. Not sure if we want to go that route though in case we started grouping things by resource group or something.

Also supressedPersistence because the (recently used) description looks kind of silly with recommended.

image

@nturinski nturinski requested a review from a team as a code owner April 3, 2024 21:53
await this.setRecommendedPicks(context, picks);
const pick = await context.ui.showQuickPick(picks, { placeHolder, suppressPersistence: true });
context.telemetry.properties.usedRecommendedEnv = pick.description === recommendedPickDescription ? 'true' : 'false';
context.telemetry.properties.recommendedEnvCount =
Copy link
Copy Markdown
Contributor

@MicroFish91 MicroFish91 Apr 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh hi reduce 👋 👍

Copy link
Copy Markdown
Contributor

@MicroFish91 MicroFish91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! My only question is if we should still show this to the user even when they've entered in through the API entry-point.

@nturinski nturinski merged commit 4735645 into main Apr 4, 2024
@nturinski nturinski deleted the na/recommendEnv branch April 4, 2024 17:55
@nturinski nturinski mentioned this pull request Apr 11, 2024
@microsoft microsoft locked and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants