@@ -1,4 +1,4 @@
|
|||||||
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
|
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
|
||||||
import { Input } from "../../settingsManager";
|
import { Input } from "../../settingsManager";
|
||||||
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
||||||
|
|
||||||
@@ -10,6 +10,7 @@ export default class InputTreeItem extends TreeItem implements GithubLocalAction
|
|||||||
this.description = input.value;
|
this.description = input.value;
|
||||||
this.contextValue = InputTreeItem.contextValue;
|
this.contextValue = InputTreeItem.contextValue;
|
||||||
this.iconPath = new ThemeIcon('symbol-parameter');
|
this.iconPath = new ThemeIcon('symbol-parameter');
|
||||||
|
this.checkboxState = TreeItemCheckboxState.Unchecked;
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
|
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
|
||||||
import { act } from "../../extension";
|
import { act } from "../../extension";
|
||||||
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
||||||
import InputTreeItem from "./input";
|
import InputTreeItem from "./input";
|
||||||
@@ -10,7 +10,6 @@ export default class InputsTreeItem extends TreeItem implements GithubLocalActio
|
|||||||
super('Inputs', TreeItemCollapsibleState.Collapsed);
|
super('Inputs', TreeItemCollapsibleState.Collapsed);
|
||||||
this.contextValue = InputsTreeItem.contextValue;
|
this.contextValue = InputsTreeItem.contextValue;
|
||||||
this.iconPath = new ThemeIcon('record-keys');
|
this.iconPath = new ThemeIcon('record-keys');
|
||||||
this.checkboxState = TreeItemCheckboxState.Unchecked;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
|
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
|
||||||
import { Secret } from "../../settingsManager";
|
import { Secret } from "../../settingsManager";
|
||||||
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
||||||
|
|
||||||
@@ -12,6 +12,7 @@ export default class SecretTreeItem extends TreeItem implements GithubLocalActio
|
|||||||
}
|
}
|
||||||
this.contextValue = SecretTreeItem.contextValue;
|
this.contextValue = SecretTreeItem.contextValue;
|
||||||
this.iconPath = new ThemeIcon('key');
|
this.iconPath = new ThemeIcon('key');
|
||||||
|
this.checkboxState = TreeItemCheckboxState.Unchecked;
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
|
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
|
||||||
import { act } from "../../extension";
|
import { act } from "../../extension";
|
||||||
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
||||||
import SecretTreeItem from "./secret";
|
import SecretTreeItem from "./secret";
|
||||||
@@ -10,7 +10,6 @@ export default class SecretsTreeItem extends TreeItem implements GithubLocalActi
|
|||||||
super('Secrets', TreeItemCollapsibleState.Collapsed);
|
super('Secrets', TreeItemCollapsibleState.Collapsed);
|
||||||
this.contextValue = SecretsTreeItem.contextValue;
|
this.contextValue = SecretsTreeItem.contextValue;
|
||||||
this.iconPath = new ThemeIcon('lock');
|
this.iconPath = new ThemeIcon('lock');
|
||||||
this.checkboxState = TreeItemCheckboxState.Unchecked;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
|
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
|
||||||
import { Variable } from "../../settingsManager";
|
import { Variable } from "../../settingsManager";
|
||||||
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
||||||
|
|
||||||
@@ -10,6 +10,7 @@ export default class VariableTreeItem extends TreeItem implements GithubLocalAct
|
|||||||
this.description = variable.value;
|
this.description = variable.value;
|
||||||
this.contextValue = VariableTreeItem.contextValue;
|
this.contextValue = VariableTreeItem.contextValue;
|
||||||
this.iconPath = new ThemeIcon('symbol-variable');
|
this.iconPath = new ThemeIcon('symbol-variable');
|
||||||
|
this.checkboxState = TreeItemCheckboxState.Unchecked;
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState } from "vscode";
|
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from "vscode";
|
||||||
import { act } from "../../extension";
|
import { act } from "../../extension";
|
||||||
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
import { GithubLocalActionsTreeItem } from "../githubLocalActionsTreeItem";
|
||||||
import VariableTreeItem from "./variable";
|
import VariableTreeItem from "./variable";
|
||||||
@@ -10,7 +10,6 @@ export default class VariablesTreeItem extends TreeItem implements GithubLocalAc
|
|||||||
super('Variables', TreeItemCollapsibleState.Collapsed);
|
super('Variables', TreeItemCollapsibleState.Collapsed);
|
||||||
this.contextValue = VariablesTreeItem.contextValue;
|
this.contextValue = VariablesTreeItem.contextValue;
|
||||||
this.iconPath = new ThemeIcon('symbol-key');
|
this.iconPath = new ThemeIcon('symbol-key');
|
||||||
this.checkboxState = TreeItemCheckboxState.Unchecked;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
async getChildren(): Promise<GithubLocalActionsTreeItem[]> {
|
||||||
|
|||||||
Reference in New Issue
Block a user