Offline: following a link to an unloaded mode gives a blank white page #137

Closed
opened 2026-09-25 22:17:57 +00:00 by kayg · 1 comment
Owner

Severity: medium

Problem

With the network down, following a link to a mode whose route chunk is not loaded yet (for example Photos from Files) gives a blank white page: TypeError: Failed to fetch dynamically imported module …/nodes/N.js and nothing else. No message, no retry, no app chrome. /home/kayg/Developer/calternal/target/breakit/run1/net-offline-photos-state_390.png. The same unhandled error shows on back/forward during 5 s API responses.

Expected

The app keeps its shell and shows an offline state ("You are offline. Try again") and retries the chunk when the network returns (SvelteKit handleError / navigation error hook, or a full reload on reconnect).

Found by the break-it sweep (#117). Re-run: cd apps/web && bun run build && bun e2e/breakit.mjs --keep <dir> (script on branch job/breakit-fixes). Screenshots: /home/kayg/Developer/calternal/target/breakit (run 1 in run1/, fix checks in verify/).

**Severity:** medium ## Problem With the network down, following a link to a mode whose route chunk is not loaded yet (for example Photos from Files) gives a **blank white page**: `TypeError: Failed to fetch dynamically imported module …/nodes/N.js` and nothing else. No message, no retry, no app chrome. `/home/kayg/Developer/calternal/target/breakit/run1/net-offline-photos-state_390.png`. The same unhandled error shows on back/forward during 5 s API responses. ## Expected The app keeps its shell and shows an offline state ("You are offline. Try again") and retries the chunk when the network returns (SvelteKit `handleError` / `navigation` error hook, or a full reload on reconnect). Found by the break-it sweep (#117). Re-run: `cd apps/web && bun run build && bun e2e/breakit.mjs --keep <dir>` (script on branch `job/breakit-fixes`). Screenshots: `/home/kayg/Developer/calternal/target/breakit` (run 1 in `run1/`, fix checks in `verify/`).
Author
Owner

Fixed. The full layout sweep passed. Its offline probe loads Files, disables the browser network, opens an unloaded mode link, and checks for the “You are offline” state and its explanation that the mode is not loaded on the device.

Fixed. The full layout sweep passed. Its offline probe loads Files, disables the browser network, opens an unloaded mode link, and checks for the “You are offline” state and its explanation that the mode is not loaded on the device.
kayg closed this issue 2026-09-26 12:52:09 +00:00
Sign in to join this conversation.
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
kayg/calternal#137
No description provided.