diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts
index a976e6a1..3828535e 100644
--- a/packages/server/src/index.ts
+++ b/packages/server/src/index.ts
@@ -24,7 +24,6 @@ import {
IChatMessageFeedback,
IDepthQueue,
INodeDirectedGraph,
- ChatMessageRatingType,
IUploadFileSizeAndTypes
} from './Interface'
import {
diff --git a/packages/ui/src/menu-items/settings.js b/packages/ui/src/menu-items/settings.js
index 8c7d08b8..9b83aaa4 100644
--- a/packages/ui/src/menu-items/settings.js
+++ b/packages/ui/src/menu-items/settings.js
@@ -1,16 +1,5 @@
// assets
-import {
- IconTrash,
- IconFileUpload,
- IconFileExport,
- IconCopy,
- IconSearch,
- IconMessage,
- IconPictureInPictureOff,
- IconLink,
- IconMicrophone,
- IconThumbUp
-} from '@tabler/icons'
+import { IconTrash, IconFileUpload, IconFileExport, IconCopy, IconMessage, IconAdjustmentsHorizontal } from '@tabler/icons'
// constant
const icons = {
@@ -18,12 +7,8 @@ const icons = {
IconFileUpload,
IconFileExport,
IconCopy,
- IconSearch,
IconMessage,
- IconPictureInPictureOff,
- IconLink,
- IconMicrophone,
- IconThumbUp
+ IconAdjustmentsHorizontal
}
// ==============================|| SETTINGS MENU ITEMS ||============================== //
@@ -33,13 +18,6 @@ const settings = {
title: '',
type: 'group',
children: [
- {
- id: 'conversationStarters',
- title: 'Starter Prompts',
- type: 'item',
- url: '',
- icon: icons.IconPictureInPictureOff
- },
{
id: 'viewMessages',
title: 'View Messages',
@@ -48,25 +26,11 @@ const settings = {
icon: icons.IconMessage
},
{
- id: 'chatFeedback',
- title: 'Chat Feedback',
+ id: 'chatflowConfiguration',
+ title: 'Configuration',
type: 'item',
url: '',
- icon: icons.IconThumbUp
- },
- {
- id: 'allowedDomains',
- title: 'Allowed Domains',
- type: 'item',
- url: '',
- icon: icons.IconLink
- },
- {
- id: 'enableSpeechToText',
- title: 'Speech to Text',
- type: 'item',
- url: '',
- icon: icons.IconMicrophone
+ icon: icons.IconAdjustmentsHorizontal
},
{
id: 'duplicateChatflow',
@@ -89,13 +53,6 @@ const settings = {
url: '',
icon: icons.IconFileExport
},
- {
- id: 'analyseChatflow',
- title: 'Analyse Chatflow',
- type: 'item',
- url: '',
- icon: icons.IconSearch
- },
{
id: 'deleteChatflow',
title: 'Delete Chatflow',
diff --git a/packages/ui/src/ui-component/button/FlowListMenu.jsx b/packages/ui/src/ui-component/button/FlowListMenu.jsx
index e8c8786a..bfee4eb1 100644
--- a/packages/ui/src/ui-component/button/FlowListMenu.jsx
+++ b/packages/ui/src/ui-component/button/FlowListMenu.jsx
@@ -12,6 +12,9 @@ import FileDownloadIcon from '@mui/icons-material/Downloading'
import FileDeleteIcon from '@mui/icons-material/Delete'
import FileCategoryIcon from '@mui/icons-material/Category'
import PictureInPictureAltIcon from '@mui/icons-material/PictureInPictureAlt'
+import ThumbsUpDownOutlinedIcon from '@mui/icons-material/ThumbsUpDownOutlined'
+import VpnLockOutlinedIcon from '@mui/icons-material/VpnLockOutlined'
+import MicNoneOutlinedIcon from '@mui/icons-material/MicNoneOutlined'
import Button from '@mui/material/Button'
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'
import { IconX } from '@tabler/icons'
@@ -29,6 +32,9 @@ import StarterPromptsDialog from '@/ui-component/dialog/StarterPromptsDialog'
import { generateExportFlowData } from '@/utils/genericHelper'
import useNotifier from '@/utils/useNotifier'
+import ChatFeedbackDialog from '../dialog/ChatFeedbackDialog'
+import AllowedDomainsDialog from '../dialog/AllowedDomainsDialog'
+import SpeechToTextDialog from '../dialog/SpeechToTextDialog'
const StyledMenu = styled((props) => (