mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-04 09:35:24 +00:00
feat: let a host click open the host page
This commit is contained in:
1 parent
3ae56a96d0
commit
b7f749cc9d
2 files changed
+3
-1
No files matched your search
@@ -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"] = [
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user