Add offline reading packs for Android and GNOME #2

Merged
salix merged 1 commit from t3code/offline-reading-packs into main 2026-10-02 12:48:36 +02:00
Owner

Download the newest posts and comments from a chosen feed before a commute. Android and GNOME now have an Offline reading packs menu with feed selection, a post count, optional media, and a storage limit for each pack.

Packs hold up to 100 posts and 400 comments per post. Text downloads first, and content plus media stay within the selected 1 MiB to 1 GiB limit. Reading uses local copies without refreshing from Reddit. The manager shows storage use and skipped items, supports deletion, and lets users cancel downloads. Saving a pack post copies its media into the library so deleting the pack preserves the saved copy.

Packs stay local to the device and space and are excluded from backups and sync. Extra comment pages require a connection.

Validation:

  • Core with networking: 212 tests passed, 8 ignored.
  • Core without networking: 106 tests passed, 1 ignored.
  • All 9 reading-pack regressions passed after the final storage checks.
  • Android Kotlin compilation and all 96 unit tests passed.
  • GNOME compilation and all 65 tests passed.
  • Rust formatting and git whitespace checks passed.
Download the newest posts and comments from a chosen feed before a commute. Android and GNOME now have an Offline reading packs menu with feed selection, a post count, optional media, and a storage limit for each pack. Packs hold up to 100 posts and 400 comments per post. Text downloads first, and content plus media stay within the selected 1 MiB to 1 GiB limit. Reading uses local copies without refreshing from Reddit. The manager shows storage use and skipped items, supports deletion, and lets users cancel downloads. Saving a pack post copies its media into the library so deleting the pack preserves the saved copy. Packs stay local to the device and space and are excluded from backups and sync. Extra comment pages require a connection. Validation: - Core with networking: 212 tests passed, 8 ignored. - Core without networking: 106 tests passed, 1 ignored. - All 9 reading-pack regressions passed after the final storage checks. - Android Kotlin compilation and all 96 unit tests passed. - GNOME compilation and all 65 tests passed. - Rust formatting and git whitespace checks passed.
salix merged commit 95ccea8fdb into main 2026-10-02 12:48:36 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
salix/threado!2
No description provided.