@@ -5,27 +5,27 @@ import { classNames } from '~/utils/classNames';
5
5
import { DialogTitle , dialogVariants , dialogBackdropVariants } from '~/components/ui/Dialog' ;
6
6
import { IconButton } from '~/components/ui/IconButton' ;
7
7
import styles from './Settings.module.scss' ;
8
- import ChatHistoryTab from './chat-history/ChatHistoryTab' ;
9
8
import ProvidersTab from './providers/ProvidersTab' ;
10
9
import { useSettings } from '~/lib/hooks/useSettings' ;
11
10
import FeaturesTab from './features/FeaturesTab' ;
12
11
import DebugTab from './debug/DebugTab' ;
13
12
import EventLogsTab from './event-logs/EventLogsTab' ;
14
13
import ConnectionsTab from './connections/ConnectionsTab' ;
14
+ import DataTab from './data/DataTab' ;
15
15
16
16
interface SettingsProps {
17
17
open : boolean ;
18
18
onClose : ( ) => void ;
19
19
}
20
20
21
- type TabType = 'chat-history ' | 'providers' | 'features' | 'debug' | 'event-logs' | 'connection' ;
21
+ type TabType = 'data ' | 'providers' | 'features' | 'debug' | 'event-logs' | 'connection' ;
22
22
23
23
export const SettingsWindow = ( { open, onClose } : SettingsProps ) => {
24
24
const { debug, eventLogs } = useSettings ( ) ;
25
- const [ activeTab , setActiveTab ] = useState < TabType > ( 'chat-history ' ) ;
25
+ const [ activeTab , setActiveTab ] = useState < TabType > ( 'data ' ) ;
26
26
27
27
const tabs : { id : TabType ; label : string ; icon : string ; component ?: ReactElement } [ ] = [
28
- { id : 'chat-history ' , label : 'Chat History ' , icon : 'i-ph:book ' , component : < ChatHistoryTab /> } ,
28
+ { id : 'data ' , label : 'Data ' , icon : 'i-ph:database ' , component : < DataTab /> } ,
29
29
{ id : 'providers' , label : 'Providers' , icon : 'i-ph:key' , component : < ProvidersTab /> } ,
30
30
{ id : 'connection' , label : 'Connection' , icon : 'i-ph:link' , component : < ConnectionsTab /> } ,
31
31
{ id : 'features' , label : 'Features' , icon : 'i-ph:star' , component : < FeaturesTab /> } ,
0 commit comments