Defer the mobile workspace bundle behind an offline-safe bootstrap #996

Closed
opened 2026-08-17 00:51:49 +00:00 by rockachopa · 0 comments
Member

User problem

Mobile Home currently parser-blocks on an 85+ KiB gzip workspace aggregate before the core runtime can start, even though the shell can paint independently. On constrained phones this delays first feedback and couples optional workflow delivery to initial navigation.

Evidence

src/frontend_bundle.py injects feature-today-timer as an eager script and precaches it in the required shell. Current build output is about 187 KiB gzip across the two parser-blocking scripts. Historical issue/commit review found prior feature chunking, but no issue that removes this remaining eager feature script or provides a truthful bootstrap failure state.

Acceptance

  • Ship exactly one parser-blocking content-addressed runtime script.
  • Single-flight load the workspace feature before dashboard controllers initialize.
  • A workspace load failure keeps the rendered shell available and announces actionable retry guidance.
  • Cache the workspace as an optional, failure-isolated offline feature rather than a required install dependency.
  • Initial parser-blocking JavaScript remains at or below 100 KiB gzip.
  • Focused tests, full unit suite, and packaged mobile Home/Insights browser journey pass.
## User problem Mobile Home currently parser-blocks on an 85+ KiB gzip workspace aggregate before the core runtime can start, even though the shell can paint independently. On constrained phones this delays first feedback and couples optional workflow delivery to initial navigation. ## Evidence `src/frontend_bundle.py` injects `feature-today-timer` as an eager script and precaches it in the required shell. Current build output is about 187 KiB gzip across the two parser-blocking scripts. Historical issue/commit review found prior feature chunking, but no issue that removes this remaining eager feature script or provides a truthful bootstrap failure state. ## Acceptance - Ship exactly one parser-blocking content-addressed runtime script. - Single-flight load the workspace feature before dashboard controllers initialize. - A workspace load failure keeps the rendered shell available and announces actionable retry guidance. - Cache the workspace as an optional, failure-isolated offline feature rather than a required install dependency. - Initial parser-blocking JavaScript remains at or below 100 KiB gzip. - Focused tests, full unit suite, and packaged mobile Home/Insights browser journey pass.
timmy was assigned by rockachopa 2026-08-17 00:51:49 +00:00
timmy closed this issue 2026-08-17 02:52:40 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: stackchain/stackchain-dashboard#996
No description provided.