From b7f749cc9d0c26178af37e95dfc2acab8b2280d3 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Tue, 3 Nov 2026 22:52:30 -0600 Subject: [PATCH] feat: let a host click open the host page --- src/types/host-sidebar-preferences.ts | 3 ++- src/ui/locales/en.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types/host-sidebar-preferences.ts b/src/types/host-sidebar-preferences.ts index 3040d054c..2ea47b3f9 100644 --- a/src/types/host-sidebar-preferences.ts +++ b/src/types/host-sidebar-preferences.ts @@ -34,7 +34,7 @@ export type HostTrayTrigger = "always" | "hover" | "click" | "actionsOnly"; /** What clicking a host does when it already has an open tab. */ export type HostClickBehavior = - "newTab" | "focusExisting" | "focusExistingDoubleClickNew"; + "newTab" | "focusExisting" | "focusExistingDoubleClickNew" | "hostPage"; export interface HostSidebarFilterState { status: ("online" | "offline" | "pinned")[]; @@ -136,6 +136,7 @@ const HOST_CLICK_BEHAVIORS: HostClickBehavior[] = [ "newTab", "focusExisting", "focusExistingDoubleClickNew", + "hostPage", ]; const STATUS_COLOR_SCHEMES: StatusColorScheme[] = ["accent", "status"]; const FILTER_STATUS: HostSidebarFilterState["status"] = [ diff --git a/src/ui/locales/en.json b/src/ui/locales/en.json index a0d109edc..10c2eca63 100644 --- a/src/ui/locales/en.json +++ b/src/ui/locales/en.json @@ -609,6 +609,7 @@ "hostClickBehavior": "Clicking a host", "hostClickBehaviorDesc": "What happens when you click a host that already has an open tab. Ctrl/Cmd click, middle click, or \"Open in new tab\" always start a new one.", "hostClickNewTab": "Always open a new tab", + "hostClickHostPage": "Open the host page, when a plugin offers one", "hostClickFocusExisting": "Switch to the open tab", "hostClickFocusExistingDoubleNew": "Click to switch, double click for a new tab", "openInNewTab": "Open in new tab",