Skip to content

Fix strategy switch console stuck on boot screen - #92

Merged
Pigbibi merged 1 commit into
mainfrom
fix/console-boot-section-ids
Jun 27, 2026
Merged

Fix strategy switch console stuck on boot screen#92
Pigbibi merged 1 commit into
mainfrom
fix/console-boot-section-ids

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add missing id attributes for income-layer-section and option-overlay-section so renderControls() no longer throws on null elements.
  • Regenerate page_asset.js and add regression assertions in worker validation tests.

Root cause

QMT work added el("income-layer-section").hidden = ... but the HTML only had classes, not ids. Initial render() threw before boot() finished, leaving the loading screen forever.

Test plan

  • node tests/strategy_switch_worker_validation.mjs
  • Deploy Worker and verify console loads past boot screen

Made with Cursor

renderControls toggles income-layer and option-overlay visibility by id; without those ids render() threw and blocked boot from completing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi merged commit 6dfb1b8 into main Jun 27, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the fix/console-boot-section-ids branch June 27, 2026 16:51
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.

1 participant