mediago-dev--mediago
bee6bd1cbd
- Go Core now broadcasts a "download-create" SSE event after POST /api/downloads succeeds, carrying the new task ids and count. The renderer's events.ts listens for it and calls useDownloadStore's increase() imperatively, so the sidebar badge updates regardless of which WebContents issued the request — the source-extract overlay dialog has its own Zustand instance and can no longer silently swallow the increment. - Remove the now-redundant local increase() calls in download-form and browser-view-panel so the counter is incremented exactly once per task from a single source of truth. - Favorite.Create returns 409 Conflict with a translated MsgURLAlreadyExists message when the URL already exists, instead of 500 with the raw "url_already_exists" string. - http.ts response interceptor now surfaces the server's translated message on 4xx/5xx instead of Axios's generic "Request failed with status code XXX". - Simplify getFavIcon: drop the 1s <img> probe that dropped most URLs and return the canonical /favicon.ico; <Avatar> already falls back to a link icon when the image fails to load. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>