managarten/packages/shared-stores/src
Till JS 45790ffbb8 refactor(mana): rename inventar → inventory across the codebase
The workbench-registry app id 'inventar' did not match its
@mana/shared-branding MANA_APPS counterpart 'inventory', so the tier-
gating join in apps/web/src/lib/app-registry/registry.ts silently
failed for the inventory module — it fell into the "no MANA_APPS
entry, default visible" fallback and was effectively un-gated. The
codebase had also voted overwhelmingly for 'inventar' (53 files) vs
'inventory' (3 files in shared-branding), so the long-standing
mismatch was just bookkeeping debt waiting to bite.

Pre-release, no live data, so the cleanest fix is to align everything
on the English 'inventory':

- Workbench-registry id, module.config.ts appId, module folder, route
  folder and i18n locale folder all renamed via git mv
- Standalone apps/inventar/ workspace package renamed
- All imports, store identifiers (InventarEvents → InventoryEvents,
  INVENTAR_GUEST_SEED, inventarModuleConfig), i18n keys and href/goto
  paths follow the rename
- The German display label "Inventar" is preserved everywhere it is a
  user-visible string (page titles, i18n values, toast labels)
- Dexie table prefixes (invCollections, invItems, …) are unchanged
- Drive-by fix: ListView.svelte was querying non-existent
  inventarCollections/inventarItems tables — corrected to the actual
  invCollections/invItems names from module.config
- The "inventar ↔ inventory id mismatch" workaround comment in
  registry.ts is removed since the mismatch no longer exists

module-registry.ts also picks up the user's parallel newsModuleConfig
addition because both edits land in the same import block — keeping
them split would have left the build in an inconsistent state.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 15:50:24 +02:00
..
test feat(shared-stores): add createViewStore factory for view/filter/sort 2026-04-02 14:25:31 +02:00
archive.test.ts feat(shared-stores): add createArchiveOps factory + unify archive pattern 2026-04-02 16:33:07 +02:00
archive.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
data-export.test.ts feat(shared-stores): add generic data export/import utilities 2026-04-02 17:01:53 +02:00
data-export.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
guest-mode.svelte.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
index.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
keyboard-shortcuts.test.ts feat(shared-stores): add centralized keyboard shortcuts registry 2026-04-02 17:03:38 +02:00
keyboard-shortcuts.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
navigation-simple.ts ♻️ refactor(shared-ui): simplify PillNavigation - remove sidebar mode 2026-02-17 13:27:23 +01:00
navigation.svelte.ts ♻️ refactor: unify web app patterns across monorepo 2025-12-05 03:35:26 +01:00
notifications.test.ts feat(shared-stores,shared-ui): add shared reminder system 2026-04-02 16:54:15 +02:00
notifications.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
reminder-scheduler.test.ts feat(shared-stores,shared-ui): add shared reminder system 2026-04-02 16:54:15 +02:00
reminder-scheduler.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
settings.svelte.ts ♻️ refactor: create createAppSettingsStore factory and migrate 3 apps 2026-01-29 16:30:22 +01:00
tag-links.test.ts feat(shared-stores): add createTagLinkOps factory for junction tables 2026-04-02 15:33:18 +02:00
tag-links.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
tags-local.svelte.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
tags.svelte.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
toast.svelte.ts ♻️ refactor: unify web app patterns across monorepo 2025-12-05 03:35:26 +01:00
toggle-field.test.ts feat(shared-ui,shared-stores): add FavoriteButton component and toggleField utility 2026-04-02 16:16:23 +02:00
toggle-field.ts fix: type errors from ManaCore→Mana rename and stale templates 2026-04-07 13:42:17 +02:00
view.svelte.test.ts feat(shared-stores): add createViewStore factory for view/filter/sort 2026-04-02 14:25:31 +02:00
view.svelte.ts refactor(mana): rename inventar → inventory across the codebase 2026-04-09 15:50:24 +02:00