mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45:24 +00:00
fix: simplify host status to online/offline and keep it live without a refresh
This commit is contained in:
1 parent
2646b649d7
commit
0a436ab3d8
48 files changed
+549
-789
No files matched your search
@@ -66,8 +66,8 @@ describe("getStatusClasses", () => {
|
||||
expect(getStatusClasses(true, "accent", "dot")).toContain("accent-brand");
|
||||
});
|
||||
|
||||
it("draws reachable as a warning in both schemes", () => {
|
||||
expect(getStatusClasses("reachable", "accent", "dot")).toContain("amber");
|
||||
expect(getStatusClasses("reachable", "status", "dot")).toContain("amber");
|
||||
it("draws an unchecked host as loading", () => {
|
||||
expect(getStatusClasses("unknown", "accent", "dot")).toContain("pulse");
|
||||
expect(getStatusClasses("unknown", "status", "dot")).toContain("pulse");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user