mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
feat: point core frontend snippets pickers at the plugin (B2)
This commit is contained in:
1 parent
e07221eaf3
commit
1eac0f54b0
22 files changed
+170
-2968
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user