diff --git a/web/src/components/settings/ComposerToolbarLayoutControl.tsx b/web/src/components/settings/ComposerToolbarLayoutControl.tsx index fb817bbd..dcec68d2 100644 --- a/web/src/components/settings/ComposerToolbarLayoutControl.tsx +++ b/web/src/components/settings/ComposerToolbarLayoutControl.tsx @@ -132,9 +132,9 @@ export function ComposerToolbarLayoutControl() { const selectedIndex = selectedItem ? selectedItems.indexOf(selectedItem) : -1 return ( -
-
-

{t('settings.chat.composerToolbar.title')}

+
+
+

{t('settings.chat.composerToolbar.title')}

{t('settings.chat.composerToolbar.description')}

-

{t('settings.chat.composerToolbar.order')}

+

{t('settings.chat.composerToolbar.order')}

{t('settings.chat.composerToolbar.previewHint')}

-
+
{t('misc.typeAMessage')}
@@ -174,7 +174,7 @@ export function ComposerToolbarLayoutControl() {
{selectedItem && selectedIndex >= 0 ? ( -
+
{t(ITEM_LABEL_KEYS[selectedItem])}
+} + export function ChevronRightIcon(props: { className?: string }) { return (
-

{props.title}

- {props.description ?

{props.description}

: null} + {props.description ?

{props.description}

: null}
{props.children}
@@ -31,8 +34,8 @@ export function SettingsPageContent(props: { title: string; description?: string export function SettingsSection(props: { title?: string; description?: string; children: ReactNode }) { return (
- {props.title ?

{props.title}

: null} - {props.description ?

{props.description}

: null} + {props.title ?

{props.title}

: null} + {props.description ?

{props.description}

: null}
{props.children}
@@ -44,7 +47,7 @@ export function SettingsRow(props: { label: string; description?: string; traili return (
-
{props.label}
+
{props.label}
{props.description ?
{props.description}
: null} {props.children}
@@ -67,6 +70,7 @@ export function SettingsSwitch(props: { label: string; description?: string; che export function SettingsChoiceGroup(props: { label: string + hideLabel?: boolean value: T options: ReadonlyArray<{ value: T; label: string; description?: string }> onChange: (value: T) => void @@ -75,7 +79,7 @@ export function SettingsChoiceGroup(props: { const columns = props.columns === 5 ? 'grid-cols-5' : props.columns === 4 ? 'grid-cols-2 sm:grid-cols-4' : 'grid-cols-2' return (
-
{props.label}
+
{props.options.map((option) => { const selected = props.value === option.value @@ -104,7 +108,7 @@ export function SettingsLinkRow(props: { label: string; value?: string; descript return ( {identityOpen && ( @@ -145,7 +145,7 @@ export function VoicePersonaControls(props: { {characterOpen && ( @@ -178,7 +178,7 @@ export function VoicePersonaControls(props: { {tuningOpen && ( @@ -341,7 +341,7 @@ export function VoiceDiagnosticsControls(props: {
-

{mobileTitle}

- {t('settings.title')} +

{mobileTitle}

+

{t('settings.title')}

@@ -47,7 +47,7 @@ export default function SettingsLayout() { -
+
diff --git a/web/src/routes/settings/voice-advanced.tsx b/web/src/routes/settings/voice-advanced.tsx index 078eae50..74a7f129 100644 --- a/web/src/routes/settings/voice-advanced.tsx +++ b/web/src/routes/settings/voice-advanced.tsx @@ -7,7 +7,7 @@ export default function SettingsVoiceAdvancedPage() { const { t } = useTranslation() const { backend } = useVoiceSettings() return ( - + diff --git a/web/src/routes/settings/voice-voices.tsx b/web/src/routes/settings/voice-voices.tsx index 90b5784c..99bfb1d7 100644 --- a/web/src/routes/settings/voice-voices.tsx +++ b/web/src/routes/settings/voice-voices.tsx @@ -14,7 +14,7 @@ export default function SettingsVoiceVoicesPage() { const { t } = useTranslation() const voice = useVoiceSettings() return ( - +