From 51d4a02964000a759b467ee67f26dfd659f9fbd1 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 17 Jan 2023 22:32:46 -0600 Subject: [PATCH] fix: show the workspace owner in open list Fixes #8. --- src/commands.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index d7efb1e1..8ad6d901 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -101,8 +101,8 @@ export class Commands { if (args.length === 0) { const quickPick = vscode.window.createQuickPick() quickPick.value = "owner:me " - quickPick.placeholder = "Filter" - quickPick.title = "Select a workspace to connect" + quickPick.placeholder = "owner:me template:go" + quickPick.title = `Connect to a workspace` let lastWorkspaces: Workspace[] quickPick.onDidChangeValue((value) => { quickPick.busy = true @@ -112,15 +112,15 @@ export class Commands { .then((workspaces) => { lastWorkspaces = workspaces.workspaces const items: vscode.QuickPickItem[] = workspaces.workspaces.map((workspace) => { - let icon = "$(circle-filled)" + let icon = "$(debug-start)" if (workspace.latest_build.status !== "running") { - icon = "$(circle-outline)" + icon = "$(debug-stop)" } const status = workspace.latest_build.status.substring(0, 1).toUpperCase() + workspace.latest_build.status.substring(1) return { alwaysShow: true, - label: `${icon} ${workspace.name}`, + label: `${icon} ${workspace.owner_name} / ${workspace.name}`, detail: `Template: ${workspace.template_display_name || workspace.template_name} • Status: ${status}`, } })