feat: point core frontend snippets pickers at the plugin (B2)

This commit is contained in:
LukeGus committed 2026-09-23 08:59:06 -05:00
1 parent e07221eaf3
commit 1eac0f54b0
22 files changed
+170 -2968

No files matched your search

+3 -12
View File
@@ -59,7 +59,6 @@ describe("RAIL_ITEMS", () => {
"serial",
"ssh-tools",
"sftp",
"snippets",
"macros",
"history",
"session-logs",
@@ -74,10 +73,10 @@ describe("RAIL_ITEMS", () => {
);
});
it("marks exactly the four mobile primary slots", () => {
it("marks exactly the three mobile primary slots", () => {
expect(
RAIL_ITEMS.filter((item) => item.mobilePrimary).map((item) => item.id),
).toEqual(["hosts", "quick-connect", "ssh-tools", "snippets"]);
).toEqual(["hosts", "quick-connect", "ssh-tools"]);
});
it("marks the panels that can open as a tab", () => {
@@ -85,14 +84,7 @@ describe("RAIL_ITEMS", () => {
[...RAIL_ITEMS, ...RAIL_UTILITY_ITEMS]
.filter((item) => item.promotable)
.map((item) => item.id),
).toEqual([
"termix-id",
"ssh-tools",
"snippets",
"macros",
"history",
"session-logs",
]);
).toEqual(["termix-id", "ssh-tools", "macros", "history", "session-logs"]);
});
it("derives promotableIds from the promotable flag", () => {
@@ -132,7 +124,6 @@ describe("RAIL_ITEMS", () => {
expect(rightDockableIds()).toEqual([
"connections",
"ssh-tools",
"snippets",
"macros",
"history",
"session-logs",