Skip to content

v5.9.3: fix blank cards and charts on the simulation page - #137

Merged
BetterToBest merged 2 commits into
mainfrom
claude/s78-blank-cards
Nov 16, 2026
Merged

BetterToBest merged 2 commits into
mainfrom
claude/s78-blank-cards

Conversation

@BetterToBest

Copy link
Copy Markdown
Owner

What

Every card and chart below the headline on the simulation's main page (for example "How savings shift, and for whom") showed only its title on the live site.

Cause

site/simpage.js is deferred and started on a bare timer. The page's own script parses the embedded release panels (REL.data) in its DOMContentLoaded handler. On a slow load the timer ran first, found no data and quit.

Fix

Wait for DOMContentLoaded while REL.data is empty (site/simpage.js). A domtest check covers the start line. Version labels and ?v= cache keys bumped to 5.9.3 so browsers drop the cached 5.9.2 script. Engine block and harness.js unchanged.

Checks

  • Reproduced in a browser by delaying the page's own DOMContentLoaded handlers: blank before the fix, drawn after.
  • validate passes; unit 384 tests; check_versions passes. domtest is running in CI.

Generated by Claude Code

…ace in site/simpage.js)

The guided sections started on a bare timer, but the page's own script parses the embedded release panels in its DOMContentLoaded handler. On a slow load the timer ran first, found no data and quit, leaving every card and chart below the headline blank. The start now waits for DOMContentLoaded while REL.data is empty. A domtest check covers the start line; version labels and cache keys bumped to 5.9.3.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@BetterToBest
BetterToBest merged commit c239906 into main Nov 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants