Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playbook Generation: Add "Are you sure?" Confirmation for Reset Button #1689

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manstis
Copy link
Contributor

@manstis manstis commented Nov 29, 2024

Add a prompt for Users to confirm reset of Outline in Playbook Generation.

Example screen shot:

AAP-34643

@@ -238,6 +238,25 @@ export async function showPlaybookGenerationPage(extensionUri: vscode.Uri) {
panel.dispose();
break;
}
case "resetOutline": {
vscode.window
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't show a modal dialog from the view so we need to send an event from the view to the controller.

The controller then shows the dialog and, if the user confirms, sends another event to reset the Outline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant