mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
Wires the Phase 2d.5a helpers (applyPresetToSpace, copyTagsBetweenSpaces) into the new-Space UX so users get a familiar tag taxonomy in every Space they create, without manual re-entry. The dialog gains a "Tag-Set" dropdown: - "Leer starten" — new Space starts without any tags - "Aus <current> kopieren" — clones the user's active Space's globalTags + tagGroups as a one-shot snapshot (fresh ids, no live link back to the source) - <named-preset> — applies a userTagPreset snapshot, creating tagGroups for each distinct groupName so the user's familiar grouping carries over Default pick (when the dropdown first renders): - If the user has a default preset → that preset - Else if currently in Personal → "copy-current" - Else "empty" (safer inside shared Spaces — don't leak Team/Family taxonomy into a new one by default) Seeding runs BEFORE the Space activation switches context, so copyTagsBetweenSpaces still sees the source-Space's tags as read-scope. Seeding failures are caught and logged but deliberately non-fatal — the Space is already created, the user can seed later from inside it. `<select>` styling piggy-backs on the existing .field input/textarea rules (extends the shared selector list instead of duplicating). Type-check + Svelte a11y 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 | ||