Skip to content

Commit

Permalink
Added icon prop to settingsProps ↞ [auto-sync from `adamlui/chatg…
Browse files Browse the repository at this point in the history
…pt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jul 7, 2024
1 parent 042b1a0 commit 28bd9b1
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.7.6.10
// @version 2024.7.6.11
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -304,52 +304,52 @@

// Init SETTINGS props
const settingsProps = {
proxyAPIenabled: { type: 'toggle',
proxyAPIenabled: { type: 'toggle', icon: 'sunglasses',
label: msgs.menuLabel_proxyAPImode || 'Proxy API Mode',
helptip: msgs.helptip_proxyAPImode || 'Uses a Proxy API for no-login access to AI' },
streamingDisabled: { type: 'toggle',
streamingDisabled: { type: 'toggle', icon: 'signalStream',
label: msgs.mode_streaming || 'Streaming Mode',
helptip: msgs.helptip_streamingMode || 'Receive replies in a continuous text stream' },
autoGet: { type: 'toggle',
autoGet: { type: 'toggle', icon: 'speechBalloonLasso',
label: msgs.menuLabel_autoGetAnswers || 'Auto-Get Answers',
helptip: msgs.helptip_autoGetAnswers || 'Auto-send queries to DuckDuckGPT when using search engine' },
autoFocusChatbarDisabled: { type: 'toggle', mobile: false,
autoFocusChatbarDisabled: { type: 'toggle', mobile: false, icon: 'caretsInward',
label: msgs.menuLabel_autoFocusChatbar || 'Auto-Focus Chatbar',
helptip: msgs.helptip_autoFocusChatbar || 'Auto-focus chatbar whenever it appears' },
autoScroll: { type: 'toggle', mobile: false,
autoScroll: { type: 'toggle', mobile: false, icon: 'arrowsDown',
label: `${ msgs.mode_autoScroll || 'Auto-Scroll' } (${ msgs.menuLabel_whenStreaming || 'when streaming' })`,
helptip: msgs.helptip_autoScroll || 'Auto-scroll responses as they generate in Streaming Mode' },
rqDisabled: { type: 'toggle',
rqDisabled: { type: 'toggle', icon: 'speechBalloons',
label: `${ msgs.menuLabel_show || 'Show' } ${ msgs.menuLabel_relatedQueries || 'Related Queries' }`,
helptip: msgs.helptip_showRelatedQueries || 'Show related queries below chatbar' },
prefixEnabled: { type: 'toggle',
prefixEnabled: { type: 'toggle', icon: 'slash',
label: `${ msgs.menuLabel_require || 'Require' } "/" ${ msgs.menuLabel_beforeQuery || 'before query' }`,
helptip: msgs.helptip_prefixMode || 'Require "/" before queries for answers to show' },
suffixEnabled: { type: 'toggle',
suffixEnabled: { type: 'toggle', icon: 'questionMark',
label: `${ msgs.menuLabel_require || 'Require' } "?" ${ msgs.menuLabel_afterQuery || 'after query' }`,
helptip: msgs.helptip_suffixMode || 'Require "?" after queries for answers to show' },
widerSidebar: { type: 'toggle', mobile: false, centered: false,
widerSidebar: { type: 'toggle', mobile: false, centered: false, icon: 'widescreen',
label: msgs.menuLabel_widerSidebar || 'Wider Sidebar',
helptip: msgs.helptip_widerSidebar || 'Horizontally expand search page sidebar' },
stickySidebar: { type: 'toggle', mobile: false, centered: false,
stickySidebar: { type: 'toggle', mobile: false, centered: false, icon: 'webCorner',
label: msgs.menuLabel_stickySidebar || 'Sticky Sidebar',
helptip: msgs.helptip_stickySidebar || 'Makes DuckDuckGPT visible in sidebar even as you scroll' },
anchor: { type: 'toggle', mobile: false, centered: false,
anchor: { type: 'toggle', mobile: false, centered: false, icon: 'anchor',
label: msgs.mode_anchor || 'Anchor Mode',
helptip: msgs.helptip_anchorMode || 'Anchor DuckDuckGPT to bottom of window' },
bgAnimationsDisabled: { type: 'toggle',
bgAnimationsDisabled: { type: 'toggle', icon: 'sparkles',
label: `${ msgs.menuLabel_background || 'Background' } ${ msgs.menuLabel_animations || 'Animations' }`,
helptip: msgs.helptip_bgAnimations || 'Show animated backgrounds in UI components' },
fgAnimationsDisabled: { type: 'toggle',
fgAnimationsDisabled: { type: 'toggle', icon: 'sparkles',
label: `${ msgs.menuLabel_foreground || 'Foreground' } ${ msgs.menuLabel_animations || 'Animations' }`,
helptip: msgs.helptip_fgAnimations || 'Show foreground animations in UI components' },
replyLanguage: { type: 'prompt',
replyLanguage: { type: 'prompt', icon: 'languageChars',
label: msgs.menuLabel_replyLanguage || 'Reply Language',
helptip: msgs.helptip_replyLanguage || 'Language for DuckDuckGPT to reply in' },
scheme: { type: 'modal',
scheme: { type: 'modal', icon: 'scheme',
label: msgs.menuLabel_colorScheme || 'Color Scheme',
helptip: msgs.helptip_colorScheme || 'Scheme to display DuckDuckGPT UI components in' },
about: { type: 'modal',
about: { type: 'modal', icon: 'questionMarkCircle',
label: `${ msgs.menuLabel_about || 'About' } ${config.appName}...` }
}

Expand Down

0 comments on commit 28bd9b1

Please sign in to comment.