forked from jappel/leistungsbilanz-ts
Create circuits with rows atomically
This commit is contained in:
parent
b0fc2b4fbf
commit
0800f984bb
11 changed files with 450 additions and 93 deletions
|
|
@ -56,6 +56,7 @@ Each section has a trailing placeholder row showing `-frei-` in BMK column:
|
|||
|
||||
- serves as drop target for creating new circuits from project devices or moved rows
|
||||
- editable placeholder cells can create a new circuit + first row through the same edit command flow
|
||||
- a new circuit and its initial row(s) are created in one SQLite transaction
|
||||
|
||||
## Add Circuit Behavior
|
||||
|
||||
|
|
@ -68,6 +69,7 @@ Intent is separated by drag source type:
|
|||
|
||||
- project device drag:
|
||||
- drop to section/placeholder -> create new circuit with linked row
|
||||
- the new circuit and linked row are committed atomically
|
||||
- drop to existing circuit row -> append row to that circuit
|
||||
- lighting devices are accepted only by the lighting section
|
||||
- other devices are accepted only by the section matching their phase type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue