diff --git a/apps/frontend/src/components/cluster-topology/cluster-node.tsx b/apps/frontend/src/components/cluster-topology/cluster-node.tsx index bb933c0c..7f07a6ff 100644 --- a/apps/frontend/src/components/cluster-topology/cluster-node.tsx +++ b/apps/frontend/src/components/cluster-topology/cluster-node.tsx @@ -6,6 +6,7 @@ import { TooltipProvider } from "@radix-ui/react-tooltip" import { Badge } from "../ui/badge" import { CustomTooltip } from "../ui/tooltip" import { Button } from "../ui/button" +import { Typography } from "../ui/typography" import type { RootState } from "@/store.ts" import type { PrimaryNode, ParsedNodeInfo } from "@/state/valkey-features/cluster/clusterSlice" import { connectPending, type ConnectionDetails } from "@/state/valkey-features/connection/connectionSlice.ts" @@ -62,11 +63,11 @@ export function ClusterNode({
element) with title
+ const aliasElements = container.querySelectorAll("code[title]")
+ const hasAliasElement = Array.from(aliasElements).some((code) =>
+ code.textContent?.includes("(") && code.textContent?.includes(")"),
)
expect(hasAliasElement).toBe(true)
})
diff --git a/apps/frontend/src/components/key-browser/key-details/key-details-json.tsx b/apps/frontend/src/components/key-browser/key-details/key-details-json.tsx
index fb23246f..a22a8dc6 100644
--- a/apps/frontend/src/components/key-browser/key-details/key-details-json.tsx
+++ b/apps/frontend/src/components/key-browser/key-details/key-details-json.tsx
@@ -98,11 +98,11 @@ export default function KeyDetailsJson(
{!jsonModuleAvailable && (
-
+
-
+
JSON module is not loaded on this Valkey instance. Editing is disabled.
-
+
diff --git a/apps/frontend/src/components/key-browser/key-types.tsx b/apps/frontend/src/components/key-browser/key-types.tsx
index 97660d78..e22160f9 100644
--- a/apps/frontend/src/components/key-browser/key-types.tsx
+++ b/apps/frontend/src/components/key-browser/key-types.tsx
@@ -3,6 +3,7 @@ import { Button } from "../ui/button"
import { Input } from "../ui/input"
import { Label } from "../ui/label"
import { Textarea } from "../ui/textarea"
+import { Typography } from "../ui/typography"
interface StringFieldsProps {
value: string
@@ -309,17 +310,17 @@ export function JsonFields({ value, setValue, jsonModuleAvailable = false }: Jso
{/* JSON Module Indicator */}
-
- {jsonModuleAvailable ? : }
-
+ {jsonModuleAvailable ? : }
+
{jsonModuleAvailable
? "JSON module is available"
: "JSON module is not loaded on this Valkey instance"}
-
+
- Enter valid JSON data
+ Enter valid JSON data
+
{entry.argv.join(" ")}
-
+
+