Document protected circuit groups
This commit is contained in:
@@ -28,6 +28,7 @@ The editor can have a selected cell without an active editor input. `editingCell
|
||||
The UI works from a normalized `visibleRows` model built from filtered/sorted sections:
|
||||
|
||||
- section header rows
|
||||
- fixed header, group-protection and auxiliary footer component rows
|
||||
- circuit rows (`circuitCompact`, `circuitSummary`, `reserveCircuit`)
|
||||
- device rows (`deviceRow`)
|
||||
- section placeholder rows (`placeholder`)
|
||||
@@ -86,9 +87,13 @@ Intent is separated by drag source type:
|
||||
- phase type, category, linked project device and local row values remain unchanged
|
||||
- target creation, row assignments and reserve-state updates use one SQLite transaction
|
||||
- circuit drag (BMK handle):
|
||||
- reorder circuits inside same section only
|
||||
- cross-section reorder is rejected
|
||||
- the complete section order is validated and stored in one SQLite transaction
|
||||
- reorder one or multiple circuits inside the same group without changing BMKs
|
||||
- move exactly one circuit into another group of the same category
|
||||
- a cross-group move assigns the highest existing target suffix plus one;
|
||||
gaps are not filled
|
||||
- cross-category and cross-group multi-circuit moves are rejected
|
||||
- same-group reorder validates the complete group order; cross-group move
|
||||
stores the one exact source/target transition
|
||||
- bulk device row move:
|
||||
- supported via multi-selection + drag
|
||||
- multi-circuit move:
|
||||
@@ -96,7 +101,23 @@ Intent is separated by drag source type:
|
||||
|
||||
The sidebar insertion controls use the same project-device placement rules as drag-and-drop. Invalid section and circuit options are disabled after selecting a project device.
|
||||
|
||||
Cross-section device moves show confirmation-required feedback before drop. The confirmation names source and target sections and warns that the unchanged device classification may need manual review. Cancelling leaves every row and circuit unchanged. Moving never renumbers existing circuits.
|
||||
Cross-section device moves show confirmation-required feedback before drop. The confirmation names source and target sections and warns that the unchanged device classification may need manual review. Cancelling leaves every row and circuit unchanged. Device-row moves never renumber circuits; the explicitly initiated complete-circuit group move is the sole automatic BMK-changing move.
|
||||
|
||||
## Protected Group and Component Controls
|
||||
|
||||
- New groups are created manually in one of the three supported categories and
|
||||
receive the highest existing category group number plus one.
|
||||
- Group reorder buttons move only relative to category peers and never change a
|
||||
group number or BMK.
|
||||
- `Gruppen-BMK neu nummerieren` is an explicit confirmed category-wide action.
|
||||
It follows the persisted group order and updates group prefixes, optional
|
||||
`.0` protection BMKs and circuit BMKs together.
|
||||
- Optional group upstream protection and group FI as well as auxiliary footer
|
||||
components use labeled, type-dependent modals.
|
||||
- Each circuit protection device uses its own modal; only fields valid for the
|
||||
selected type are shown.
|
||||
- Removing a populated group warns with circuit, device-row and group
|
||||
protection counts. The complete deletion remains persistently undoable.
|
||||
|
||||
## Filtering and Sorting
|
||||
|
||||
@@ -118,7 +139,8 @@ Cross-section device moves show confirmation-required feedback before drop. The
|
||||
|
||||
- Column visibility and order are configurable.
|
||||
- BMK column (`equipmentIdentifier`) is locked as first column.
|
||||
- Layout is saved in local storage (`circuitTreeEditor.columnLayout.v1`).
|
||||
- Layout is saved in local storage under a project-specific key so switching
|
||||
distribution boards preserves the same project layout.
|
||||
|
||||
## Undo/Redo
|
||||
|
||||
@@ -138,8 +160,10 @@ Covered operations include:
|
||||
- insert/delete circuit
|
||||
- insert/delete row
|
||||
- edit cell values
|
||||
- moves (single/bulk rows, circuit reorder)
|
||||
- renumber and identifier update flows
|
||||
- moves (single/bulk rows, circuit reorder and same-category group move)
|
||||
- circuit and group renumber/identifier flows
|
||||
- component, group and protection editing
|
||||
- warned populated-group deletion and exact restoration
|
||||
- apply sorted order
|
||||
|
||||
The editor toolbar exposes availability through its Undo/Redo buttons. The
|
||||
|
||||
Reference in New Issue
Block a user