mitai-jinkendo/frontend/src/pages
Lars 0c4264de44
All checks were successful
Deploy Development / deploy (push) Successful in 51s
Build Test / lint-backend (push) Successful in 1s
Build Test / build-frontend (push) Successful in 14s
feat: display_name + placeholder picker for prompts (Issue #28)
Migration 018:
- Add display_name column to ai_prompts
- Migrate existing prompts from hardcoded SLUG_LABELS
- Fallback: name if display_name is NULL

Backend:
- PromptCreate/Update models with display_name field
- create/update/duplicate endpoints handle display_name
- Fallback: use name if display_name not provided

Frontend:
- PromptEditModal: display_name input field
- Placeholder picker: button + dropdown with all placeholders
- Shows example values, inserts {{placeholder}} on click
- Analysis.jsx: use display_name instead of SLUG_LABELS

User-facing changes:
- Prompts now show custom display names (e.g. '🍽️ Ernährung')
- Admin can edit display names instead of hardcoded labels
- Template editor has 'Platzhalter einfügen' button
- No more hardcoded SLUG_LABELS in frontend

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 06:31:25 +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: AI-Prompts flexibilisierung - Backend & Admin UI (Issue #28, Part 1) 2026-03-24 15:32:25 +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: display_name + placeholder picker for prompts (Issue #28) 2026-03-25 06:31:25 +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