mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 09:53:40 +02:00
fix(manacore): auth flow and dashboard widget API fixes
Auth fixes: - Update fetchInterceptor skip patterns for ManaCore auth endpoints - Fix URL matching to compare full origins instead of partial matches - Update token manager state after successful login - Remove Supabase session dependency from layouts - Use authStore for auth state in route layouts Dashboard fixes: - Add network error detection in base-client to prevent infinite retries - Update all 9 dashboard widgets to not retry on service unavailable - Add /api/v1 prefix to all backend service URLs (chat, calendar, contacts, todo, zitare, picture, manadeck) Commands: - Add dev:manacore:backends to start all 9 dashboard backends - Add dev:manacore:full to start web + all backends together - Update COMMANDS.md with new commands and backend port table Auth service: - Fix TypeScript error: crossApp → cross_app in referrals schema 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ee52f6c144
commit
a6cc0b83aa
33 changed files with 2634 additions and 68 deletions
47
COMMANDS.md
47
COMMANDS.md
|
|
@ -10,10 +10,14 @@ pnpm dev:calendar:app
|
|||
pnpm dev:chat:app
|
||||
pnpm dev:clock:app
|
||||
pnpm dev:contacts:app
|
||||
pnpm dev:inventory:app
|
||||
pnpm dev:manacore:app
|
||||
pnpm dev:context:app
|
||||
pnpm dev:manacore:app # Nur ManaCore Web
|
||||
pnpm dev:manacore:backends # Alle 9 Backends für Dashboard-Widgets
|
||||
pnpm dev:manacore:full # Web + alle Backends (empfohlen)
|
||||
pnpm dev:manadeck:app
|
||||
pnpm dev:picture:app
|
||||
|
||||
pnpm dev:inventory:app
|
||||
pnpm dev:presi:app
|
||||
pnpm dev:storage:app
|
||||
pnpm dev:techbase:app
|
||||
|
|
@ -249,17 +253,44 @@ pnpm presi:db:seed # Seed-Daten
|
|||
|
||||
## Manacore
|
||||
|
||||
| App | Port | Befehl |
|
||||
| ------- | ---- | --------------------------- |
|
||||
| Web | - | `pnpm dev:manacore:web` |
|
||||
| Mobile | 8081 | `pnpm dev:manacore:mobile` |
|
||||
| Landing | - | `pnpm dev:manacore:landing` |
|
||||
| App | Port | Befehl |
|
||||
| -------- | ---- | ---------------------------- |
|
||||
| Web | 5173 | `pnpm dev:manacore:web` |
|
||||
| Mobile | 8081 | `pnpm dev:manacore:mobile` |
|
||||
| Landing | - | `pnpm dev:manacore:landing` |
|
||||
| Backends | - | `pnpm dev:manacore:backends` |
|
||||
|
||||
```bash
|
||||
# Alles
|
||||
# Nur ManaCore Web
|
||||
pnpm dev:manacore:app
|
||||
|
||||
# Alle Backends für Dashboard-Widgets starten (9 Services parallel)
|
||||
# Startet: auth, chat, calendar, contacts, todo, zitare, picture, manadeck, clock
|
||||
pnpm dev:manacore:backends
|
||||
|
||||
# ManaCore Web + alle Backends zusammen (empfohlen für Dashboard-Entwicklung)
|
||||
pnpm dev:manacore:full
|
||||
|
||||
# Alles inkl. Mobile
|
||||
pnpm manacore:dev
|
||||
```
|
||||
|
||||
### Dashboard-Backends Übersicht
|
||||
|
||||
Die Dashboard-Widgets benötigen diese Backend-Services:
|
||||
|
||||
| Widget | Backend | Port |
|
||||
| -------------------- | -------- | ---- |
|
||||
| Credits | auth | 3001 |
|
||||
| Chat Recent | chat | 3002 |
|
||||
| Calendar Events | calendar | 3014 |
|
||||
| Contacts Favorites | contacts | 3015 |
|
||||
| Tasks Today/Upcoming | todo | 3017 |
|
||||
| Zitare Quote | zitare | 3007 |
|
||||
| Picture Recent | picture | 3006 |
|
||||
| Manadeck Progress | manadeck | 3009 |
|
||||
| Clock Timers | clock | 3018 |
|
||||
|
||||
---
|
||||
|
||||
## Mana Games
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue