vscode-viva icon indicating copy to clipboard operation
vscode-viva copied to clipboard

πŸ’‘ [Feature]: Show in progress kind of message after we click on any of the SPFx app actions

Open Adam-it opened this issue 9 months ago β€’ 0 comments

🎯 Aim of the feature

Currently when we click on any of the SPFx app actions the command is executed and VS Code show now response after clicking. We only get a success or error message when the action is done. The problem is that if we don't present any reaction like 'in progress' after we click on the action the user may think that something did not work and may click multiple times. This is what I did πŸ˜…. The idea is to show loader after we click on any of those actions.

What we should do is window.withProgress and a message like Deploying app... Check [output window](command:${Commands.showOutputChannel}) to follow the progress. For example other place were we already use it and we may do the same approach https://github.com/pnp/vscode-viva/blob/3c8c45f9b3d2e8ada009cdd25e9b12080ec7b384/src/services/actions/CliActions.ts#L1115-L1121

πŸ“· Images (if possible) with expected result

those are the action we should adapt

Image

πŸ€” Additional remarks or comments

No response

Adam-it avatar Mar 24 '25 08:03 Adam-it