leistungsbilanz-ts/src/db/repositories
Julian Appel 17a3945813 Add cell copy/paste, multi-row edits and a context menu to the circuit grid
Ctrl+C/Ctrl+V copy and paste grid cells without opening an editor, using
the document copy/paste events so it also works over plain HTTP in the
LAN. Protection and cable summaries copy the complete circuit record;
tab-separated blocks from Excel spread over visible rows and columns.
With a Ctrl/Shift multi-selection, typing, pasting and the protection
dialog apply to every selected row that can take the value, including
device power and GZF; other cells are skipped and reported.

All of these writes use the new circuit-list.bulk-update command. It
carries complete circuit.update, circuit-device-row.update and
circuit-protection.update commands, applies them with the single-command
rules in one transaction and stores the reversed inverses, so each edit
is one undo step. The single-command apply logic is extracted for reuse.

A right-click menu (also context-menu key / Shift+F10) offers copy,
paste, edit, protection, cable sizing, insert circuit below, add device
and delete. The protection summary is now selected by click and opened
by double click, Enter or F2. Existing numbers open in the inline editor
with a decimal comma, so confirming an unchanged decimal no longer fails.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 07:38:28 +01:00
..
automatic-project-snapshot.persistence.ts Add automatic project snapshots 2026-07-25 23:27:51 +02:00
batched-insert.persistence.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
building.repository.ts Add buildings above floors and a building structure page 2026-09-26 12:52:34 +02:00
circuit-device-row-move-project-command.repository.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
circuit-device-row-project-command.repository.ts Add cell copy/paste, multi-row edits and a context menu to the circuit grid 2026-10-30 07:38:28 +01:00
circuit-device-row-structure-project-command.repository.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
circuit-device-row-structure.persistence.ts Add external row quantity foundation 2026-08-02 18:26:22 +02:00
circuit-device-row.persistence.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
circuit-device-row.repository.ts Add external row quantity foundation 2026-08-02 18:26:22 +02:00
circuit-display-name-sync.persistence.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
circuit-group-move-project-command.repository.ts Persist circuit group moves 2026-07-30 20:03:11 +02:00
circuit-group-renumber-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
circuit-group-structure-project-command.repository.ts Add circuit group reordering 2026-07-30 19:49:27 +02:00
circuit-group-subtree-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
circuit-list-bulk-update-project-command.repository.ts Add cell copy/paste, multi-row edits and a context menu to the circuit grid 2026-10-30 07:38:28 +01:00
circuit-list.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-project-command.repository.ts Add cell copy/paste, multi-row edits and a context menu to the circuit grid 2026-10-30 07:38:28 +01:00
circuit-protection-device.repository.ts Expose protected tree structure 2026-07-30 20:14:45 +02:00
circuit-protection-project-command.repository.ts Add cell copy/paste, multi-row edits and a context menu to the circuit grid 2026-10-30 07:38:28 +01:00
circuit-section-renumber-project-command.repository.ts Reuse command transaction boundary 2026-07-26 11:21:01 +02:00
circuit-section-reorder-project-command.repository.ts Reuse command transaction boundary 2026-07-26 11:21:01 +02:00
circuit-section.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-structure-project-command.repository.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
circuit.persistence.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
circuit.repository.ts Add recursive distribution board load projection 2026-09-27 22:31:56 +02:00
distribution-board-component-structure-project-command.repository.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
distribution-board-component.repository.ts Add recursive distribution board load projection 2026-09-27 22:31:56 +02:00
distribution-board-feeding-deletion-guard.persistence.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
distribution-board-structure-project-command.repository.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
distribution-board-subtree-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
distribution-board.repository.ts Add distribution power summaries 2026-07-29 19:02:18 +02:00
document-branding.repository.ts Add print cover fields and office profile 2026-09-26 10:39:18 +02:00
equipment-identifier-uniqueness.persistence.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
estimate-balance-project-command.repository.ts Add the rough power balance module for early design phases 2026-09-26 17:39:28 +02:00
estimate-balance.persistence.ts Add the rough power balance module for early design phases 2026-09-26 17:39:28 +02:00
estimate-balance.repository.ts Add the rough power balance module for early design phases 2026-09-26 17:39:28 +02:00
external-export-batch.repository.ts Add Revit return workbook export 2026-09-30 15:15:17 +02:00
external-follow-up-import-project-command.repository.ts Normalize external model state comparisons 2026-09-30 21:19:16 +02:00
external-initial-import-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
external-model-configuration-project-command.repository.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-model-configuration.repository.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-model-state.repository.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-object-assignment.persistence.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
external-object-delete-missing-project-command.repository.ts Add Linear XLSX follow-up import 2026-09-30 20:40:40 +02:00
external-object-deletion-guard.persistence.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
external-object-new-circuit-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
external-object-new-row-project-command.repository.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
external-object-planning-project-command.repository.ts Add virtualized Revit object planning 2026-09-30 10:03:36 +02:00
external-object-row-assignment-project-command.repository.ts Keep Revit and manual row quantities consistent 2026-10-29 14:03:29 +01:00
floor.repository.ts Add editable project floors and rooms 2026-07-31 14:46:06 +02:00
global-device.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
project-command-transaction.persistence.ts Centralize device row update transactions 2026-07-26 11:28:06 +02:00
project-device-project-command.repository.ts Derive device voltages from project settings 2026-07-29 09:53:58 +02:00
project-device-row-sync-project-command.repository.ts Keep single-device circuit names equal to their device row 2026-10-29 13:56:02 +01:00
project-device-structure-project-command.repository.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
project-device.repository.ts Inject application database contexts 2026-07-26 12:30:42 +02:00
project-history.persistence.ts Restore named project snapshots 2026-07-25 22:41:24 +02:00
project-history.repository.ts Describe snapshot source revisions 2026-07-29 11:52:26 +02:00
project-location-structure-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
project-revision.persistence.ts Add automatic project snapshots 2026-07-25 23:27:51 +02:00
project-settings-project-command.repository.ts Add print cover fields and office profile 2026-09-26 10:39:18 +02:00
project-snapshot.repository.ts Add print view, board info card and document logo upload 2026-09-26 10:38:59 +02:00
project-state-restore-command.repository.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
project-state-snapshot.persistence.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
project-transfer.repository.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
project-voltage.persistence.ts Derive device voltages from project settings 2026-07-29 09:53:58 +02:00
project.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
room.repository.ts Add editable project floors and rooms 2026-07-31 14:46:06 +02:00
user.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00