vscode-azurefunctions
vscode-azurefunctions copied to clipboard
Having multiple create buttons is confusing
When a customer has both Functions and SWA, it's confusing to see this:
I know that the commands are contributed independently, but what's possible to simplify how this is exposed?
Hm, it's more clear from the command menu as it's prefixed with the extension:
but I imagine that would be quite wordy for the dropdown, might get truncated?
I have to admit, I'm now confused (as a user) as to why Static Web Apps need to create HTTP functions, but that's because I haven't explored SWAs at all. I might have a better suggestion when I learn more about SWAs.
cc @kjaymiller (who took those screenshots)
You can create a static web app from an azure function. I haven't tried this to see the difference but to my knowledge there are some javascript frameworks that can deploy a static site with a command. My assumption would be that this is to support that workflow.
We've been brainstorming solutions to this issue over on https://github.com/microsoft/vscode-azureresourcegroups/issues/316, feel free to chime in.
Temporarily, we can change the labels to be more explicit about which project it is adding to.