feat: move termix identity into a plugin (C6)

This commit is contained in:
LukeGus committed 2026-09-24 20:50:54 -05:00
1 parent 6e56c90aac
commit 4dbce08379
157 files changed
+20743 -5766

No files matched your search

+2 -2
View File
@@ -18,10 +18,10 @@ import { getTabType } from "./tab-registry";
* purpose: the shell always keeps one alive as the fallback tab, so it is
* not a meaningful part of an arrangement.
*/
const CORE_CAPTURABLE = new Set(["termix-id", "macros", "ssh-tools"]);
const CORE_CAPTURABLE = new Set(["macros", "ssh-tools"]);
/** Core types reopened as singletons, with an optional preselected host. */
const CORE_SINGLETON = new Set(["termix-id", "macros", "ssh-tools"]);
const CORE_SINGLETON = new Set(["macros", "ssh-tools"]);
/** Core tab types that are never part of a saved arrangement. */
const CORE_UNSAVED = new Set([
-13
View File
@@ -6,7 +6,6 @@ import {
Server,
Settings,
User,
Fingerprint,
Hammer,
} from "lucide-react";
import { lazy, Suspense } from "react";
@@ -31,9 +30,6 @@ const DashboardTab = lazy(() =>
})),
);
// Rail panels promoted to full tabs.
const TermixIdPanel = lazy(() =>
import("@/sidebar/TermixIdPanel").then((m) => ({ default: m.TermixIdPanel })),
);
const MacrosPanel = lazy(() =>
import("@/sidebar/MacrosPanel").then((m) => ({ default: m.MacrosPanel })),
);
@@ -108,8 +104,6 @@ export function tabIcon(type: TabType) {
return <User className="size-3.5" />;
case "admin-settings":
return <Settings className="size-3.5" />;
case "termix-id":
return <Fingerprint className="size-3.5" />;
case "macros":
return <Braces className="size-3.5" />;
@@ -203,13 +197,6 @@ export function renderTabContent(tab: Tab, context: TabRenderContext) {
/>,
);
case "termix-id":
return withTabSuspense(
<PanelTabFrame>
<TermixIdPanel />
</PanelTabFrame>,
);
case "split-screen":
return null;