Skip to content

Commit

Permalink
lightspeed/role: add the role_name field
Browse files Browse the repository at this point in the history
  • Loading branch information
goneri committed Nov 8, 2024
1 parent 8f56111 commit 04e8b48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/features/lightspeed/roleGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,12 @@ export async function showRoleGenerationPage(extensionUri: vscode.Uri) {
}
case "openEditor": {
const { playbook } = message;
await openNewPlaybookEditor(playbook);
await sendActionEvent(
PlaybookGenerationActionType.CLOSE_ACCEPT,
undefined,
);
await openNewPlaybookEditor(playbook);
await openNewPlaybookEditor(playbook);
// Clear wizardId to suppress another CLOSE event at dispose()
wizardId = undefined;
panel.dispose();
Expand Down Expand Up @@ -341,6 +342,9 @@ export async function getWebviewContent(webview: Webview, extensionUri: Uri) {
Collection name: "<span id="collectionName"></span>"&nbsp;
<a class="backAnchor" id="backAnchorCollectionName">Edit</a>
</p>
<p>
Role name: <vscode-text-field id="roleName" value="my_role"></vscode-text-field>
</p>
</div>
<div class="firstMessage">
<h4>What do you want the role to accomplish?</h4>
Expand Down

0 comments on commit 04e8b48

Please sign in to comment.