mitai-jinkendo/frontend/src/pages
Lars da803da816
All checks were successful
Deploy Development / deploy (push) Successful in 46s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s
feat: extract individual values from stage outputs (Issue #47)
FEATURE: Basis-Analysen Einzelwerte
Vorher: stage_1_body → {"bmi": 26.6, "weight": "85.2kg"} (1 Zeile)
Jetzt:  bmi → 26.6 (eigene Zeile)
        weight → 85.2kg (eigene Zeile)

BACKEND: JSON-Extraktion
- Stage outputs (JSON) → extract individual fields
- extracted_values dict sammelt alle Einzelwerte
- Deduplizierung: Gleiche Keys nur einmal
- Flags:
  - is_extracted: true → Wert aus Stage-Output extrahiert
  - is_stage_raw: true → Rohdaten (JSON) nur Experten-Modus

BEISPIEL Stage 1 Output:
{
  "stage_1_body": {
    "bmi": 26.6,
    "weight": "85.2 kg",
    "trend": "sinkend"
  }
}

→ Metadata:
{
  "bmi": {
    value: "26.6",
    description: "Aus Stage 1 (stage_1_body)",
    is_extracted: true
  },
  "weight": {
    value: "85.2 kg",
    description: "Aus Stage 1 (stage_1_body)",
    is_extracted: true
  },
  "stage_1_body": {
    value: "{\"bmi\": 26.6, ...}",
    description: "Rohdaten Stage 1 (Basis-Analyse JSON)",
    is_stage_raw: true
  }
}

FRONTEND: Smart Filtering
Normal-Modus:
- Zeigt: Einzelwerte (bmi, weight, trend)
- Versteckt: Rohdaten (stage_1_body JSON)
- Filter: is_stage_raw === false

Experten-Modus:
- Zeigt: Alles (Einzelwerte + Rohdaten)
- Rohdaten: Grauer Hintergrund + 🔬 Icon

VISUAL Indicators:
↳ bmi        → Extrahierter Wert (grün)
  weight     → Normaler Platzhalter (accent)
🔬 stage_1_* → Rohdaten JSON (grau, klein, nur Experten)

ERGEBNIS:
┌──────────────────────────────────────────┐
│ 📊 Verwendete Werte (8) (+2 ausgeblendet)│
│ ┌────────────────────────────────────────┐│
│ │ weight_aktuell │ 85.2 kg   │ Gewicht ││ ← Normal
│ │ ↳ bmi          │ 26.6      │ Aus St..││ ← Extrahiert
│ │ ↳ trend        │ sinkend   │ Aus St..││ ← Extrahiert
│ └────────────────────────────────────────┘│
└──────────────────────────────────────────┘

Experten-Modus zusätzlich:
│ 🔬 stage_1_body │ {"bmi":...│ Rohdaten││ ← JSON

version: 9.9.0 (feature)
module: prompts 2.4.0, insights 1.7.0
2026-03-26 12:55:53 +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: batch import/export for prompts (Issue #28 Debug B) 2026-03-26 09:44:08 +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 feat: extract individual values from stage outputs (Issue #47) 2026-03-26 12:55:53 +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 placeholder export with values (Settings page) 2026-03-26 10:05:11 +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