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

Playbook Generation ThumbsUp/Down UI fix

Open TamiTakamiya opened this issue 9 months ago • 0 comments

This PR addresses to fix following two problems:

  1. 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:

image

TamiTakamiya avatar May 13 '24 18:05 TamiTakamiya