diff --git a/components/Custom/Layouts/Toggles.vue b/components/Custom/Layouts/Toggles.vue index 0018f53..0bd2c6a 100644 --- a/components/Custom/Layouts/Toggles.vue +++ b/components/Custom/Layouts/Toggles.vue @@ -7,16 +7,32 @@ :iconComponent="IconThinkingProcess" tooltip="NOTE: Clicking on the thought process element won't reveal it again. Only toggling this setting can restore it." /> + + + + diff --git a/components/Icons/BubbleOFF.vue b/components/Icons/BubbleOFF.vue new file mode 100644 index 0000000..02988b7 --- /dev/null +++ b/components/Icons/BubbleOFF.vue @@ -0,0 +1,21 @@ + diff --git a/styles/customs/_custom-toggles.scss b/styles/customs/_custom-toggles.scss index af6dff3..fcbd449 100644 --- a/styles/customs/_custom-toggles.scss +++ b/styles/customs/_custom-toggles.scss @@ -12,4 +12,10 @@ html[dsx-toggle-accent-user-bubble] { @include bg-accent-inverse; } } +} + +html[dsx-toggle-ai-bubble] { + ._4f9bf79 { + background: transparent !important; + } } \ No newline at end of file diff --git a/utils/storage.js b/utils/storage.js index 169efaf..99f0c85 100644 --- a/utils/storage.js +++ b/utils/storage.js @@ -48,6 +48,7 @@ const STORAGE_CONFIG = Object.freeze({ maxWidthChatsItem: { key: 'local:maxWidthChats', fallback: { value: DEFAULT_MAX_WIDTH, unit: 'px' } }, maxWidthTextareaItem: { key: 'local:maxWidthTextarea', fallback: { value: DEFAULT_MAX_WIDTH, unit: 'px' } }, hideThinkingItem: { key: 'local:hideThinking', fallback: false }, + toggleBubbleAIItem: { key: 'local:toggleGptBubble', fallback: false }, }, }) @@ -80,4 +81,5 @@ export const { maxWidthTextareaItem, hideThinkingItem, accentUserBubbleItem, + toggleBubbleAIItem, } = storageItems