mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 23:25:24 +00:00
feat: add shell.rightEdge slot so plugin panels can push the page over
This commit is contained in:
1 parent
ee42837fc6
commit
b9193be951
3 files changed
+5
-1
No files matched your search
@@ -9,6 +9,7 @@
|
|||||||
- Windows on ARM builds of the desktop app (installer, MSI and portable)
|
- Windows on ARM builds of the desktop app (installer, MSI and portable)
|
||||||
- Plugins get an event when a host is added
|
- 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 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
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -493,7 +493,7 @@ your own host settings, under `host.pluginSettings[<id>]`.
|
|||||||
|
|
||||||
Slots you can fill include `terminal.toolbar`, `terminal.toolbarStatus`, `terminal.sidePanel`,
|
Slots you can fill include `terminal.toolbar`, `terminal.toolbarStatus`, `terminal.sidePanel`,
|
||||||
`terminal.overlay`, `dashboard.counters`, `dashboard.hostMetrics`, `admin.userTabs`, `hosts.importMenu`,
|
`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.
|
https://docs.termix.site/develop/more-extension-points.
|
||||||
|
|
||||||
## Looking native
|
## Looking native
|
||||||
|
|||||||
@@ -3126,6 +3126,9 @@ export function AppShell({
|
|||||||
{renderSidebarPanels(rightRailView, false)}
|
{renderSidebarPanels(rightRailView, false)}
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* Plugin panels pinned to the right edge, sized by the plugin */}
|
||||||
|
<ComponentSlot slotId="shell.rightEdge" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user