-
+ |
{variable.key}
|
-
+ |
{typeof variable.value === "function"
? variable.value()
: truncate(variable.value, 50)}
|
-
+ |
{truncate(variable.description || "-", 50)}
|
-
+ |
{titleCase(variable.type)}
|
-
+ |
{variable.type === "static" && (
<>
>
)}
diff --git a/frontend/src/pages/Admin/SystemPromptVariables/index.jsx b/frontend/src/pages/Admin/SystemPromptVariables/index.jsx
index d8615100afe..21a84c4bab4 100644
--- a/frontend/src/pages/Admin/SystemPromptVariables/index.jsx
+++ b/frontend/src/pages/Admin/SystemPromptVariables/index.jsx
@@ -83,16 +83,16 @@ export default function SystemPromptVariables() {
-
+ |
Key
|
-
+ |
Value
|
-
+ |
Description
|
-
+ |
Type
|
diff --git a/frontend/src/pages/Admin/Users/UserRow/index.jsx b/frontend/src/pages/Admin/Users/UserRow/index.jsx
index 2a115f4919f..3198895e091 100644
--- a/frontend/src/pages/Admin/Users/UserRow/index.jsx
+++ b/frontend/src/pages/Admin/Users/UserRow/index.jsx
@@ -57,18 +57,18 @@ export default function UserRow({ currUser, user }) {
<>
-
+ |
{user.username}
|
- {titleCase(user.role)} |
- {user.createdAt} |
-
+ | {titleCase(user.role)} |
+ {user.createdAt} |
+
{canModify && (
@@ -77,13 +77,13 @@ export default function UserRow({ currUser, user }) {
<>
diff --git a/frontend/src/pages/Admin/Users/index.jsx b/frontend/src/pages/Admin/Users/index.jsx
index e2d29c0d229..37598947647 100644
--- a/frontend/src/pages/Admin/Users/index.jsx
+++ b/frontend/src/pages/Admin/Users/index.jsx
@@ -84,7 +84,7 @@ function UsersContainer() {
}
return (
-
+
diff --git a/frontend/src/pages/Admin/Workspaces/WorkspaceRow/index.jsx b/frontend/src/pages/Admin/Workspaces/WorkspaceRow/index.jsx
index f95b3379f9d..8a774e0bada 100644
--- a/frontend/src/pages/Admin/Workspaces/WorkspaceRow/index.jsx
+++ b/frontend/src/pages/Admin/Workspaces/WorkspaceRow/index.jsx
@@ -20,22 +20,22 @@ export default function WorkspaceRow({ workspace, users }) {
<>
|
-
+ |
{workspace.name}
|
-
+ |
- {workspace.slug}
+ {workspace.slug}
|
-
+ |
|
- {workspace.createdAt} |
-
+ | {workspace.createdAt} |
+
diff --git a/frontend/src/pages/Admin/Workspaces/index.jsx b/frontend/src/pages/Admin/Workspaces/index.jsx
index 0170efdd7ba..8cdb5765937 100644
--- a/frontend/src/pages/Admin/Workspaces/index.jsx
+++ b/frontend/src/pages/Admin/Workspaces/index.jsx
@@ -84,7 +84,7 @@ function WorkspacesContainer() {
}
return (
-
+
diff --git a/frontend/src/pages/GeneralSettings/ApiKeys/ApiKeyRow/index.jsx b/frontend/src/pages/GeneralSettings/ApiKeys/ApiKeyRow/index.jsx
index 787c33d4595..9e4d0cb58da 100644
--- a/frontend/src/pages/GeneralSettings/ApiKeys/ApiKeyRow/index.jsx
+++ b/frontend/src/pages/GeneralSettings/ApiKeys/ApiKeyRow/index.jsx
@@ -46,26 +46,24 @@ export default function ApiKeyRow({ apiKey }) {
<>
|
-
+ |
{apiKey.secret}
|
-
- {apiKey.createdBy?.username || "--"}
- |
- {apiKey.createdAt} |
-
+ | {apiKey.createdBy?.username || "--"} |
+ {apiKey.createdAt} |
+
diff --git a/frontend/src/pages/GeneralSettings/ApiKeys/index.jsx b/frontend/src/pages/GeneralSettings/ApiKeys/index.jsx
index 590f00d0ae3..b3bffdfcf16 100644
--- a/frontend/src/pages/GeneralSettings/ApiKeys/index.jsx
+++ b/frontend/src/pages/GeneralSettings/ApiKeys/index.jsx
@@ -96,7 +96,7 @@ function ApiKeysContainer() {
}
return (
-
+
diff --git a/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/BrowserExtensionApiKeyRow/index.jsx b/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/BrowserExtensionApiKeyRow/index.jsx
index 85c9181ad53..902cd15f5dd 100644
--- a/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/BrowserExtensionApiKeyRow/index.jsx
+++ b/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/BrowserExtensionApiKeyRow/index.jsx
@@ -58,48 +58,50 @@ export default function BrowserExtensionApiKeyRow({
return (
|
-
- {connectionString}
-
-
+
+
+ {connectionString}
+
+
-
+
+
|
{isMultiUser && (
-
+ |
{apiKey.user ? apiKey.user.username : "N/A"}
|
)}
-
+ |
{new Date(apiKey.createdAt).toLocaleString()}
|
-
+ |
|
|
diff --git a/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/index.jsx b/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/index.jsx
index ea48a609971..fdb4f071e11 100644
--- a/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/index.jsx
+++ b/frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/index.jsx
@@ -81,21 +81,21 @@ export default function BrowserExtensionApiKeys() {
) : error ? (
Error: {error}
) : (
-
+
-
+ |
Extension Connection String
|
{isMultiUser && (
-
+ |
Created By
|
)}
-
+ |
Created At
|
-
+ |
Actions
|
diff --git a/frontend/src/pages/GeneralSettings/Chats/ChatRow/index.jsx b/frontend/src/pages/GeneralSettings/Chats/ChatRow/index.jsx
index 7e1c928c060..52cb02dcd7a 100644
--- a/frontend/src/pages/GeneralSettings/Chats/ChatRow/index.jsx
+++ b/frontend/src/pages/GeneralSettings/Chats/ChatRow/index.jsx
@@ -45,31 +45,31 @@ export default function ChatRow({ chat, onDelete }) {
return (
<>
-
-
+ |
+
{chat.id}
|
-
+ |
{chat.user?.username}
|
- {chat.workspace?.name} |
+ {chat.workspace?.name} |
{truncate(chat.prompt, 40)}
|
{truncate(parseText(chat.response), 40)}
|
- {chat.createdAt} |
-
+ | {chat.createdAt} |
+
diff --git a/frontend/src/pages/GeneralSettings/Chats/index.jsx b/frontend/src/pages/GeneralSettings/Chats/index.jsx
index a612e6d06d5..68d981c1e2a 100644
--- a/frontend/src/pages/GeneralSettings/Chats/index.jsx
+++ b/frontend/src/pages/GeneralSettings/Chats/index.jsx
@@ -175,7 +175,7 @@ export default function WorkspaceChats() {
{t("recorded.description")}
-
+
-
-
+
+
{t("recorded.table.id")}
diff --git a/frontend/src/pages/GeneralSettings/EmbedChats/ChatRow/index.jsx b/frontend/src/pages/GeneralSettings/EmbedChats/ChatRow/index.jsx
index 75996fa22d5..4b25eb6db2c 100644
--- a/frontend/src/pages/GeneralSettings/EmbedChats/ChatRow/index.jsx
+++ b/frontend/src/pages/GeneralSettings/EmbedChats/ChatRow/index.jsx
@@ -35,8 +35,8 @@ export default function ChatRow({ chat, onDelete }) {
return (
<>
- |
-
+ |
+
|
{truncate(chat.session_id, 20)}
-
|
{truncate(chat.prompt, 40)}
|
{truncate(JSON.parse(chat.response)?.text, 40)}
|
- {chat.createdAt} |
-
+ | {chat.createdAt} |
+
diff --git a/frontend/src/pages/GeneralSettings/EmbedChats/index.jsx b/frontend/src/pages/GeneralSettings/EmbedChats/index.jsx
index 6fb95325a85..f04ad108696 100644
--- a/frontend/src/pages/GeneralSettings/EmbedChats/index.jsx
+++ b/frontend/src/pages/GeneralSettings/EmbedChats/index.jsx
@@ -194,7 +194,7 @@ function ChatsContainer() {
return (
<>
-
+
diff --git a/frontend/src/pages/GeneralSettings/EmbedConfigs/EmbedRow/index.jsx b/frontend/src/pages/GeneralSettings/EmbedConfigs/EmbedRow/index.jsx
index 222ca3fdc10..4579884e4b7 100644
--- a/frontend/src/pages/GeneralSettings/EmbedConfigs/EmbedRow/index.jsx
+++ b/frontend/src/pages/GeneralSettings/EmbedConfigs/EmbedRow/index.jsx
@@ -1,5 +1,5 @@
import { useRef, useState } from "react";
-import { DotsThreeOutline, LinkSimple } from "@phosphor-icons/react";
+import { DotsThreeOutline, LinkSimple, Trash } from "@phosphor-icons/react";
import showToast from "@/utils/toast";
import { useModal } from "@/hooks/useModal";
import ModalWrapper from "@/components/ModalWrapper";
@@ -63,11 +63,11 @@ export default function EmbedRow({ embed }) {
<>
|
{embed.workspace.name}
|
-
+ |
{nFormatter(embed._count.embed_chats)}
|
-
+ |
|
-
+ |
- <>
-
-
-
- >
+
+
+
|
@@ -129,8 +127,12 @@ function ActiveDomains({ domainList }) {
const domains = JSON.parse(domainList);
return (
- {domains.map((domain) => {
- return {domain} ;
+ {domains.map((domain, index) => {
+ return (
+
+ {domain}
+
+ );
})}
);
diff --git a/frontend/src/pages/GeneralSettings/EmbedConfigs/index.jsx b/frontend/src/pages/GeneralSettings/EmbedConfigs/index.jsx
index 68fb15c01cc..5decb6b1ae7 100644
--- a/frontend/src/pages/GeneralSettings/EmbedConfigs/index.jsx
+++ b/frontend/src/pages/GeneralSettings/EmbedConfigs/index.jsx
@@ -83,7 +83,7 @@ function EmbedContainer() {
}
return (
- | | | | | |