mitai-jinkendo/frontend/src/pages
Lars 2303c04123
All checks were successful
Deploy Development / deploy (push) Successful in 49s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s
feat: filtered goal types - count specific training types
NEW FEATURE: Filter conditions for goal types
Enables counting/aggregating specific subsets of data.

Example use case: Count only strength training sessions per week
- Create goal type with filter: {"training_type": "strength"}
- count_7d now counts only strength training, not all activities

Implementation:
- Migration 026: filter_conditions JSONB column
- Backend: Dynamic WHERE clause building from JSON filters
- Supports single value: {"training_type": "strength"}
- Supports multiple values: {"training_type": ["strength", "hiit"]}
- Works with all 8 aggregation methods (count, avg, sum, min, max)
- Frontend: JSON textarea with example + validation
- Pydantic models: filter_conditions field added

Technical details:
- SQL injection safe (parameterized queries)
- Graceful degradation (invalid JSON ignored with warning)
- Backward compatible (NULL filters = no filtering)

Answers user question: 'Kann ich Trainingstypen wie Krafttraining separat zählen?'
Answer: YES! 🎯
2026-03-27 08:14:22 +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
AdminGoalTypesPage.jsx feat: filtered goal types - count specific training types 2026-03-27 08:14:22 +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: goals navigation + UX improvements 2026-03-26 16:50:22 +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: Phase 0a - Minimal Goal System (Strategic + Tactical) 2026-03-26 16:20:35 +01:00
GoalsPage.jsx fix: Better error handling for goal types loading 2026-03-27 07:28:14 +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