fix(web): simplify the desktop-managed server update banner copy (#6549)

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Theo BrowneandClaude Fable 5 authored and GitHub committed 2026-08-13 21:45:51 -04:00
1 parent 5304f3e9d4
commit 59be6f7846
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ describe("versionSkew", () => {
"Update the Remote server so they stay in sync.",
);
expect(serverUpdateGuidance("desktop-managed", "Desktop server")).toBe(
"The Desktop server is run by the T3 Code desktop app on its machine — update the desktop app there to sync them.",
"Update the desktop app that runs the Desktop server.",
);
expect(serverUpdateGuidance(null, "Local server")).toBe(
"Relaunch the Local server with the copied command to sync them.",
+1 -1
View File
@@ -73,7 +73,7 @@ export function serverUpdateGuidance(
case "respawn":
return `Update the ${serverLabel} so they stay in sync.`;
case "desktop-managed":
return `The ${serverLabel} is run by the T3 Code desktop app on its machine — update the desktop app there to sync them.`;
return `Update the desktop app that runs the ${serverLabel}.`;
default:
return `Relaunch the ${serverLabel} with the copied command to sync them.`;
}