iPX does not open or read without a connection #389

Closed
opened 2026-11-06 16:42:08 -08:00 by rays · 1 comment
Owner

With no network (a plane, a tunnel, the phone in a basement) the home-screen app shows nothing: there is no service worker, and the lists the page fetched, full text included, live only in its memory. Wanted: the page opens offline, the lists already fetched (All, Unread, the feeds preloaded or opened) can be read with their pictures, and reads, flags and positions made offline are kept and sent when the connection returns. Cleared on sign-out.

With no network (a plane, a tunnel, the phone in a basement) the home-screen app shows nothing: there is no service worker, and the lists the page fetched, full text included, live only in its memory. Wanted: the page opens offline, the lists already fetched (All, Unread, the feeds preloaded or opened) can be read with their pictures, and reads, flags and positions made offline are kept and sent when the connection returns. Cleared on sign-out.
rays added the enhancement label 2026-11-06 16:42:08 -08:00
Author
Owner

Done in af69b69, deployed in ipx and ipx-web 2026-11-07 01:00: a service worker (web/sw/sw.ts) keeps the page and every API read, network first; pictures in unread items' text through /api/art (which now accepts addresses ipx has sent in item text), 200 MB at most; reads, flags and positions made offline wait in an outbox and go in order when back. Cleared on sign-out and on a change of account. Browser tests: opening offline with the list, text and picture, the read sent once back; a picture online still from its publisher; sign-out clearing it.

Done in af69b69, deployed in ipx and ipx-web 2026-11-07 01:00: a service worker (web/sw/sw.ts) keeps the page and every API read, network first; pictures in unread items' text through /api/art (which now accepts addresses ipx has sent in item text), 200 MB at most; reads, flags and positions made offline wait in an outbox and go in order when back. Cleared on sign-out and on a change of account. Browser tests: opening offline with the list, text and picture, the read sent once back; a picture online still from its publisher; sign-out clearing it.
rays closed this issue 2026-11-06 16:59:48 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#389