Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(bootstrap): make the model-download failed banner recoverable (#217) (#220)

2 months ago

f66947d
Authored
Davy7/25/2026, 7:10:58 PM
The model-download `failed` banner was a dead end: it rendered
"Separation unavailable" with no control, even though the download is
retryable and clicking a song's Separate button silently restarts the
209MB fetch. First-run users who were briefly offline saw a broken-looking
app with nothing to click.

Add an explicit Retry button to the `failed` branch of
ModelBootstrapBanner. It calls the existing `download_model` command for
the active variant, publishes the returned `downloading` snapshot so the
banner flips to downloading and GlobalProgressBar takes over the progress
readout, and surfaces any error via notifyError while staying on the
failed banner for another attempt. Soften the copy: drop
"Separation unavailable" for an actionable hint plus a "Retry" control
(en + zh-CN).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

Parent525a2c7

4 files changed
  • src/components/Bootstrap/ModelBootstrapBanner.test.tsx+138−0
  • src/components/Bootstrap/ModelBootstrapBanner.tsx+44−9
  • src/locales/en.json+2−1
  • src/locales/zh-CN.json+2−1