vscode-ansible
vscode-ansible copied to clipboard
Playbook Generation ThumbsUp/Down UI fix
This PR addresses to fix following two problems:
- When either Thumbs Up or Thumbs Down button is clicked for the outline result, two notification messages
Thanks for your feedback!
Thank you for your feedback!
are displayed. 2. Thumbs Up or Thumbs/Down button s for one summary result can be clicked more than one time.
For 1, I removed the message issued from extension.ts
.
For 2, I added a logic to disable Thumbs Up/Down buttons after one was clicked. If the user clicks the Back button and re-issue the outline API, these buttons are enabled again.
Attached screenshot shows how the disabled buttons look on the UI: