mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
Closes the userTagPresets loop: users can now create, set-default, and delete presets from Settings → Tag-Presets, making the dropdown in SpaceCreateDialog actually useful (before this, it only showed "empty" / "copy-current" because no presets existed). New settings category "Tag-Presets": - searchIndex.ts: adds the category entry + anchor; sidebar picks it up automatically since it iterates `categories`. - TagPresetsSection.svelte: list + create + delete + set-default. - settings/ListView.svelte: conditional render wiring. The create flow is deliberately one-click: name the preset, hit "Aus <activeSpace.name> erstellen", and we snapshot every non-deleted tag + tagGroup in the active Space into the new preset (with groupName denormalized so the preset is space-independent). The first preset automatically becomes the user's default — subsequent ones can be promoted via the star button. No full per-entry editor in this commit. If the user wants to tweak a preset's contents, they create a sibling Space with the preset, modify tags there, and promote THAT Space's tags to a new preset. Scope-creep avoidance for a feature whose main value is snapshotting, not authoring. Type-check clean. 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 | ||