From 942970f7ac66c5c3495b6010d32c4e88e12a4c6c Mon Sep 17 00:00:00 2001
From: root
Date: Tue, 12 May 2026 22:52:07 +0500
Subject: [PATCH] fix: Ui changes and Hyperlink fix
---
src/app/api/storefront-chat/messages/route.ts | 2 +-
.../dashboard/juno-engine/modules/page.tsx | 83 +++++++------------
2 files changed, 30 insertions(+), 55 deletions(-)
diff --git a/src/app/api/storefront-chat/messages/route.ts b/src/app/api/storefront-chat/messages/route.ts
index d15f5f5..fd3d793 100644
--- a/src/app/api/storefront-chat/messages/route.ts
+++ b/src/app/api/storefront-chat/messages/route.ts
@@ -330,7 +330,7 @@ async function buildCartResponse(params: {
const cartCount = nextCartLines.reduce((sum, line) => sum + line.quantity, 0)
return {
- content: `Added ${product.title}${variantText}. Your cart now has ${cartCount} item${cartCount === 1 ? "" : "s"}: ${cartUrl}`,
+ content: `Added ${product.title}${variantText}. Your cart now has ${cartCount} item${cartCount === 1 ? "" : "s"}.`,
actions: [buildOpenCartAction(cartUrl, actionProduct)],
pendingCartProduct: null,
cartLines: nextCartLines,
diff --git a/src/app/dashboard/juno-engine/modules/page.tsx b/src/app/dashboard/juno-engine/modules/page.tsx
index 722d948..64ffe3c 100644
--- a/src/app/dashboard/juno-engine/modules/page.tsx
+++ b/src/app/dashboard/juno-engine/modules/page.tsx
@@ -713,46 +713,6 @@ export default function JunoEngineModulesPage() {
)
}
- function renderAddModuleCard() {
- return (
-
- )
- }
-
function renderCustomModuleEditor() {
const subtle = isLight ? "text-slate-600" : "text-slate-400"
const rowBorder = isLight ? "border-slate-200 bg-slate-50/50" : "border-white/10 bg-white/[0.03]"
@@ -1249,19 +1209,35 @@ export default function JunoEngineModulesPage() {
{toast}
) : null}
-
+
+
+
+
) : null}
@@ -1364,7 +1340,6 @@ export default function JunoEngineModulesPage() {
{renderCustomModuleCard(module)}
))}
- {renderAddModuleCard()}
{modal}