managarten/apps/mana/apps/web/src/lib/modules/memoro
Till JS ad5987f1dd feat(visibility): M6 soft-migrate isPublic→visibility on memoro/cards/presi/uload
Brings four legacy isPublic-only modules onto the unified visibility
system. The Picker (private/space/public) replaces the ad-hoc
boolean toggle in memoro + cards + presi DetailViews. Each store
now mirrors `visibility ↔ isPublic` on every flip so older readers
(search index, snapshot pipelines, sync server) keep working
through the soak window — M6.1 will hard-drop the legacy field
once the field has propagated to all rows.

Per-module:
- memoro: setVisibility on memosStore + Picker in DetailView
  properties row. Picker reads the unified `visibility` with a
  fallback to legacy isPublic.
- cards (decks): replaces the "Öffentlich Ja/Nein" toggle button
  with the Picker. createDeck initializes both fields; updateDeck
  mirrors when callers pass legacy isPublic.
- presi (decks): same pattern as cards. setVisibility added to the
  store factory's exported surface.
- uload (tags): no active CRUD UI, so this is type-only soft-migrate
  + seed-data update. Future tag-management view writes visibility
  directly. No store mutation method needed yet.

Out of scope (intentional):
- picture isPublic hard-drop: deferred. Picture has been on
  visibility since M3 (commit 0e9f574df), the soak window is mature
  enough to consider, but pre-launch there's no urgency. Defer to
  M6.1 with the rest of the legacy-field cleanup.
- events isPublished/publicToken: STAYS. This isn't legacy — it's
  the orthogonal mana-events RSVP-snapshot system. visibility
  controls website-embed eligibility; isPublished controls RSVP
  page existence. Different concerns; both stay.

Picker hides 'unlisted' for all four (no server-publish-snapshot
flow wired for these collections — same pattern as habits/quiz/events).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 14:11:07 +02:00
..
stores feat(visibility): M6 soft-migrate isPublic→visibility on memoro/cards/presi/uload 2026-04-25 14:11:07 +02:00
views feat(visibility): M6 soft-migrate isPublic→visibility on memoro/cards/presi/uload 2026-04-25 14:11:07 +02:00
collections.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
index.ts refactor(credits): simplify credit system — remove productivity credits, guild pools, complex gift types 2026-04-10 19:08:42 +02:00
ListView.svelte refactor(theming): migrate remaining 12 ListViews to theme tokens 2026-04-22 15:29:43 +02:00
llm-watcher.svelte.ts feat(i18n): locale-aware formatters, migrate hardcoded de-DE call-sites 2026-04-24 17:20:11 +02:00
module.config.ts fix(mana/web): commit module-registry + module.config.ts files (build-critical) 2026-04-07 19:49:58 +02:00
queries.ts feat(visibility): M6 soft-migrate isPublic→visibility on memoro/cards/presi/uload 2026-04-25 14:11:07 +02:00
tools.ts feat(brain): add domain events + tools for music, storage, chat, memoro, skilltree 2026-04-13 23:07:34 +02:00
types.ts feat(visibility): M6 soft-migrate isPublic→visibility on memoro/cards/presi/uload 2026-04-25 14:11:07 +02:00