Skip to content

feat/offline-dashboard-loading#3

Merged
mschwar merged 2 commits into
mainfrom
feat/offline-dashboard-loading
May 20, 2026
Merged

feat/offline-dashboard-loading#3
mschwar merged 2 commits into
mainfrom
feat/offline-dashboard-loading

Conversation

@mschwar
Copy link
Copy Markdown
Owner

@mschwar mschwar commented May 20, 2026

Offline-safe unified dashboard loading.\n\nSummary:\n- Dashboard now loads only local manifest/CSV assets\n- Removed dependency on remote runtime/CDN loading\n- Rendered unified dashboard with inline SVG\n- Fixed dashboard sizing so content appears in browser screenshots\n- Updated tests and repo handoff docs\n- Regenerated affected plot outputs and site artifacts\n\nVerification:\n- pytest tests/test_dashboard.py tests/test_browser_smoke.py -q → 10 passed\n- python scripts/browser_smoke.py → PASS for homepage, dashboard, and AI Compute Timeline\n- Headless browser screenshots verified the dashboard on desktop and mobile\n\nCommit: 509d20d (feat: offline-safe dashboard loading)\nBranch: feat/offline-dashboard-loading

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the dashboard to be offline-safe by removing remote CDN dependencies and rendering with inline SVG. It also updates the documentation and test suite to reflect these changes. I have identified two bugs in the parseYear function in dashboard/dashboard.js: one where the year 0 is incorrectly treated as falsy, and another where slice(0, 4) truncates years with more than four digits.

Comment thread dashboard/dashboard.js Outdated
Comment thread dashboard/dashboard.js Outdated
@mschwar mschwar merged commit f6a3d67 into main May 20, 2026
3 checks passed
@mschwar mschwar deleted the feat/offline-dashboard-loading branch May 20, 2026 18:37
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