All first todos completed
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
# AGENTS.md
|
||||
|
||||
## Project Context
|
||||
|
||||
This repository contains a web application for creating, editing, calculating, and documenting electrical power balances for building-services electrical planning.
|
||||
|
||||
The application is intended for small internal use by approximately 2–3 concurrent users. It should support practical planning workflows, not an over-engineered enterprise architecture.
|
||||
@@ -447,19 +445,8 @@ Use proper German umlauts (�, �, �, �, �, �, �) in all new or chan
|
||||
- By default, the table should initially hide: power factor (cos phi), phase count, and current.
|
||||
- Users must be able to add any available attribute as a table column at any time, and must be able to reorder column positions.
|
||||
|
||||
## Encoding Rule
|
||||
|
||||
## Open TODOs from docs/electrical-load-balance-requirements-context-dump.md
|
||||
|
||||
- [x] Extend `CircuitEntry` data model with missing fields from requirements, especially `circuitNumber`, `description`, `deviceType`, `phaseType`, `tradeOrCostGroup`, `group`, `protectionType`, `protectionRatedCurrent`, `protectionCharacteristic`, `cableType`, `cableCrossSection`, `cableLength` and `comment`.
|
||||
- [x] Allow multiple entries with the same `circuitNumber` and make this visible/editable in the circuit-list table.
|
||||
- [x] Implement project-specific device lists (`ProjectDeviceList`) in backend + UI.
|
||||
- [ ] Implement copying devices both directions between global and project-specific device lists.
|
||||
- [ ] Add separate device naming model with `Device.name` and `Device.displayName`.
|
||||
- [ ] Add explicit entry description field (`CircuitEntry.description`) independent of linked device naming.
|
||||
- [ ] Implement device-link lifecycle on entries: link, unlink/detach, and update propagation from device changes to linked entries.
|
||||
- [ ] Add `addCount` when adding a device to a circuit list to create multiple entries in one action (`addCount != quantity`).
|
||||
- [ ] Relax circuit-entry validation so incomplete entries are possible (currently several fields are required).
|
||||
- [ ] Add duplicate-entry action within the same circuit list (separate from copy to another list).
|
||||
- [ ] Add sorting/filtering/bulk-edit capabilities for circuit-list tables (beyond current copy-selection flow).
|
||||
- [ ] Define and implement fixed selection lists for domain fields (`deviceType`, `phaseType`, `tradeOrCostGroup`, `group`, protection and cable fields).
|
||||
- [ ] Extend tests beyond pure power formulas to cover new circuit-entry/device-link behaviors once implemented.
|
||||
- All text files must be saved as UTF-8.
|
||||
- German UI text must never contain mojibake artifacts (for example geöffnet, wählen, Übernehmen, ←, →).
|
||||
- If such artifacts appear, they must be corrected immediately before merge or handoff.
|
||||
|
||||
Reference in New Issue
Block a user