diff --git a/frontend/src/components/settings/SettingsAdvanced.tsx b/frontend/src/components/settings/SettingsAdvanced.tsx deleted file mode 100644 index a521aff..0000000 --- a/frontend/src/components/settings/SettingsAdvanced.tsx +++ /dev/null @@ -1,139 +0,0 @@ -import { type Component } from 'solid-js'; -import { A } from '@solidjs/router'; -import { useI18n } from '~/i18n'; -import type { UserSettings } from '~/types'; - -interface SettingsAdvancedProps { - settings: () => UserSettings; - setSettings: (updater: (prev: UserSettings) => UserSettings) => void; -} - -/** - * Advanced settings section on the Settings page. - * - * Groups fields that control extraction and pipeline behaviour: - * - `article_history_days` — deduplication window - * - `batch_size` — number of sources processed per LLM batch - * - `search_agent_behavior` — free-text prompt injection for the search agent - */ -const SettingsAdvanced: Component = (props) => { - const { t } = useI18n(); - - return ( - <> - {/* articleHistoryDays + batchSize grid */} -
-
- -
- - props.setSettings((prev) => ({ - ...prev, - article_history_days: - parseInt(e.currentTarget.value) || 90, - })) - } - /> -
- -
- -
- -

{t('settings.batchSizeHelp')}

-
- - props.setSettings((prev) => ({ - ...prev, - batch_size: - parseInt(e.currentTarget.value) || 5, - })) - } - /> -
-
- -
- -

{t('settings.sourceExtractionWindowHelp')}

-
- - props.setSettings((prev) => ({ - ...prev, - source_extraction_window: parseInt(e.currentTarget.value) || 3, - })) - } - /> -
-
-
- - {/* Search agent behavior */} -
- -
-