829e914a79
Signed-off-by: Peter Siegmund <developer@mars3142.org>
1.5 KiB
1.5 KiB
description, name, argument-hint, agent
| description | name | argument-hint | agent |
|---|---|---|---|
| Validate frontend changes: build, test, and check for regressions against API expectations and existing features. | Website Change Check | Summary of changes made (e.g., routing update, new component, dependency upgrade) | agent |
Website Change Check
Run a quick validation pass on frontend changes:
Steps:
- Build Check: Run
npm run buildand report any TypeScript/Svelte errors - Test Check: Run
npm run testand report test coverage or failures - API Compatibility: Verify endpoint usage (search codebase for /api calls) matches current routes in README-API.md
- Asset Integrity: Confirm static asset paths and fetch patterns still work with firmware's static-file server (including gzip fallback)
- Summary: List any breaking changes or build artifacts that need cleanup
Context:
- Website builds and tests must pass for firmware flashing
- Static assets are served by api-server with potential gzip variants
- Captive portal access (AP mode) expects
/,/index.html→ redirect to/captive.html
Reference:
- website/package.json—build and test scripts
- .github/instructions/website.instructions.md—frontend conventions
Expected Output:
- ✅ or ❌ for each check
- Specific error messages or warnings
- Suggested fixes (if any)