leistungsbilanz-ts/tests
Julian Appel 898be43ebc Keep Revit and manual row quantities consistent
Editing "Anzahl" on a row with linked Revit objects set manualQuantity to
the new total, so the row no longer matched its objects and detaching
them failed with "row.manualQuantity must not exceed row.quantity".

Such rows now lock "Anzahl" in the editor. The new optional columns
"Anz. manuell" (editable) and "Anz. Revit" (read-only) show both shares;
stored column layouts get them hidden next to "Anzahl". The device-row
update derives the total from a manual-only edit and rejects any change
that breaks quantity = manual + Revit, for every source. Two history
fixtures inserted rows with quantity 1 and the column default
manualQuantity 0, a state no runtime path creates; they now insert 1/1.

Undoing "Revit-Objekte lösen" re-validated planning-value conflicts that
the user had confirmed on the original assignment and was rejected.
Undo/redo of row assignments now restores the accepted state without a
new confirmation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:03:29 +01:00
..
fixtures Typecheck tests against current types 2026-10-29 13:17:45 +01:00
security Typecheck tests against current types 2026-10-29 13:17:45 +01:00
support Typecheck tests against current types 2026-10-29 13:17:45 +01:00
authentication.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
batched-insert.persistence.test.ts Tighten rejection tests to their expected errors 2026-10-29 12:27:46 +01:00
building-structure-frontend-api.test.ts Add buildings above floors and a building structure page 2026-09-26 12:52:34 +02:00
building-structure-view.test.ts Add optional room areas 2026-09-27 20:00:03 +02:00
cable-sizing-calculation.test.ts Show logical feeder loads in project and circuit views 2026-09-27 22:37:04 +02:00
circuit-device-row-move-command.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-device-row-move-project-command.repository.test.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
circuit-device-row-project-command.repository.test.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
circuit-device-row-quantity.test.ts Add external row quantity foundation 2026-08-02 18:26:22 +02:00
circuit-device-row-structure-project-command.repository.test.ts Tighten rejection tests to their expected errors 2026-10-29 12:27:46 +01:00
circuit-editor-history.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-grid-insertion.test.ts Restore circuit drag placement 2026-07-31 08:33:41 +02:00
circuit-grid-model.test.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
circuit-grid-projection.test.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
circuit-grid-safety.test.ts Confirm cross-section device moves 2026-07-22 20:31:55 +02:00
circuit-group-delete-editor-snapshot.test.ts Keep manual quantity in editor group-delete snapshots 2026-10-29 13:23:51 +01:00
circuit-group-move-project-command.repository.test.ts Persist circuit group moves 2026-07-30 20:03:11 +02:00
circuit-group-numbering.test.ts Keep manual quantity in editor group-delete snapshots 2026-10-29 13:23:51 +01:00
circuit-group-renumber-project-command.repository.test.ts Persist circuit group renumbering 2026-07-30 19:56:59 +02:00
circuit-group-structure-project-command.repository.test.ts Add circuit group reordering 2026-07-30 19:49:27 +02:00
circuit-group-subtree-project-command.repository.test.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
circuit-group-subtree-snapshot.test.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
circuit-numbering.service.test.ts Decouple runtime domain services 2026-07-26 12:04:50 +02:00
circuit-power-calculation.test.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
circuit-project-command.repository.test.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
circuit-protection-project-command.repository.test.ts Persist circuit protection updates 2026-07-31 07:37:38 +02:00
circuit-section-renumber-command.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-section-renumber-project-command.repository.test.ts Remove obsolete repository writes 2026-07-26 11:05:26 +02:00
circuit-section-reorder-command.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-section-reorder-project-command.repository.test.ts Remove obsolete repository writes 2026-07-26 11:05:26 +02:00
circuit-structure-command.test.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
circuit-structure-project-command.repository.test.ts Tighten rejection tests to their expected errors 2026-10-29 12:27:46 +01:00
circuit-structure-projection.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-tree.controller.test.ts Add recursive distribution board load projection 2026-09-27 22:31:56 +02:00
circuit.controller.test.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
client-id.test.ts Create client ids without crypto.randomUUID 2026-09-26 12:01:43 +02:00
config-access.test.ts Harden user management integration 2026-09-28 22:42:03 +02:00
database-backup.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
distribution-board-component-structure-project-command.repository.test.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
distribution-board-component.test.ts Persist complete distribution board subtrees 2026-07-31 11:57:10 +02:00
distribution-board-feeder-circuit-project-command.repository.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
distribution-board-feeder-circuit.test.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
distribution-board-load-calculation.test.ts Add recursive distribution board load projection 2026-09-27 22:31:56 +02:00
distribution-board-structure-project-command.repository.test.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
distribution-board-subtree-project-command.repository.test.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
distribution-board-subtree.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
document-branding.repository.test.ts Add print cover fields and office profile 2026-09-26 10:39:18 +02:00
estimate-balance-frontend.test.ts Add estimate row project device handoff 2026-09-27 18:36:48 +02:00
estimate-balance.test.ts Tighten rejection tests to their expected errors 2026-10-29 12:27:46 +01:00
external-csv-configuration.test.ts Persist Revit CSV configuration 2026-08-02 16:33:18 +02:00
external-export-batch.repository.test.ts Add Revit return workbook export 2026-09-30 15:15:17 +02:00
external-follow-up-import-project-command.repository.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
external-model-configuration.test.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-model-xlsx-foundation.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
external-object-row-assignment-project-command.repository.test.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
external-xlsx-follow-up-import.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
external-xlsx-initial-import.test.ts Normalize external model state comparisons 2026-09-30 21:19:16 +02:00
external-xlsx-return-projection.test.ts Add Revit return workbook export 2026-09-30 15:15:17 +02:00
external-xlsx-transport.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
linear-xlsx-external-model-migration.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
logger.test.ts Add configurable structured logging 2026-08-06 19:45:39 +02:00
overview-filters.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
print-document-model.test.ts Update print view and documentation for logical feeds 2026-09-28 20:57:58 +02:00
print-view-migration.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
project-building-structure.test.ts Tighten rejection tests to their expected errors 2026-10-29 12:27:46 +01:00
project-command.model.test.ts Tighten rejection tests to their expected errors 2026-10-29 12:27:46 +01:00
project-command.service.test.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
project-device-placement.service.test.ts Derive project device phases from category 2026-07-31 14:37:45 +02:00
project-device-project-command.repository.test.ts Add project device update history 2026-07-24 08:57:57 +02:00
project-device-row-sync-project-command.repository.test.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
project-device-schema.test.ts Derive project device phases from category 2026-07-31 14:37:45 +02:00
project-device-structure-project-command.repository.test.ts Remove obsolete repository writes 2026-07-26 11:05:26 +02:00
project-device-sync.service.test.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
project-history-timeline.test.ts Expose project revision timeline 2026-07-25 21:57:03 +02:00
project-history.repository.test.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
project-location-structure-project-command.repository.test.ts Add optional room areas 2026-09-27 20:00:03 +02:00
project-overview-import.test.ts Add project overview import 2026-07-29 08:36:57 +02:00
project-revision.persistence.test.ts Remove unused revision repository 2026-07-26 11:40:04 +02:00
project-settings-project-command.repository.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
project-snapshot-policy.test.ts Add automatic project snapshots 2026-07-25 23:27:51 +02:00
project-snapshot.repository.test.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
project-state-restore-command.repository.test.ts Add optional room areas 2026-09-27 20:00:03 +02:00
project-state-snapshot.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
project-version-history.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
protection-device.test.ts Configure circuit protection 2026-07-31 07:45:48 +02:00
revit-xlsx-end-to-end.test.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
revit-xlsx-scale.test.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
revit-xlsx-settings-api.test.ts Add Linear XLSX follow-up import 2026-09-30 20:40:40 +02:00
room-area.test.ts Add optional room areas 2026-09-27 20:00:03 +02:00
safe-file-name.test.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
single-device-circuit-name.test.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
write-request-headers.test.ts Harden user management integration 2026-09-28 22:42:03 +02:00