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",