From b9193be951d8649f8a5a92bfae9d8de15079384b Mon Sep 17 00:00:00 2001 From: LukeGus Date: Sat, 17 Oct 2026 23:05:00 -0500 Subject: [PATCH] feat: add shell.rightEdge slot so plugin panels can push the page over --- CHANGELOG.md | 1 + packages/plugin-sdk/PLUGIN-GUIDE.md | 2 +- src/ui/AppShell.tsx | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5576a0463..ff63f5dbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Windows on ARM builds of the desktop app (installer, MSI and portable) - Plugins get an event when a host is added - Plugins can start a short-lived session as a user and read the user's language, for tasks that run without a browser +- Plugins can pin a panel to the right edge of the window that pushes the page over ### Changed diff --git a/packages/plugin-sdk/PLUGIN-GUIDE.md b/packages/plugin-sdk/PLUGIN-GUIDE.md index db1c6a21a..b252da84f 100644 --- a/packages/plugin-sdk/PLUGIN-GUIDE.md +++ b/packages/plugin-sdk/PLUGIN-GUIDE.md @@ -493,7 +493,7 @@ your own host settings, under `host.pluginSettings[]`. Slots you can fill include `terminal.toolbar`, `terminal.toolbarStatus`, `terminal.sidePanel`, `terminal.overlay`, `dashboard.counters`, `dashboard.hostMetrics`, `admin.userTabs`, `hosts.importMenu`, -`hosts.panel`, `credentials.badges`, `shell.overlay` and `tab.menu`. See +`hosts.panel`, `credentials.badges`, `shell.overlay`, `shell.rightEdge` and `tab.menu`. See https://docs.termix.site/develop/more-extension-points. ## Looking native diff --git a/src/ui/AppShell.tsx b/src/ui/AppShell.tsx index f546042da..49db7806f 100644 --- a/src/ui/AppShell.tsx +++ b/src/ui/AppShell.tsx @@ -3126,6 +3126,9 @@ export function AppShell({ {renderSidebarPanels(rightRailView, false)} )} + + {/* Plugin panels pinned to the right edge, sized by the plugin */} +