Self-hosted, plugin-based server management.
TypeScript dockerhomelabpluginsrdpremote-desktopself-hostedserver-managementsftpsshterminaltermixvnc
Revert "feat: add Open File Manager to tab right-click menu (#1046)" (#1050)
ZacharyZcR38e128bd166c
diff --git a/src/ui/AppShell.tsx b/src/ui/AppShell.tsxindex e978f4da5..0d0e6379d 100644--- a/src/ui/AppShell.tsx+++ b/src/ui/AppShell.tsx@@ -1713,10 +1713,6 @@ export function AppShell({onAddToSplit={addTabToSplit}onRemoveFromSplit={removeTabFromSplit}onRenameTab={renameTab}- onOpenFileManager={(tabId) => {- const targetTab = tabs.find((t) => t.id === tabId);- if (targetTab?.host) openTab(targetTab.host, "files");- }}isAppFullscreen={isAppFullscreen}onToggleAppFullscreen={toggleAppFullscreen}/>diff --git a/src/ui/shell/TabBar.tsx b/src/ui/shell/TabBar.tsxindex f9553dc13..df1dee24d 100644--- a/src/ui/shell/TabBar.tsx+++ b/src/ui/shell/TabBar.tsx@@ -18,7 +18,6 @@ import {Pencil,Maximize2,Minimize2,- FolderOpen,} from "lucide-react";import { tabIcon } from "@/shell/tabUtils";import { isElectron } from "@/lib/electron";@@ -41,7 +40,6 @@ export function TabBar({onAddToSplit,onRemoveFromSplit,onRenameTab,- onOpenFileManager,isAppFullscreen,onToggleAppFullscreen,}: {@@ -58,7 +56,6 @@ export function TabBar({onAddToSplit: (tabId: string) => void;onRemoveFromSplit: (tabId: string) => void;onRenameTab?: (tabId: string, newLabel: string) => void;- onOpenFileManager?: (tabId: string) => void;isAppFullscreen: boolean;onToggleAppFullscreen: () => void;}) {@@ -530,20 +527,6 @@ export function TabBar({{t("nav.refreshTab")}</button>)}- {ctxTab.type === "terminal" &&- ctxTab.host &&- onOpenFileManager && (- <button- className="flex items-center gap-2 w-full px-3 py-1.5 text-xs text-left hover:bg-accent hover:text-accent-foreground"- onClick={() => {- onOpenFileManager(contextTabId);- setContextTabId(null);- }}- >- <FolderOpen className="size-3" />- {t("nav.openFileManager")}- </button>- )}<buttonclassName="flex items-center gap-2 w-full px-3 py-1.5 text-xs text-left hover:bg-accent hover:text-accent-foreground"onClick={() => {