mitai-jinkendo/frontend/src/pages
Lars 087e8dd885
All checks were successful
Deploy Development / deploy (push) Successful in 47s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 19s
feat: Add Placeholder Metadata Export to Admin Panel
Adds download functionality for complete placeholder metadata catalog.

Backend:
- Fix: None-template handling in placeholder_metadata_extractor.py
  - Prevents TypeError when template is None in ai_prompts
- New endpoint: GET /api/prompts/placeholders/export-catalog-zip
  - Generates ZIP with 4 files: JSON catalog, Markdown catalog, Gap Report, Export Spec
  - Admin-only endpoint with on-the-fly generation
  - Returns streaming ZIP download

Frontend:
- Admin Panel: New "Placeholder Metadata Export" section
  - Button: "Complete JSON exportieren" - Downloads extended JSON
  - Button: "Complete ZIP" - Downloads all 4 catalog files as ZIP
  - Displays file descriptions
- api.js: Added exportPlaceholdersExtendedJson() function

Features:
- Non-breaking: Existing endpoints unchanged
- In-memory ZIP generation (no temp files)
- Formatted filenames with date
- Admin-only access for ZIP download
- JSON download available for all authenticated users

Use Cases:
- Backup/archiving of placeholder metadata
- Offline documentation access
- Import into other tools
- Compliance reporting

Files in ZIP:
1. PLACEHOLDER_CATALOG_EXTENDED.json - Machine-readable metadata
2. PLACEHOLDER_CATALOG_EXTENDED.md - Human-readable catalog
3. PLACEHOLDER_GAP_REPORT.md - Unresolved fields analysis
4. PLACEHOLDER_EXPORT_SPEC.md - API specification

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-29 20:37:52 +02: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
AdminFocusAreasPage.jsx feat: Frontend Phase 3.1 - Focus Areas Admin UI 2026-03-27 19:51:18 +01:00
AdminGoalTypesPage.jsx feat: Phase 0b - add avg_per_week_30d to frontend dropdown 2026-03-28 10:50:51 +01:00
AdminPanel.jsx feat: Add Placeholder Metadata Export to Admin Panel 2026-03-29 20:37:52 +02: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 refactor: Separate goal tracking - strategic vs tactical 2026-03-27 15:32:15 +01:00
CircumScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00
CustomGoalsPage.jsx refactor: Separate goal tracking - strategic vs tactical 2026-03-27 15:32:15 +01:00
Dashboard.jsx feat: Phase 0a - Minimal Goal System (Strategic + Tactical) 2026-03-26 16:20:35 +01:00
GoalsPage.jsx feat: show target_date in goal list next to target value 2026-03-28 14:50:34 +01:00
GuidePage.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
History.jsx feat: Phase 0c Frontend Phase 1 - Nutrition + Recovery Charts 2026-03-29 07:02:54 +02: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