Files
MABEA/backend/DEVLOG.md
T
patrickandClaude Sonnet 5 d61aabadf3
CI / backend-tests (push) Successful in 1m13s
CI / frontend-build (push) Successful in 23s
Karte 14 Schritt 1: geraet_instanz-Tabelle (additiv)
objektposition.seriennummer war ein Einzelfeld, konnte nur EIN Gerät pro
Materialtyp/Objekt abbilden (z.B. 2 Pulsoxymeter im selben Rucksack nicht
darstellbar). Neue Tabelle geraet_instanz erlaubt beliebig viele Exemplare
pro Position (Seriennummer, Prüfdatum, nächste Prüfung, Status). Zusätzlich
objektposition.pruefintervall_monate (individuell überschreibbar).

Bewusst additiv: seriennummer-Spalte bleibt vorerst stehen (Service/
Endpunkte/Frontend hängen noch daran), bestehende Werte werden per
INSERT...SELECT nach geraet_instanz kopiert. Drop + Umbau der abhängigen
Schichten folgt in Umsetzungsschritt 2 (siehe arbeitskarten/14_...).

Migration von postgres-expert gegengeprüft (ON CONFLICT DO NOTHING als
Sicherheitsnetz, DROP TYPE IF EXISTS ergänzt), Tests decken Mehrfach-
Instanzen, UNIQUE-Constraint je Position, gleiche SN an verschiedenen
Positionen und pruefintervall_monate ab.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
2026-09-04 20:45:04 +02:00

192 lines
6.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# backend Dev Log
## 2026-09-04 09:49 09:50 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- frontend/src/api/types.ts | 11 +++++++
- frontend/src/pages/AdminPage.tsx | 14 +++++++--
- frontend/src/pages/admin/BenutzerSection.tsx | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-09-04 16:59 17:00 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 132 ++++++++++++++++++++++++++++
- backend/alembic/versions/0004_add_fach.py | 36 ++++++++
- backend/app/api/v1/endpoints/stammdaten.py | 56 +++++++++++-
- backend/app/models/stammdaten.py | 13 +++
- backend/app/schemas/stammdaten.py | 16 ++++
- backend/tests/test_stammdaten.py | 56 ++++++++++++
- frontend/src/api/types.ts | 7 ++
- frontend/src/pages/AdminPage.tsx | 15 +++-
- frontend/src/pages/admin/FachAuswahl.tsx | 54 ++++++++++++
- frontend/src/pages/admin/FachSection.tsx | 99 +++++++++++++++++++++
- frontend/src/pages/admin/VorlageSection.tsx | 26 +++---
---
## 2026-09-04 17:29 17:31 (1m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 132 ++++++++++++++++++++++++++++
- backend/alembic/versions/0004_add_fach.py | 36 ++++++++
- backend/app/api/v1/endpoints/stammdaten.py | 56 +++++++++++-
- backend/app/models/stammdaten.py | 13 +++
- backend/app/schemas/stammdaten.py | 16 ++++
- backend/tests/test_stammdaten.py | 56 ++++++++++++
- frontend/src/api/types.ts | 7 ++
- frontend/src/pages/AdminPage.tsx | 15 +++-
- frontend/src/pages/admin/FachAuswahl.tsx | 54 ++++++++++++
- frontend/src/pages/admin/FachSection.tsx | 99 +++++++++++++++++++++
- frontend/src/pages/admin/VorlageSection.tsx | 26 +++---
---
## 2026-09-04 17:32 17:32 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** backend
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 132 ++++++++++++++++++++++++++++
- backend/alembic/versions/0004_add_fach.py | 36 ++++++++
- backend/app/api/v1/endpoints/stammdaten.py | 56 +++++++++++-
- backend/app/models/stammdaten.py | 13 +++
- backend/app/schemas/stammdaten.py | 16 ++++
- backend/tests/test_stammdaten.py | 56 ++++++++++++
- frontend/src/api/types.ts | 7 ++
- frontend/src/pages/AdminPage.tsx | 15 +++-
- frontend/src/pages/admin/FachAuswahl.tsx | 54 ++++++++++++
- frontend/src/pages/admin/FachSection.tsx | 99 +++++++++++++++++++++
- frontend/src/pages/admin/VorlageSection.tsx | 26 +++---
---
## 2026-09-04 17:57 17:59 (1m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 16 +++++++
- flutter_app/DEVLOG.md | 18 ++++++++
- flutter_app/README.md | 18 +++++++-
- flutter_app/lib/screens/objekt_list_screen.dart | 59 ++++++++++++++++++++++---
- flutter_app/lib/screens/scanner_screen.dart | 33 ++++++++++++++
- flutter_app/pubspec.yaml | 1 +
---
## 2026-09-04 18:01 18:04 (2m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 32 ++++++++++++++++++++++++++++++++
- arbeitskarten/10_qr_barcode.md | 15 +++++++++++++++
- backend/scripts/test_label_erzeugen.py | 34 ++++++++++++++++++++++++++++++++++
---
## 2026-09-04 19:52 19:53 (1m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- ...07_indizes_und_unique_constraints.py => 0007_indizes_und_locks.py} | 4 ++--
---
## 2026-09-04 20:10 20:13 (2m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 20 ++++
- frontend/DEVLOG.md | 40 ++++++++
- frontend/src/api/types.ts | 5 +
- frontend/src/pages/AdminPage.tsx | 13 ++-
- frontend/src/pages/admin/EskalationSection.tsx | 127 +++++++++++++++++++++++++
---
## 2026-09-04 20:21 20:22 (1m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 30 +++++++++++
- backend/DEVLOG.md | 15 ++++++
- frontend/e2e/mockApi.ts | 10 ++++
- frontend/src/pages/KontrollPage.tsx | 78 ++++++++++++++++++++--------
- frontend/src/pages/kontrolle/types.ts | 4 ++
- frontend/src/pages/kontrolle/useKontrolle.ts | 13 +++--
---
## 2026-09-04 20:25 20:42 (16m)
**Beschreibung:** Claude Code Session
**Projekt:** asb-material
### Commits
- 4c87bf2 Zuständigkeit im Frontend anbinden (Karte 04)
### Geänderte Dateien
- DEVLOG.md | 85 +++++++++
- frontend/src/api/types.ts | 7 +
- frontend/src/pages/AdminPage.tsx | 8 +-
- frontend/src/pages/admin/ZustaendigkeitSection.tsx | 194 +++++++++++++++++++++
---
## 2026-09-04 20:42 20:42 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** backend
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 85 +++++++++
- frontend/src/api/types.ts | 7 +
- frontend/src/pages/AdminPage.tsx | 8 +-
- frontend/src/pages/admin/ZustaendigkeitSection.tsx | 194 +++++++++++++++++++++
---
## 2026-09-04 20:42 20:43 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** backend
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 85 +++++++++
- frontend/src/api/types.ts | 7 +
- frontend/src/pages/AdminPage.tsx | 8 +-
- frontend/src/pages/admin/ZustaendigkeitSection.tsx | 194 +++++++++++++++++++++
---