Open Adam-it opened 2 months ago
shoot it over to me 😎.
shoot it over to me 😎.
Rockstar 🤩
@DevPio I just added and hacktoberfest label to this issue. If you open a PR for this issue over October it will count towards the hacktoberfest event 🤩
Do you want the functionality to ensure that all CLI command executions automatically display the status in the VS Code output window, along with adding Notifications.info for tracking changes on screen and Notifications.error in case of an error?
Do you want the functionality to ensure that all CLI command executions automatically display the status in the VS Code output window, along with adding Notifications.info for tracking changes on screen and Notifications.error in case of an error?
it's not about every CLI command execution but every that is done over the CLI actions.
when we use the window.withProgress
we should also include the way to easily transfer to the output window.
Currently we for example have something like
await window.withProgress({
location: ProgressLocation.Notification,
title: 'Granting API permissions for the current project...',
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
.....
the issue is about changing this to
await window.withProgress({
location: ProgressLocation.Notification,
title: 'Granting API permissions for the current project. Check [output window](command:${Commands.showOutputChannel}) to follow the progress',
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
.....
The same way as we already have for the deploy
action.
That way users in the notify will get the link that will open the output window to show the CLI logs.
and it's only that. nothing more 😉
🎯 Aim of the feature
In
deploy
action we show the following messageThe 'check [output window]...' part is really helpful as it is easy to transfer to the VS Code extension output and check what it is currently doing and what CLI for Microsoft 365 commands are done under the hood to make this happen
Unfortunately this was only added to this single action. We should:
window.withProgress...
add theCheck [output window](command:${Commands.showOutputChannel}) to follow the progress.
sentence to the loader/progress message📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
No response