Skip to content

Commit ee65e37

Browse files
committed
fix: use - rather than : in tray popup window titles
1 parent deaecb9 commit ee65e37

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

plugins/plugin-codeflare/src/tray/menus/profiles/dashboards/codeflare.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function openRunInCodeflareDashboard(createWindow: CreateWindowFunction, profile
2828
const runsDir = Profiles.guidebookJobDataPath({ profile })
2929
createWindow(
3030
["codeflare", "dashboard", join(runsDir, runId)],
31-
windowOptions({ title: "CodeFlare Dashboard: " + runId })
31+
windowOptions({ title: "CodeFlare Dashboard - " + runId })
3232
)
3333
}
3434

@@ -40,7 +40,9 @@ export default async function codeflareDashboards(
4040
{
4141
label: "Run Summary",
4242
click: () =>
43-
createWindow(["codeflare", "get", "run", "--profile", profile], { title: "Codeflare Run Summary: " + profile }),
43+
createWindow(["codeflare", "get", "run", "--profile", profile], {
44+
title: "Codeflare Run Summary - " + profile,
45+
}),
4446
},
4547
...section("Recent Runs", await runs(profile, openRunInCodeflareDashboard.bind(undefined, createWindow))),
4648
]

plugins/plugin-codeflare/src/tray/menus/profiles/dashboards/open.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default async function openDashboard(
4949
// when the window closes
5050
await createWindow(
5151
"http://localhost:" + resp.env[portEnv],
52-
windowOptions({ title: `${name} Dashboard ` + profile }) // might not matter, as most dashboards have their own title
52+
windowOptions({ title: `${name} Dashboard - ` + profile }) // might not matter, as most dashboards have their own title
5353
)
5454

5555
// now the window has closed, so we can clean up any

0 commit comments

Comments
 (0)