fix: Render repo mix before populating counts #49

Merged
rockachopa merged 1 commits from timmy/48-fix-repo-mix-widget-initialization-race into main 2026-08-05 22:49:55 +00:00
Member

Closes #48

Renders stable Live clock and Repo mix widget containers before client-side updates, removing the initialization race that made Repo mix permanently unavailable.

TDD evidence:

  • RED: python3 -m pytest tests/test_widgets.py::test_dashboard_renders_repo_mix_placeholder_before_javascript_runs -v failed because the server-rendered placeholder was absent.
  • GREEN: focused test passed.
  • Full suite: 35 passed.
  • Render check: GET / returned 200 with the Repo mix placeholder; GET /healthz returned 200.
Closes #48 Renders stable Live clock and Repo mix widget containers before client-side updates, removing the initialization race that made Repo mix permanently unavailable. TDD evidence: - RED: `python3 -m pytest tests/test_widgets.py::test_dashboard_renders_repo_mix_placeholder_before_javascript_runs -v` failed because the server-rendered placeholder was absent. - GREEN: focused test passed. - Full suite: `35 passed`. - Render check: GET `/` returned 200 with the Repo mix placeholder; GET `/healthz` returned 200.
rockachopa added 1 commit 2026-08-05 22:49:06 +00:00
fix: render repo mix before populating counts (#48)
All checks were successful
CI / lint (pull_request) Successful in 8s
CI / build-frontend (pull_request) Successful in 4s
89c22c6091
rockachopa merged commit 352d70e859 into main 2026-08-05 22:49:55 +00:00
Sign in to join this conversation.
No reviewers
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#49
No description provided.