Innovenergy_trunk/typescript/frontend-marios2
Yinyin Liu c076d55407 AI diagnosis UX improvements: status-aware, time-filtered, simpler explanations
- Only show AI diagnosis when installation status is red/orange (not green/offline)
- Filter alarms to last 24 hours to avoid showing outdated issues
- Show alarm name first with "Last seen" timestamp instead of "AI Diagnosis" label
- Update Mistral prompt for shorter, non-technical bullet-point explanations
- Fix Mistral JSON parsing when response wrapped in markdown code fences
- Add TestDiagnoseError endpoint for testing full AI flow without auth

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 12:16:35 +01:00
..
public Update frontend. Added Features: SodioHome installations, User Access 2025-09-01 12:59:01 +02:00
src AI diagnosis UX improvements: status-aware, time-filtered, simpler explanations 2026-02-17 12:16:35 +01:00
.eslintignore updated frontend 2023-09-18 14:06:27 +02:00
.eslintrc.json Applied csv file compression to both backend and front end 2024-05-03 22:56:36 +02:00
.gitignore updated frontend 2023-09-18 14:06:27 +02:00
.prettierrc updated frontend 2023-09-18 14:06:27 +02:00
deploy.sh Update frontend. Added Features: SodioHome installations, User Access 2025-09-01 12:59:01 +02:00
deploy_stage.sh Update frontend. Added Features: SodioHome installations, User Access 2025-09-01 12:59:01 +02:00
package-lock.json Add VoltageDifference column in SodistoreMax 2025-06-05 11:28:02 +02:00
package.json Add VoltageDifference column in SodistoreMax 2025-06-05 11:28:02 +02:00
tsconfig.json updated frontend 2023-09-18 14:06:27 +02:00