setShowInfo((prev) => !prev)}
diff --git a/client/src/components/Chat/Messages/HoverButtons.tsx b/client/src/components/Chat/Messages/HoverButtons.tsx
index 3035ad658..5783540bb 100644
--- a/client/src/components/Chat/Messages/HoverButtons.tsx
+++ b/client/src/components/Chat/Messages/HoverButtons.tsx
@@ -162,18 +162,6 @@ const HoverButtons = ({
const { isCreatedByUser, error } = message;
- const buttonStyle = cn(
- 'hover-button rounded-lg p-1.5',
- 'hover:bg-gray-100 hover:text-gray-500',
- 'dark:text-gray-400/70 dark:hover:bg-gray-700 dark:hover:text-gray-200',
- 'disabled:dark:hover:text-gray-400',
- 'md:group-hover:visible md:group-focus-within:visible md:group-[.final-completion]:visible',
- !isLast && 'md:opacity-0 md:group-hover:opacity-100 md:group-focus-within:opacity-100',
- 'focus-visible:ring-2 focus-visible:ring-black dark:focus-visible:ring-white focus-visible:outline-none',
- 'active text-gray-700 dark:text-gray-200 bg-gray-100 bg-gray-700',
- );
-
- // If message has an error, only show regenerate button
if (error === true) {
return (
@@ -204,9 +192,9 @@ const HoverButtons = ({
{TextToSpeech && (
(
)}
/>
diff --git a/client/src/components/Prompts/Groups/VariableForm.tsx b/client/src/components/Prompts/Groups/VariableForm.tsx
index 2b2eba7f6..57458fb44 100644
--- a/client/src/components/Prompts/Groups/VariableForm.tsx
+++ b/client/src/components/Prompts/Groups/VariableForm.tsx
@@ -168,7 +168,7 @@ export default function VariableForm({
return (
);
diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json
index a1d44201f..79ff5d018 100644
--- a/client/src/locales/en/translation.json
+++ b/client/src/locales/en/translation.json
@@ -594,6 +594,7 @@
"com_ui_bulk_delete_error": "Failed to delete shared links",
"com_ui_callback_url": "Callback URL",
"com_ui_cancel": "Cancel",
+ "com_ui_cancelled": "Cancelled",
"com_ui_category": "Category",
"com_ui_chat": "Chat",
"com_ui_chat_history": "Chat History",
@@ -684,7 +685,6 @@
"com_ui_enter": "Enter",
"com_ui_enter_api_key": "Enter API Key",
"com_ui_enter_openapi_schema": "Enter your OpenAPI schema here",
- "com_ui_enter_var": "Enter {{0}}",
"com_ui_error": "Error",
"com_ui_error_connection": "Error connecting to server, try refreshing the page.",
"com_ui_error_save_admin_settings": "There was an error saving your admin settings.",
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 5013f9f50..7262ddb05 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -188,7 +188,12 @@ export default [
},
},
{
- files: ['client/src/**/*.tsx', 'client/src/**/*.ts', 'client/src/**/*.jsx', 'client/src/**/*.js'],
+ files: [
+ 'client/src/**/*.tsx',
+ 'client/src/**/*.ts',
+ 'client/src/**/*.jsx',
+ 'client/src/**/*.js',
+ ],
rules: {
// Client a11y
// TODO: maybe later to error.
@@ -285,7 +290,6 @@ export default [
// General
'no-constant-binary-expression': 'off',
'import/no-cycle': 'off',
- 'no-nested-ternary': 'off',
},
},
{