diff --git a/frontend/src/lib/components/admin/CollapsibleSection.svelte b/frontend/src/lib/components/admin/CollapsibleSection.svelte new file mode 100644 index 0000000..364e858 --- /dev/null +++ b/frontend/src/lib/components/admin/CollapsibleSection.svelte @@ -0,0 +1,69 @@ + + +
+ + {#if expanded} +
+ {@render children()} +
+ {/if} +
+ + diff --git a/frontend/src/lib/components/admin/MergeTab.svelte b/frontend/src/lib/components/admin/MergeTab.svelte index be0c028..d34d6d1 100644 --- a/frontend/src/lib/components/admin/MergeTab.svelte +++ b/frontend/src/lib/components/admin/MergeTab.svelte @@ -1,9 +1,11 @@ -
-
- Merge strictness - -
-

How similar articles must be before they're combined into one story.

-
- Loose - - Strict - {local.mergeStrictness} -
-
- -
-
- Poll interval -

How often each source is checked for new items.

- -
-
- Hold before publish -

Wait window to gather more sources before finalizing a story.

- -
-
- -
- Follow-up articles -

- Instead of editing a published article, a distinct follow-up is created once enough new - corroborating sources arrive after enough time has passed. -

-
-
- - -
-
- - -
-
-
- -
- Category priority +

Synthesis queue processes higher-ranked categories first. Nothing is dropped — lower categories just wait longer when the queue is busy. This list also drives the site's nav — @@ -225,6 +156,84 @@ {addingCategory ? 'Adding…' : '+ Add'}

+ + + + + + +
+
+ Merge strictness + +
+

How similar articles must be before they're combined into one story.

+
+ Loose + + Strict + {local.mergeStrictness} +
+
+ +
+
+ Poll interval +

+ Fallback only — every source above sets its own poll interval, so this value has no + effect unless a source somehow has none set (not currently possible through this admin + panel or the API). +

+ +
+
+ Hold before publish +

Wait window to gather more sources before finalizing a story.

+ +
+
+ +
+ Follow-up articles +

+ Instead of editing a published article, a distinct follow-up is created once enough new + corroborating sources arrive after enough time has passed. +

+
+
+ + +
+
+ + +
+
diff --git a/frontend/src/routes/admin/settings/+page.svelte b/frontend/src/routes/admin/settings/+page.svelte index 0cde158..c75cfe8 100644 --- a/frontend/src/routes/admin/settings/+page.svelte +++ b/frontend/src/routes/admin/settings/+page.svelte @@ -1,7 +1,6 @@