Major improvements: 1. PlaceholderPicker component (new) - Loads placeholders dynamically from backend catalog - Grouped by categories: Profil, Körper, Ernährung, Training, etc. - Search/filter functionality - Shows live example values from user data - Popup modal with expand/collapse categories 2. Replaced hardcoded placeholder chips - 'Platzhalter einfügen' button opens picker - Works in both base templates and pipeline inline templates - Auto-closes after selection 3. Uses existing backend system - GET /api/prompts/placeholders - placeholder_resolver.py with PLACEHOLDER_MAP - Dynamic, module-based placeholder system - No manual updates needed when modules add new placeholders Benefits: - Scalable: New modules can add placeholders without frontend changes - User-friendly: Search and categorization - Context-aware: Shows real example values - Future-proof: Backend-driven catalog |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| Dockerfile | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||