[Reader][Offline] Download-for-offline button on book cards #653

Closed
opened 2026-07-17 14:19:10 +00:00 by spikerj · 1 comment
Owner

PR-8c (part 1) — the UI that makes the offline store + download service (#651) usable.

OfflineDownloadButtonComponent on each reading-journey book card, with four states driven by BookOfflineDownloadService + BookOfflineStoreService:

  • idle → download icon (starts the download),
  • downloading → live determinate spinner + %,
  • downloaded → offline-pin icon (tap to remove the offline copy),
  • stale → sync-problem icon when the server's sha256 changed (tap to re-download).

Click handlers stop propagation so the control never opens the book. i18n en + es.

Follow-up (PR-8c rest): profile offline-books section (list + delete + quota bar); reader offline fallback + blob-URL resource rewriting; book-reader prefers stored Blob; auth.guard offline entry.

PR: spikersoft-angular feat/reader-offline-download-button.

PR-8c (part 1) — the UI that makes the offline store + download service (#651) usable. `OfflineDownloadButtonComponent` on each reading-journey book card, with four states driven by `BookOfflineDownloadService` + `BookOfflineStoreService`: - **idle** → download icon (starts the download), - **downloading** → live determinate spinner + %, - **downloaded** → offline-pin icon (tap to remove the offline copy), - **stale** → sync-problem icon when the server's sha256 changed (tap to re-download). Click handlers stop propagation so the control never opens the book. i18n en + es. **Follow-up (PR-8c rest):** profile offline-books section (list + delete + quota bar); reader offline fallback + blob-URL resource rewriting; `book-reader` prefers stored Blob; `auth.guard` offline entry. PR: spikersoft-angular `feat/reader-offline-download-button`.
Author
Owner

Verified complete: spikersoft-angular PR #226 merged ('download-for-offline button on book cards'); the offline.download/downloading/removeDownload i18n strings ship in the live bundle. Closing (ticket-hygiene sweep).

Verified complete: spikersoft-angular PR #226 merged ('download-for-offline button on book cards'); the offline.download/downloading/removeDownload i18n strings ship in the live bundle. Closing (ticket-hygiene sweep).
Sign in to join this conversation.