fix checkboxes

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-10-18 19:35:51 -04:00
parent 2d9edaaf95
commit f4a73316f4
6 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
import { Input } from "../../settingsManager";
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
@@ -10,6 +10,7 @@ export default class InputTreeItem extends TreeItem implements GithubLocalAction
this.description = input.value;
this.contextValue = InputTreeItem.contextValue;
this.iconPath = new ThemeIcon('symbol-parameter');
this.checkboxState = TreeItemCheckboxState.Unchecked;
}
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {

View File

@@ -1,4 +1,4 @@
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
import { act } from "../../extension";
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
import InputTreeItem from "./input";
@@ -10,7 +10,6 @@ export default class InputsTreeItem extends TreeItem implements GithubLocalActio
super('Inputs', TreeItemCollapsibleState.Collapsed);
this.contextValue = InputsTreeItem.contextValue;
this.iconPath = new ThemeIcon('record-keys');
this.checkboxState = TreeItemCheckboxState.Unchecked;
}
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {

View File

@@ -1,4 +1,4 @@
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
import { Secret } from "../../settingsManager";
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
@@ -12,6 +12,7 @@ export default class SecretTreeItem extends TreeItem implements GithubLocalActio
}
this.contextValue = SecretTreeItem.contextValue;
this.iconPath = new ThemeIcon('key');
this.checkboxState = TreeItemCheckboxState.Unchecked;
}
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {

View File

@@ -1,4 +1,4 @@
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
import { act } from "../../extension";
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
import SecretTreeItem from "./secret";
@@ -10,7 +10,6 @@ export default class SecretsTreeItem extends TreeItem implements GithubLocalActi
super('Secrets', TreeItemCollapsibleState.Collapsed);
this.contextValue = SecretsTreeItem.contextValue;
this.iconPath = new ThemeIcon('lock');
this.checkboxState = TreeItemCheckboxState.Unchecked;
}
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {

View File

@@ -1,4 +1,4 @@
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
import { Variable } from "../../settingsManager";
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
@@ -10,6 +10,7 @@ export default class VariableTreeItem extends TreeItem implements GithubLocalAct
this.description = variable.value;
this.contextValue = VariableTreeItem.contextValue;
this.iconPath = new ThemeIcon('symbol-variable');
this.checkboxState = TreeItemCheckboxState.Unchecked;
}
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {

View File

@@ -1,4 +1,4 @@
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
import { act } from "../../extension";
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
import VariableTreeItem from "./variable";
@@ -10,7 +10,6 @@ export default class VariablesTreeItem extends TreeItem implements GithubLocalAc
super('Variables', TreeItemCollapsibleState.Collapsed);
this.contextValue = VariablesTreeItem.contextValue;
this.iconPath = new ThemeIcon('symbol-key');
this.checkboxState = TreeItemCheckboxState.Unchecked;
}
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {