Skip to content

Commit eacfd15

Browse files
authored
fix: show the workspace owner in open list (#37)
1 parent d0e0266 commit eacfd15

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/commands.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ export class Commands {
101101
if (args.length === 0) {
102102
const quickPick = vscode.window.createQuickPick()
103103
quickPick.value = "owner:me "
104-
quickPick.placeholder = "Filter"
105-
quickPick.title = "Select a workspace to connect"
104+
quickPick.placeholder = "owner:me template:go"
105+
quickPick.title = `Connect to a workspace`
106106
let lastWorkspaces: Workspace[]
107107
quickPick.onDidChangeValue((value) => {
108108
quickPick.busy = true
@@ -112,15 +112,15 @@ export class Commands {
112112
.then((workspaces) => {
113113
lastWorkspaces = workspaces.workspaces
114114
const items: vscode.QuickPickItem[] = workspaces.workspaces.map((workspace) => {
115-
let icon = "$(circle-filled)"
115+
let icon = "$(debug-start)"
116116
if (workspace.latest_build.status !== "running") {
117-
icon = "$(circle-outline)"
117+
icon = "$(debug-stop)"
118118
}
119119
const status =
120120
workspace.latest_build.status.substring(0, 1).toUpperCase() + workspace.latest_build.status.substring(1)
121121
return {
122122
alwaysShow: true,
123-
label: `${icon} ${workspace.name}`,
123+
label: `${icon} ${workspace.owner_name} / ${workspace.name}`,
124124
detail: `Template: ${workspace.template_display_name || workspace.template_name} • Status: ${status}`,
125125
}
126126
})

0 commit comments

Comments
 (0)