fix: show the remote desktop note under connection origin again

This commit is contained in:
LukeGus committed 2026-09-30 14:45:18 -05:00
1 parent 9ce63d65d3
commit d8fb2e75af
6 files changed
+21 -2

No files matched your search

+2
View File
@@ -492,6 +492,8 @@ export interface HostProtocolContribution {
defaultPort: number;
titleKey: string;
descriptionKey?: string;
/** Added to the host editor's connection origin help while the protocol is on. */
connectionOriginNoteKey?: string;
icon: IconComponent;
order?: number;
/** Offer it in Quick Connect, optionally with a domain field. */
+2 -1
View File
@@ -220,7 +220,8 @@
"remoteDesktopNotes": "Notes",
"userDefaultsNote": "Settings left on their default use your Remote Desktop defaults from Settings.",
"connectionOriginNote": "On the desktop app, RDP, VNC and Telnet use the remote server unless the host is set to This device, which needs a guacd this machine can reach. Set one in the Remote Desktop settings, or per host under guacd Proxy.",
"docsLink": "View docs"
"docsLink": "View docs",
"connectionOriginGuacamoleNote": "RDP, VNC and Telnet use the remote server unless you pick \"This device\", which needs a guacd this machine can reach. Set one in the guacd URL setting, or per host under guacd Proxy."
},
"onboarding": {
"feature_desktop": "Remote desktop",
@@ -328,6 +328,7 @@ function registerHostSurfaces(app: TermixApp): void {
defaultPort: DEFAULT_PORT[protocol.id],
titleKey: protocol.titleKey,
descriptionKey: protocol.descriptionKey,
connectionOriginNoteKey: "hosts.connectionOriginGuacamoleNote",
icon: protocol.icon,
order: protocol.order,
quickConnect: protocol.quickConnect,
+3
View File
@@ -284,6 +284,9 @@ export function createPluginApp(
descriptionKey: protocol.descriptionKey
? key(protocol.descriptionKey)
: undefined,
connectionOriginNoteKey: protocol.connectionOriginNoteKey
? key(protocol.connectionOriginNoteKey)
: undefined,
}),
);
},
+12 -1
View File
@@ -737,7 +737,18 @@ export function HostEditorGeneralTab({
<HostOnly>
<SettingRow
label={t("hosts.connectionOrigin")}
description={t("hosts.connectionOriginDesc")}
description={[
t("hosts.connectionOriginDesc"),
...new Set(
pluginProtocols
.filter(
(protocol) =>
protocols[protocol.settingKey] &&
protocol.connectionOriginNoteKey,
)
.map((protocol) => t(protocol.connectionOriginNoteKey!)),
),
].join(" ")}
>
<select
className="flex h-7 border border-border bg-background px-2 py-0 text-xs outline-none focus:ring-1 focus:ring-ring"
+1
View File
@@ -18,6 +18,7 @@ export interface HostProtocolDef {
defaultPort: number;
titleKey: string;
descriptionKey?: string;
connectionOriginNoteKey?: string;
icon: Icon;
order?: number;
/** Offer it in Quick Connect, optionally with a domain field. */