feat: global placeholder export with values (Settings page)
Zentraler Export aller verfügbaren Platzhalter mit aktuellen Werten. Backend: - GET /api/prompts/placeholders/export-values - Returns all placeholders organized by category - Includes resolved values for current profile - Includes metadata (description, example) - Flat list + categorized structure Frontend SettingsPage: - Button "📊 Platzhalter exportieren" - Downloads: placeholders-{profile}-{date}.json - Shows all 38+ placeholders with current values - Useful for: - Understanding available data - Debugging prompt templates - Verifying placeholder resolution Frontend api.js: - exportPlaceholderValues() Export Format: { "export_date": "2026-03-26T...", "profile_id": "...", "count": 38, "all_placeholders": { "name": "Lars", ... }, "placeholders_by_category": { "Profil": [...], "Körper": [...], ... } } Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
7f94a41965
commit
555ff62b56
3 files changed
+78
No files matched your search
@@ -326,4 +326,7 @@ export const api = {
|
||||
if (overwrite) params.append('overwrite', 'true')
|
||||
return req(`/prompts/import?${params}`, json(data))
|
||||
},
|
||||
|
||||
// Placeholder Export
|
||||
exportPlaceholderValues: () => req('/prompts/placeholders/export-values'),
|
||||
}
|
||||
Reference in new issue
Block a user