ansible / vscode-ansible

vscode/vscodium extension for providing Ansible auto-completion and integrating quality assurance tools like ansible-lint, ansible syntax check, yamllint, molecule and ansible-test.
https://ansible.readthedocs.io/projects/vscode-ansible/
MIT License
337 stars 77 forks source link

Add CLOSE_ACCEPT/CLOSE_CANCEL to generation actions #1372

Closed TamiTakamiya closed 2 weeks ago

TamiTakamiya commented 3 weeks ago

In the existing code for capturing user actions on Playbook Generation UI, the openEditor flag was used to distinguish between acceptance/rejection of generated playbook. This PR will split the current CLOSE action to CLOSE_ACCEPT and CLOSE_CANCEL actions to simplify the logic.