chore(servers): remove quick/full scan buttons from server cards (#843)

Drops the Quick/Full scan actions and all supporting logic — they are no
longer needed. Removes the ServerScanActions component (incl. the unused
compact variant), the subsonicScan API, the scanStore, and the app-root
useScanPolling hook (no more background scan polling). Cleans up the
.server-scan-* CSS and the settings.scan i18n block across all 9 locales.

440 deletions, no new code; tsc + bundle clean.
This commit is contained in:
Frank Stellmacher
2026-05-21 22:43:46 +02:00
committed by GitHub
parent f9f96f024f
commit 1a7a2a0bfc
16 changed files with 0 additions and 440 deletions
-12
View File
@@ -467,16 +467,4 @@ export const settings = {
floatingPlayerBarSub: '保持播放栏悬浮在内容上方',
uiScaleTitle: '界面缩放',
uiScaleLabel: '缩放',
scan: {
quick: '快速扫描',
full: '完整扫描',
quickTip: '快速扫描 — 仅索引新增/变更文件',
fullTip: '完整扫描 — 重新索引全部',
confirmFull: '再次点击确认',
confirmFullShort: '确认完整扫描',
scanning: '扫描中…',
done: '扫描完成',
error: '扫描失败',
toast: '{{name}}: 扫描完成 — 已索引 {{count}} 首曲目',
},
};