Skip to content

Remove emulator option for non-windows #1246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2019
Merged

Remove emulator option for non-windows #1246

merged 1 commit into from
Apr 30, 2019

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Apr 30, 2019

The emulator story on non-windows is using Azurite - but that has some limitations (see #1245) and probably isn't up-to-par quite yet

Since I'm not showing the emulator, I feel like I need to do a "Skip for now" button
Screen Shot 2019-04-30 at 2 30 16 PM

Screen Shot 2019-04-30 at 2 44 49 PM

@ejizba ejizba requested a review from a team as a code owner April 30, 2019 21:45
if (result === selectAccount) {
wizardContext.azureWebJobsStorageType = 'azure';
} else if (result === useEmulator) {
wizardContext.azureWebJobsStorageType = 'emulator';
}

// tslint:disable-next-line: strict-boolean-expressions
wizardContext.actionContext.properties.azureWebJobsStorageType = wizardContext.azureWebJobsStorageType || 'skipForNow';
Copy link
Member

Choose a reason for hiding this comment

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

You already have telemetry on the os right?

Copy link
Contributor Author

@ejizba ejizba Apr 30, 2019

Choose a reason for hiding this comment

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

Yeah that's part of the default stuff collected for all events

// Only show on Windows until this is fixed: https://github.com/Microsoft/vscode-azurefunctions/issues/1245
buttons.push(useEmulator);
}
buttons.push(skipForNow);
Copy link
Member

Choose a reason for hiding this comment

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

Should this only have skipForNow if it's not Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm meh on that button, but figured I might as well add it and see what people do in the telemetry. We can remove it if no one picks it

@ejizba ejizba merged commit cd5cedb into master Apr 30, 2019
@ejizba ejizba deleted the ej/emulator branch April 30, 2019 22:52
@JustinGrote
Copy link

FYI I've seen the above message with Azurite if AzureWebJobsDashboard is not specified. If you specify it with a blank "" it doesn't appear.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2021
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.

3 participants