mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-10-30 20:24:47 +08:00
Clicking "check for updates" felt like a no-op: the only signal was a static one-line "up to date", already shown from the on-mount auto-check, and the /check endpoint served a 15-minute cache so repeated clicks did nothing server-side. - Expose `force` on GET /update/check; the button passes force=true to bypass the cache and re-fetch, while the on-mount auto-check stays cached (no extra GitHub calls). Updater-level force was already implemented and is now locked by a test. - Active feedback on a user-initiated check: a success toast when already current, an info toast naming the new version when one is found, and a "Last checked HH:MM:SS" line that updates every click. The check-failed toast now includes the backend's reason (rate limit / no release) instead of a generic message. Verified end-to-end: the endpoint reaches GitHub and finds the latest release (beta.3, whose signed update bundle is attached), so in-app update is functional; the timestamp advances and the toast fires on each click. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FAxVyRwrY7z5NotTtgnwVs
Auto_Bangumi_WebUI
使用 Vue3 + TypeScript 构建的 Auto_Bangumi 的 WebUI