docs(roadmap): Phase 1.1 Tasks aufgeteilt in erledigt/offen
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 13m43s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 13m43s
This commit is contained in:
@@ -51,11 +51,15 @@ SymbolTemplate (global, read-only)
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Tasks**:
|
**Tasks**:
|
||||||
- [ ] Schema-Migration: `TenantCategory` neu, `TenantSymbol.categoryId` ergänzen, Standard-`Icon` zu `SymbolTemplate` umwandeln
|
- [x] Schema-Migration: `TenantCategory` neu, `TenantSymbol.categoryId` ergänzen, `SymbolTemplate` erstellen
|
||||||
- [ ] **Migration der bestehenden Tenants**: Auto-Import des `feuerwehr-ch` Pakets beim ersten Login, sodass nichts kaputt geht
|
- [x] Migration SQL + idempotente Raw-SQL-Migration (`prisma/migrate.js`)
|
||||||
- [ ] API: CRUD für `TenantCategory`, erweitert für `TenantSymbol`
|
- [x] Seed-Skript: `public/signaturen/*.svg` → `SymbolTemplate`
|
||||||
|
- [x] Migration bestehender Tenants: `TenantSymbol.name`, `svgPath`, `categoryId` befüllen
|
||||||
|
- [ ] **Auto-Import des `feuerwehr-ch` Pakets beim ersten Login** (oder bei leerer Bibliothek)
|
||||||
|
- [ ] API: CRUD für `TenantCategory` (`GET/POST/PATCH/DELETE /api/tenant/categories`)
|
||||||
- [ ] API: `GET /api/templates` — listet verfügbare Pakete
|
- [ ] API: `GET /api/templates` — listet verfügbare Pakete
|
||||||
- [ ] API: `POST /api/templates/import` — importiert ausgewählte Symbole als TenantSymbols
|
- [ ] API: `POST /api/templates/import` — importiert ausgewählte Symbole als TenantSymbols
|
||||||
|
- [ ] API: `TenantSymbol` erweitern — Upload-Endpoint, Kategorie-Zuordnung, gruppierte Liste
|
||||||
- **Files**: `prisma/schema.prisma`, `src/app/api/tenant/categories/`, `src/app/api/tenant/symbols/`, `src/app/api/templates/`
|
- **Files**: `prisma/schema.prisma`, `src/app/api/tenant/categories/`, `src/app/api/tenant/symbols/`, `src/app/api/templates/`
|
||||||
|
|
||||||
#### 1.2 UX: Symbol-Manager im Admin
|
#### 1.2 UX: Symbol-Manager im Admin
|
||||||
|
|||||||
Reference in New Issue
Block a user