Skip to content

Fix dashboard first load latency#136

Merged
cbusillo merged 1 commit into
mainfrom
fix-dashboard-first-load
Jun 6, 2026
Merged

Fix dashboard first load latency#136
cbusillo merged 1 commit into
mainfrom
fix-dashboard-first-load

Conversation

@cbusillo

@cbusillo cbusillo commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • render the Work page shell immediately instead of showing the route loading wall
  • split the dashboard core fast path from folder hydration with preview_limit=0
  • skip series-folder hydration for the Work page and keep it on the Folders index
  • add regression coverage that preview_limit=0 skips folder-card generation while keeping catalog emptiness truthful

Validation

  • browser reload at http://127.0.0.1:4173/: no Loading workstation data, Work shell paints immediately, folder rows hydrate afterward
  • live API timings: /api/dashboard?preview_limit=0 ~162 ms / 47 KB; /api/dashboard/folders?include_series=0 hydrates in background
  • uv run --with pytest pytest tests/test_tuning_runtime.py -q -k dashboard_summary_payload
  • npm --prefix frontend run check
  • npm --prefix frontend run test:unit -- --run
  • bash scripts/pre-commit-check.sh

@cbusillo cbusillo merged commit ca51ca8 into main Jun 6, 2026
5 checks passed
@cbusillo cbusillo deleted the fix-dashboard-first-load branch June 6, 2026 17:01
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