mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
Refactor components related to chatflow configuration
This commit is contained in:
@@ -2,12 +2,12 @@ import PropTypes from 'prop-types'
|
|||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { createPortal } from 'react-dom'
|
import { createPortal } from 'react-dom'
|
||||||
import { Box, Dialog, DialogContent, DialogTitle, Tabs, Tab } from '@mui/material'
|
import { Box, Dialog, DialogContent, DialogTitle, Tabs, Tab } from '@mui/material'
|
||||||
import SpeechToText from './SpeechToText'
|
import SpeechToText from '@/ui-component/extended/SpeechToText'
|
||||||
import Configuration from '@/views/chatflows/Configuration'
|
import Configuration from '@/views/chatflows/Configuration'
|
||||||
import AllowedDomains from './AllowedDomains'
|
import AllowedDomains from '@/ui-component/extended/AllowedDomains'
|
||||||
import ChatFeedback from './ChatFeedback'
|
import ChatFeedback from '@/ui-component/extended/ChatFeedback'
|
||||||
import AnalyseFlow from './AnalyseFlow'
|
import AnalyseFlow from '@/ui-component/extended/AnalyseFlow'
|
||||||
import StarterPrompts from './StarterPrompts'
|
import StarterPrompts from '@/ui-component/extended/StarterPrompts'
|
||||||
|
|
||||||
const CHATFLOW_CONFIGURATION_TABS = [
|
const CHATFLOW_CONFIGURATION_TABS = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions'
|
|||||||
import useNotifier from '@/utils/useNotifier'
|
import useNotifier from '@/utils/useNotifier'
|
||||||
|
|
||||||
// Project imports
|
// Project imports
|
||||||
import StarterPrompts from './StarterPrompts'
|
import StarterPrompts from '@/ui-component/extended/StarterPrompts'
|
||||||
|
|
||||||
const StarterPromptsDialog = ({ show, dialogProps, onCancel }) => {
|
const StarterPromptsDialog = ({ show, dialogProps, onCancel }) => {
|
||||||
const portalElement = document.getElementById('portal')
|
const portalElement = document.getElementById('portal')
|
||||||
|
|||||||
Reference in New Issue
Block a user