mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
Styles are selectable in the briefing and flow into the prompt builder so "LinkedIn-Post" and "Akademisch" produce visibly different drafts from the same brief. - StylePicker.svelte: dropdown in BriefingForm grouped into Vorlagen (9 presets from presets/styles.ts) and Meine Stile (user custom rows). Emits an opaque id — `preset:<id>` for presets or a uuid for customs — so selecting a preset requires no Dexie write. - generations store: loadStyle() now resolves both prefix shapes. The prompt builder already honoured both preset.principles and row.extractedPrinciples, so no prompt changes needed. - /writing/styles view: grid of presets (read-only dashed cards) plus a user section with create / edit / delete for custom styles. - StyleForm.svelte: M4 supports source='custom-description' (name + freeform prose the LLM reads verbatim). Sample-trained and self-trained sources come in M4.1. - DetailView surfaces the active style as a 🎨-chip next to the briefing preview; ListView gets a "🎨 Stile" link to the management route. Styles are optional — existing drafts with styleId=null keep their previous behaviour, and the LinkedIn/Hemingway/etc. presets are a zero- friction on-ramp before users bother writing a custom one. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||