diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte
index ce663bba6..017033bdd 100644
--- a/src/lib/components/chat/Settings/Interface.svelte
+++ b/src/lib/components/chat/Settings/Interface.svelte
@@ -35,7 +35,10 @@
let landingPageMode = '';
let chatBubble = true;
let chatDirection: 'LTR' | 'RTL' = 'LTR';
+
+ // Admin - Show Update Available Toast
let showUpdateToast = true;
+ let showChangelog = true;
let showEmojiInCall = false;
let voiceInterruption = false;
@@ -71,6 +74,11 @@
saveSettings({ showUpdateToast: showUpdateToast });
};
+ const toggleShowChangelog = async () => {
+ showChangelog = !showChangelog;
+ saveSettings({ showChangelog: showChangelog });
+ };
+
const toggleShowUsername = async () => {
showUsername = !showUsername;
saveSettings({ showUsername: showUsername });
@@ -174,6 +182,7 @@
showUsername = $settings.showUsername ?? false;
showUpdateToast = $settings.showUpdateToast ?? true;
+ showChangelog = $settings.showChangelog ?? true;
showEmojiInCall = $settings.showEmojiInCall ?? false;
voiceInterruption = $settings.voiceInterruption ?? false;
@@ -383,101 +392,30 @@
+
+
+
+
+ {$i18n.t(`Show "What's New" modal on login`)}
+
+
+
+
+
{/if}
-
-
-
- {$i18n.t('Fluidly stream large external response chunks')}
-
-
-
-
-
-
-
-
-
- {$i18n.t('Scroll to bottom when switching between branches')}
-
-
-
-
-
-
-
-
-
- {$i18n.t('Rich Text Input for Chat')}
-
-
-
-
-
-
-
-
-
- {$i18n.t('Chat Background Image')}
-
-
-
-
-
-
{$i18n.t('Chat')}
@@ -542,6 +480,55 @@
+
+
+
+ {$i18n.t('Rich Text Input for Chat')}
+
+
+
+
+
+
+
+
+
+ {$i18n.t('Chat Background Image')}
+
+
+
+
+
+
{$i18n.t('Allow User Location')}
@@ -582,6 +569,50 @@
+
+
+
+ {$i18n.t('Fluidly stream large external response chunks')}
+
+
+
+
+
+
+
+
+
+ {$i18n.t('Scroll to bottom when switching between branches')}
+
+
+
+
+
+
{$i18n.t('Voice')}
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte
index 662030f8f..c66ebb588 100644
--- a/src/routes/(app)/+layout.svelte
+++ b/src/routes/(app)/+layout.svelte
@@ -190,7 +190,7 @@
}
});
- if ($user.role === 'admin') {
+ if ($user.role === 'admin' && ($settings?.showChangelog ?? true)) {
showChangelog.set($settings?.version !== $config.version);
}