mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 17:59:09 +08:00
feat[SelectionAssistant]: add faq&feedback link (#6531)
feat: add FAQ button to Selection Assistant settings
This commit is contained in:
parent
e906d5db25
commit
8f9a5642f2
@ -3,7 +3,7 @@ import { useTheme } from '@renderer/context/ThemeProvider'
|
||||
import { useSelectionAssistant } from '@renderer/hooks/useSelectionAssistant'
|
||||
import { TriggerMode } from '@renderer/types/selectionTypes'
|
||||
import SelectionToolbar from '@renderer/windows/selection/toolbar/SelectionToolbar'
|
||||
import { Radio, Row, Slider, Switch, Tooltip } from 'antd'
|
||||
import { Button, Radio, Row, Slider, Switch, Tooltip } from 'antd'
|
||||
import { CircleHelp } from 'lucide-react'
|
||||
import { FC, useEffect } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
@ -52,9 +52,15 @@ const SelectionAssistantSettings: FC = () => {
|
||||
return (
|
||||
<SettingContainer theme={theme}>
|
||||
<SettingGroup>
|
||||
<Row>
|
||||
<Row align="middle">
|
||||
<SettingTitle>{t('selection.name')}</SettingTitle>
|
||||
<Spacer />
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => window.api.openWebsite('https://github.com/CherryHQ/cherry-studio/issues/6505')}
|
||||
style={{ fontSize: 12 }}>
|
||||
{'FAQ & ' + t('settings.about.feedback.button')}
|
||||
</Button>
|
||||
<ExperimentalText>{t('selection.settings.experimental')}</ExperimentalText>
|
||||
</Row>
|
||||
<SettingDivider />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user