mitai-jinkendo/frontend/src/pages
Lars 97e57481f9
All checks were successful
Deploy Development / deploy (push) Successful in 51s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s
fix: Analysis page now uses unified prompt executor (Issue #28)
BREAKING: Analysis page switched from old /insights/run to new /prompts/execute

Changes:
- Backend: Added save=true parameter to /prompts/execute
  - When enabled, saves final output to ai_insights table
  - Extracts content from pipeline output (last stage)
- Frontend api.js: Added save parameter to executeUnifiedPrompt()
- Frontend Analysis.jsx: Switched from api.runInsight() to api.executeUnifiedPrompt()
  - Transforms new result format to match InsightCard expectations
  - Pipeline outputs properly extracted and displayed

Fixes: PIPELINE_MASTER responses (old template being sent to AI)
The old /insights/run endpoint used raw template field, which for the
legacy "pipeline" prompt was literally "PIPELINE_MASTER". The new
executor properly handles stages and data processing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 09:38:58 +01:00
..
ActivityPage.jsx feat: add visual evaluation status indicators to activity list 2026-03-23 13:25:18 +01:00
AdminActivityMappingsPage.jsx feat: inline editing for activity mappings (improved UX) 2026-03-21 19:46:11 +01:00
AdminCouponsPage.jsx feat: add AdminCouponsPage for coupon management 2026-03-20 07:53:47 +01:00
AdminFeaturesPage.jsx refactor: improve AdminFeaturesPage form layout and UX 2026-03-20 07:47:00 +01:00
AdminPanel.jsx feat: AI-Prompts flexibilisierung - Frontend complete (Issue #28, Part 2) 2026-03-24 15:35:55 +01:00
AdminPromptsPage.jsx feat: placeholder chips + convert to base prompt (Issue #28) 2026-03-25 21:59:43 +01:00
AdminTierLimitsPage.jsx feat: add toggle buttons for boolean features in matrix editor 2026-03-20 06:28:31 +01:00
AdminTiersPage.jsx feat: add admin pages for Features and Tiers management 2026-03-20 06:35:13 +01:00
AdminTrainingProfiles.jsx feat: display batch evaluation error details in UI 2026-03-23 13:24:29 +01:00
AdminTrainingTypesPage.jsx feat: improve ProfileBuilder mobile UX and clarity 2026-03-23 14:18:58 +01:00
AdminUserRestrictionsPage.jsx fix: AdminUserRestrictionsPage - show effective values, auto-remove redundant overrides 2026-03-20 12:08:29 +01:00
Analysis.jsx fix: Analysis page now uses unified prompt executor (Issue #28) 2026-03-26 09:38:58 +01:00
CaliperScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00
CaptureHub.jsx feat: implement Vitals module (Ruhepuls + HRV) 2026-03-23 14:52:09 +01:00
CircumScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00
Dashboard.jsx feat: dashboard rest days widget + today highlighting 2026-03-23 08:38:57 +01:00
GuidePage.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
History.jsx refactor: replace local quality filter with info banner (Issue #31) 2026-03-24 08:06:20 +01:00
LoginScreen.jsx fix: redirect to dashboard after successful login 2026-03-21 12:09:37 +01:00
MeasureWizard.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
NewMeasurement.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
NutritionPage.jsx fix: [BUG-003] correlations chart shows all weight data with extrapolation 2026-03-21 09:51:20 +01:00
PasswordRecovery.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
ProfileSelect.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
Register.jsx feat: add self-registration frontend 2026-03-21 09:55:23 +01:00
RestDaysPage.jsx feat: dashboard rest days widget + today highlighting 2026-03-23 08:38:57 +01:00
SettingsPage.jsx feat: global quality filter setting (Issue #31) 2026-03-23 22:29:49 +01:00
SetupScreen.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
SleepPage.jsx feat: sleep duration excludes awake time (actual sleep only) 2026-03-22 14:01:47 +01:00
SubscriptionPage.jsx feat: add SubscriptionPage - user-facing subscription info 2026-03-20 10:31:04 +01:00
Verify.jsx fix: parse JSON error messages and redirect to dashboard 2026-03-21 12:35:04 +01:00
VitalsPage.jsx fix: return error details in import response for debugging 2026-03-23 16:47:36 +01:00
WeightScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00