feat: Deploy React dashboard to Netlify with TypeScript fixes - #339
Open
Raakshass wants to merge 2 commits into
Open
feat: Deploy React dashboard to Netlify with TypeScript fixes#339Raakshass wants to merge 2 commits into
Raakshass wants to merge 2 commits into
Conversation
- Fix API URL to use open.quartz.solar instead of localhost
- Wrap request body in {site: ...} format per API v1 spec
- Fix response parsing to use data.predictions.power_kw
- Add TypeScript type annotations to fix build errors
- Add path aliases to tsconfig.app.json for @ imports
- Remove unused imports and props
Closes openclimatefix#153
Raakshass
force-pushed
the
feature/deploy-react-dashboard
branch
from
February 3, 2026 19:04
7a41fec to
534ae8c
Compare
6 tasks
Contributor
Author
CI Status UpdateThe The Fix: PR #340 addresses this by removing the trailing whitespace. Once #340 is merged, this PR's CI will pass. 🌐 Live Dashboard: https://quartz-solar-dashboard.netlify.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deploy the React dashboard to Netlify with TypeScript fixes and correct API integration.
🌐 Live Dashboard: https://quartz-solar-dashboard.netlify.app
Closes #153
Changes Made
1. API Integration Fix
http://localhost:8000tohttps://open.quartz.solar/forecast/{site: {...}}format to match API v1 specdata.predictions.power_kw2. TypeScript Fixes
tsconfig.app.json@/*)PVForecastForm.tsxPredictionTable.tsxPredicitionChart.tsxcalendar.tsxApp.tsxScreenshot
Checklist