webui: RSS manual download / repull / rule-run controls

- Per-article Add button now sends the article key and reflects the
  grabbed state (✓ Added, disabled).
- Per-feed ⟳ repull plus a Refresh-all button.
- Per-rule ⏵ "Run now" that re-applies the rule to existing articles
  and reports how many were added.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ookami125 2026-06-23 01:45:49 -04:00
parent ed906a3549
commit 0aeb039586
2 changed files with 27 additions and 3 deletions

View file

@ -47,6 +47,8 @@ export const api = {
deleteFeed: (name) => jpost('/api/rss/delete', { name }),
saveRssRule: (rule) => jpost('/api/rss/rules', rule),
deleteRssRule: (name) => jpost('/api/rss/rules/delete', { name }),
runRssRule: (name) => jpost('/api/rss/rules/run', { name }),
refreshFeeds: (name) => jpost('/api/rss/refresh', name ? { name } : {}),
rssDownload: (item) => jpost('/api/rss/download', item),
saveIndexer: (ix) => jpost('/api/indexers', ix),
deleteIndexer: (name) => jpost('/api/indexers/delete', { name }),