aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
author frelodev <[email protected]>2025-02-16 14:41:43 +0100
committer frelodev <[email protected]>2025-02-16 14:41:43 +0100
commitc5e5d2f46db50ecc73cce0ca4465ab9a5783a78f (patch)
treeaec427839fc44843107b6c61c81ed46e0ab7d152
parent9947a289dea9d12f854395ba62c5af283dc848a1 (diff)
feat: slightly better UIHEADlatestdev
-rw-r--r--src/tree.ts18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/tree.ts b/src/tree.ts
index 704b736..f73fcc7 100644
--- a/src/tree.ts
+++ b/src/tree.ts
@@ -46,7 +46,11 @@ export class CodempTreeProvider implements vscode.TreeDataProvider<CodempTreeIte
let info = [];
if (client === null) return [];
info.push(new CodempTreeItem("username", Type.ClientInfo, { description: client.currentUser().name }));
- info.push(new CodempTreeItem("uuid", Type.ClientInfo, { description: client.currentUser().uuid }));
+ info.push(Object.assign(new CodempTreeItem("uuid", Type.ClientInfo, {}), {
+ description: client.currentUser().uuid,
+ tooltip: `UUID: ${client.currentUser().uuid}`
+
+ }));
return info;
case Type.Placeholder:
@@ -89,12 +93,12 @@ class CodempTreeItem extends vscode.TreeItem {
if (opts.active) this.contextValue += "_active";
if (type === Type.WorkspaceContainer) this.iconPath = new vscode.ThemeIcon("extensions-remote");
else if (type === Type.UserContainer) this.iconPath = new vscode.ThemeIcon("accounts-view-bar-icon");
- else if (type === Type.ClientContainer) this.iconPath = new vscode.ThemeIcon("");
- else if (type === Type.ClientInfo) this.iconPath = new vscode.ThemeIcon("");
- else if (type === Type.CurrentWorkspace) this.iconPath = new vscode.ThemeIcon("timeline-pin");
- else if (type === Type.Workspace) this.iconPath = new vscode.ThemeIcon("timeline-pin");
- else if (type === Type.Buffer) this.iconPath = new vscode.ThemeIcon(opts.active ? "debug-restart-frame" : "debug-console-clear-all");
- else if (type === Type.User) this.iconPath = new vscode.ThemeIcon("debug-breakpoint-data-unverified");
+ else if (type === Type.ClientContainer) this.iconPath = new vscode.ThemeIcon("broadcast");
+ else if (type === Type.ClientInfo) this.iconPath = new vscode.ThemeIcon("chip");
+ else if (type === Type.CurrentWorkspace) this.iconPath = new vscode.ThemeIcon("debug-breakpoint-data");
+ else if (type === Type.Workspace) this.iconPath = new vscode.ThemeIcon("debug-breakpoint-data-unverified");
+ else if (type === Type.Buffer) this.iconPath = new vscode.ThemeIcon(opts.active ? "debug-breakpoint-log" : "debug-breakpoint-log-unverified");
+ else if (type === Type.User) this.iconPath = new vscode.ThemeIcon("debug-breakpoint-disabled");
}
}