mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:01:09 +02:00
♻️ refactor: centralize AppLoadingSkeleton in shared-ui
Add configurable AppLoadingSkeleton component to @manacore/shared-ui with multiple layout presets: list, tasks, sidebar, centered, minimal. Migrate 3 apps to use the shared component: - contacts: uses default 'list' layout - todo: uses 'tasks' layout - questions: uses 'sidebar' layout Apps with highly specific layouts (calendar, clock) retain their local implementations for now.
This commit is contained in:
parent
cdac341882
commit
8804ab77a2
13 changed files with 494 additions and 306 deletions
|
|
@ -27,6 +27,7 @@ Nach eingehender Analyse aller Web-Apps im Monorepo wurden folgende Bereiche auf
|
|||
6. ✅ **i18n zu 6 Apps hinzugefügt** - todo, skilltree, nutriphi, planta, questions, matrix (jeweils DE + EN)
|
||||
7. ✅ **AuthGateModal zentralisiert** - `@manacore/shared-auth-ui` für 4 Apps (chat, todo, contacts, calendar)
|
||||
8. ✅ **Global Error Handler zentralisiert** - `@manacore/shared-ui` für 7 Apps (calendar, chat, clock, contacts, matrix, picture, storage)
|
||||
9. ✅ **AppLoadingSkeleton zentralisiert** - `@manacore/shared-ui` für 3 Apps (contacts, todo, questions) - Apps mit spezifischen Layouts (calendar, clock) behalten lokale Version
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -216,10 +217,15 @@ Alle Apps nutzen **Mana Core Auth** mit `@manacore/shared-auth`.
|
|||
- i18n: DE + EN eingebaut
|
||||
- Optionale Migration-Info für Session-Daten
|
||||
|
||||
#### AppLoadingSkeleton
|
||||
#### AppLoadingSkeleton ✅
|
||||
|
||||
- Jede App hat eigene Version
|
||||
- Könnte mit `@manacore/shared-ui` Skeletons vereinheitlicht werden
|
||||
> **Status: Erledigt (29.01.2026)**
|
||||
|
||||
- ✅ Zentrales `AppLoadingSkeleton` in `@manacore/shared-ui`
|
||||
- ✅ Migrierte Apps: contacts, todo, questions
|
||||
- ⏭️ Behalten lokale Version (spezifische Layouts): calendar, clock
|
||||
- Layout-Presets: `list`, `tasks`, `sidebar`, `centered`, `minimal`
|
||||
- Slot-Support für benutzerdefinierte Inhalte
|
||||
|
||||
#### Global Error Handler ✅
|
||||
|
||||
|
|
@ -275,7 +281,7 @@ _(Keine offenen Aufgaben mit mittlerer Priorität)_
|
|||
|
||||
| Aufgabe | Aufwand | Impact |
|
||||
|---------|---------|--------|
|
||||
| App-Skeletons vereinheitlichen | Niedrig | Code-Reduktion |
|
||||
| ~~App-Skeletons vereinheitlichen~~ | ~~Niedrig~~ | ✅ Erledigt |
|
||||
| Auth Store Pattern dokumentieren | Niedrig | Onboarding |
|
||||
|
||||
---
|
||||
|
|
@ -286,7 +292,7 @@ _(Keine offenen Aufgaben mit mittlerer Priorität)_
|
|||
2. ~~**i18n** zu fehlenden Apps hinzufügen~~ ✅ Erledigt (6 Apps)
|
||||
3. ~~**AuthGateModal** in Shared Package extrahieren~~ ✅ Erledigt (4 Apps)
|
||||
4. ~~**Global Error Handler** extrahieren~~ ✅ Erledigt (7 Apps)
|
||||
5. **App-Skeletons vereinheitlichen** (niedrige Priorität)
|
||||
5. ~~**App-Skeletons vereinheitlichen**~~ ✅ Erledigt (3 Apps)
|
||||
6. **Auth Store Pattern dokumentieren** (niedrige Priorität)
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue