feat(stammdaten): Häuser vordefinieren statt bei jedem Einsatz neu anzulegen
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Read CoMessprotokollView.axaml:84-118, src/LageBuch.Persistence/MasterData/MasterDataSet.cs, and src/LageBuch.Domain/CoMeasurement/Building.cs to trace house creation, master-data storage, and apartment labels. Implement reusable house entries that can be selected when creating a CO measurement while keeping their values editable. Update docs/master-data.example.json if a top-level field is added, and keep example data anonymized.
Written by the indexing model from the issue text.
Description
Rückmeldung aus der Praxis
Häuser vordefinieren (zB eine wiederkehrende Wohnanlage in der eigenen
Gemeinde)
(Die Rückmeldung nannte zwei echte Adressen; sie sind hier durch Platzhalter
ersetzt, weil dieses Repository öffentlich ist.)
Heute
Ein Haus wird bei jedem Einsatz neu angelegt, als Freitext im
Hinzufügen-Dialog (CoMessprotokollView.axaml:84-118): Bezeichnung,
Geschosse, Wohnungen/Geschoss, Untergeschosse. Voreingestellt sind 8 Geschosse,
10 Wohnungen, 1 UG.
In den Stammdaten gibt es dafür nichts. MasterDataSet
(src/LageBuch.Persistence/MasterData/MasterDataSet.cs) hat neun Einträge —
Roles, UnitStatus, Links, ChecklistTemplateAufbau,
ChecklistTemplateAbbau, TruppTypes, Personnel, Vehicles, Settings —
und keine Kategorie für Gebäude oder Objekte.
Für wiederkehrende Objekte im eigenen Ausrückebereich ist die Struktur aber
lange vorher bekannt. Sie beim CO-Einsatz unter Zeitdruck einzutippen, ist
verlorene Zeit und eine Fehlerquelle.
Vorschlag
Eine Stammdaten-Kategorie „Häuser" mit Bezeichnung, Geschossen,
Wohnungen/Geschoss und Untergeschossen; beim Anlegen eines Hauses im
CO-Messprotokoll daraus auswählbar statt tippen.
Optional dazu die Wohnungsbezeichnungen: Building.ApartmentLabels
(src/LageBuch.Domain/CoMeasurement/Building.cs) modelliert sie bereits, heute
nur je Einsatz. Gerade die sind bei einem bekannten Objekt stabil.
Randbedingungen
- Die Voreinstellungen bleiben, was sie sind: eine Vorlage. Was im Einsatz
davon abweicht, muss weiter frei änderbar sein —StammdatenCatalogue
lehnt grundsätzlich nichts ab. - AGENTS.md-Regel: ändert sich
MasterDataSetoderMasterDataJsonum ein
Feld auf oberster Ebene, mussdocs/master-data.example.jsonim selben PR
mitziehen. - Beispieldaten anonym halten — die Platzhalter der App sind
AnonymizedExampleData.BuildingNamePlaceholder(„z. B. Haus A").
Hängt zusammen mit #427 (Einsatzpläne bei Alarmadressen):
dort geht es um dieselbe fehlende Objekt-Entität, nur mit Dokument statt
Struktur. Wer beides baut, sollte eine Entität bauen.
- Dominant language
- C#
- Stars
- 1
- Forks
- 3
- Avg merge
- 4h 34m
- Merged PRs (30d)
- 182
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeForFire/lagebuch
-
bug ux
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CodeForFire/lagebuch#714 ·
Maintainers usually reply within 1 day
-
bug ux
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
CodeForFire/lagebuch#713 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
CodeForFire/lagebuch#405 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
CodeForFire/lagebuch#349 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
CodeForFire/lagebuch#348 ·
Maintainers usually reply within 1 day
All issues in CodeForFire/lagebuch
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug priority: P2
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
IridiumIO/CompactGUI#699 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bitfoundation/bitplatform#14070 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day