dannyl1u 6 mesi fa
parent
commit
420053b709
1 ha cambiato i file con 236 aggiunte e 8 eliminazioni
  1. 236 8
      src/lib/components/chat/SettingsModal.svelte

+ 236 - 8
src/lib/components/chat/SettingsModal.svelte

@@ -28,14 +28,242 @@
 	}
 
 	const searchData: SettingsTab[] = [
-		{ id: 'general', title: 'General', keywords: ['general', 'theme', 'language', 'notifications', 'system', 'systemprompt', 'prompt', 'advanced', 'settings', 'defaultsettings', 'configuration', 'systemsettings', 'notificationsettings', 'systempromptconfig', 'languageoptions', 'defaultparameters', 'systemparameters'] },
-		{ id: 'interface', title: 'Interface', keywords: ['defaultmodel', 'selectmodel', 'ui', 'userinterface', 'display', 'layout', 'design', 'landingpage', 'landingpagemode', 'default', 'chat', 'chatbubble', 'chatui', 'username', 'showusername', 'displayusername', 'widescreen', 'widescreenmode', 'fullscreen', 'expandmode', 'chatdirection', 'lefttoright', 'ltr', 'righttoleft', 'rtl', 'notifications', 'toast', 'toastnotifications', 'largechunks', 'streamlargechunks', 'scroll', 'scrollonbranchchange', 'scrollbehavior', 'richtext', 'richtextinput', 'background', 'chatbackground', 'chatbackgroundimage', 'backgroundimage', 'uploadbackground', 'resetbackground', 'titleautogen', 'titleautogeneration', 'autotitle', 'chattags', 'autochattags', 'responseautocopy', 'clipboard', 'location', 'userlocation', 'userlocationaccess', 'haptic', 'hapticfeedback', 'vibration', 'voice', 'voicecontrol', 'voiceinterruption', 'call', 'emojis', 'displayemoji', 'save', 'interfaceoptions', 'interfacecustomization'] },
-		{ id: 'personalization', title: 'Personalization', keywords: ['personalization', 'memory', 'personalize', 'preferences', 'profile', 'personalsettings', 'customsettings', 'userpreferences', 'accountpreferences'] },
-		{ id: 'audio', title: 'Audio', keywords: ['audio', 'sound', 'soundsettings', 'audiocontrol', 'volume', 'speech', 'speechrecognition', 'stt', 'speechtotext', 'tts', 'texttospeech', 'playback', 'playbackspeed', 'voiceplayback', 'speechplayback', 'audiooutput', 'speechengine', 'voicecontrol', 'audioplayback', 'transcription', 'autotranscribe', 'autosend', 'speechsettings', 'audiovoice', 'voiceoptions', 'setvoice', 'nonlocalvoices', 'savesettings', 'audioconfig', 'speechconfig', 'voicerecognition', 'speechsynthesis', 'speechmode', 'voicespeed', 'speechrate', 'speechspeed', 'audioinput', 'audiofeatures', 'voicemodes'] },
-		{ id: 'chats', title: 'Chats', keywords: ['chat', 'messages', 'conversations', 'chatsettings', 'history', 'chathistory', 'messagehistory', 'messagearchive', 'convo', 'chats', 'conversationhistory', 'exportmessages', 'chatactivity'] },
-		{ id: 'account', title: 'Account', keywords: ['account', 'profile', 'security', 'privacy', 'settings', 'login', 'useraccount', 'userdata', 'api', 'apikey', 'userprofile', 'profiledetails', 'accountsettings', 'accountpreferences', 'securitysettings', 'privacysettings'] },
-		{ id: 'about', title: 'About', keywords: ['about', 'info', 'information', 'version', 'documentation', 'help', 'support', 'details', 'aboutus', 'softwareinfo', 'release', 'updates', 'updateinfo', 'versioninfo', 'aboutapp', 'terms', 'termsandconditions', 'contact', 'aboutpage'] },
-		{ id: 'admin', title: 'Admin', keywords: ['admin', 'administrator', 'adminsettings', 'adminpanel', 'systemadmin', 'administratoraccess', 'systemcontrol', 'manage', 'management', 'admincontrols', 'adminfeatures', 'usercontrol'] }
+		{
+			id: 'general',
+			title: 'General',
+			keywords: [
+				'general',
+				'theme',
+				'language',
+				'notifications',
+				'system',
+				'systemprompt',
+				'prompt',
+				'advanced',
+				'settings',
+				'defaultsettings',
+				'configuration',
+				'systemsettings',
+				'notificationsettings',
+				'systempromptconfig',
+				'languageoptions',
+				'defaultparameters',
+				'systemparameters'
+			]
+		},
+		{
+			id: 'interface',
+			title: 'Interface',
+			keywords: [
+				'defaultmodel',
+				'selectmodel',
+				'ui',
+				'userinterface',
+				'display',
+				'layout',
+				'design',
+				'landingpage',
+				'landingpagemode',
+				'default',
+				'chat',
+				'chatbubble',
+				'chatui',
+				'username',
+				'showusername',
+				'displayusername',
+				'widescreen',
+				'widescreenmode',
+				'fullscreen',
+				'expandmode',
+				'chatdirection',
+				'lefttoright',
+				'ltr',
+				'righttoleft',
+				'rtl',
+				'notifications',
+				'toast',
+				'toastnotifications',
+				'largechunks',
+				'streamlargechunks',
+				'scroll',
+				'scrollonbranchchange',
+				'scrollbehavior',
+				'richtext',
+				'richtextinput',
+				'background',
+				'chatbackground',
+				'chatbackgroundimage',
+				'backgroundimage',
+				'uploadbackground',
+				'resetbackground',
+				'titleautogen',
+				'titleautogeneration',
+				'autotitle',
+				'chattags',
+				'autochattags',
+				'responseautocopy',
+				'clipboard',
+				'location',
+				'userlocation',
+				'userlocationaccess',
+				'haptic',
+				'hapticfeedback',
+				'vibration',
+				'voice',
+				'voicecontrol',
+				'voiceinterruption',
+				'call',
+				'emojis',
+				'displayemoji',
+				'save',
+				'interfaceoptions',
+				'interfacecustomization'
+			]
+		},
+		{
+			id: 'personalization',
+			title: 'Personalization',
+			keywords: [
+				'personalization',
+				'memory',
+				'personalize',
+				'preferences',
+				'profile',
+				'personalsettings',
+				'customsettings',
+				'userpreferences',
+				'accountpreferences'
+			]
+		},
+		{
+			id: 'audio',
+			title: 'Audio',
+			keywords: [
+				'audio',
+				'sound',
+				'soundsettings',
+				'audiocontrol',
+				'volume',
+				'speech',
+				'speechrecognition',
+				'stt',
+				'speechtotext',
+				'tts',
+				'texttospeech',
+				'playback',
+				'playbackspeed',
+				'voiceplayback',
+				'speechplayback',
+				'audiooutput',
+				'speechengine',
+				'voicecontrol',
+				'audioplayback',
+				'transcription',
+				'autotranscribe',
+				'autosend',
+				'speechsettings',
+				'audiovoice',
+				'voiceoptions',
+				'setvoice',
+				'nonlocalvoices',
+				'savesettings',
+				'audioconfig',
+				'speechconfig',
+				'voicerecognition',
+				'speechsynthesis',
+				'speechmode',
+				'voicespeed',
+				'speechrate',
+				'speechspeed',
+				'audioinput',
+				'audiofeatures',
+				'voicemodes'
+			]
+		},
+		{
+			id: 'chats',
+			title: 'Chats',
+			keywords: [
+				'chat',
+				'messages',
+				'conversations',
+				'chatsettings',
+				'history',
+				'chathistory',
+				'messagehistory',
+				'messagearchive',
+				'convo',
+				'chats',
+				'conversationhistory',
+				'exportmessages',
+				'chatactivity'
+			]
+		},
+		{
+			id: 'account',
+			title: 'Account',
+			keywords: [
+				'account',
+				'profile',
+				'security',
+				'privacy',
+				'settings',
+				'login',
+				'useraccount',
+				'userdata',
+				'api',
+				'apikey',
+				'userprofile',
+				'profiledetails',
+				'accountsettings',
+				'accountpreferences',
+				'securitysettings',
+				'privacysettings'
+			]
+		},
+		{
+			id: 'about',
+			title: 'About',
+			keywords: [
+				'about',
+				'info',
+				'information',
+				'version',
+				'documentation',
+				'help',
+				'support',
+				'details',
+				'aboutus',
+				'softwareinfo',
+				'release',
+				'updates',
+				'updateinfo',
+				'versioninfo',
+				'aboutapp',
+				'terms',
+				'termsandconditions',
+				'contact',
+				'aboutpage'
+			]
+		},
+		{
+			id: 'admin',
+			title: 'Admin',
+			keywords: [
+				'admin',
+				'administrator',
+				'adminsettings',
+				'adminpanel',
+				'systemadmin',
+				'administratoraccess',
+				'systemcontrol',
+				'manage',
+				'management',
+				'admincontrols',
+				'adminfeatures',
+				'usercontrol'
+			]
+		}
 	];
 
 	let search = '';