Skip to content

Conversation

dlabordus
Copy link

No description provided.

JakobVogelsang and others added 20 commits October 27, 2021 08:38
…ion (#300)

* feat(validators/validatetemplate): restrict to 2007B3 and higher

* feat(validators/validatetemplate): remove missing ctlModel from possible issues

* feat(validators/validatetemplate): precise schame validation messages in the log

* feat(Editing): trigger all validators onAction

* refactor(validators/schemavalidator): diaplay successful schema validation in the diagnostics

* refactor(validator/templates/dosdo): move DO and SDO validation

* test(validators/doorsdo): add tests

* test(validators/doorsdo): add test file

* test(validators/lnodetype): add unit tests

* test(validate/dotype): add unit tests

* test(validator/lnodetype and dosdo): imporve tests

* test(validator/dabda): add unit tests

* test(validator): update test files

* refactor(translation): update translation

* feat(validators/datype): add DAType validator functions

* fix(validator): fix minor issues

* refactor(validators): minor improvement

* fix(public/templates): remove issues

* refactor(validator): change API for validate()

* fix(validators/dosdo dabda): add missing identity

* test(validator/SchemaValidator): adapt integration tests

* test(validators/ValidateTemplates): improve unit test

* test(validators/ValidateTemplates): improve integrations tests

* test(validators/ValidateTemplates): add missing test file

* test(Logging): adapt unit tests

* test(validator/ValidateTemplates): fix import statement

* fix: merge issues

* test(ValidateTemplates): set default translate config to avoid translation

* refactor(translations): adjust triggered by PR

* refactor(Logging): improve wording
…reation (#326)

This adds a toggle button next to DOTypes in the LNode create wizard under the template editor.
* feat(templates/dotype-wizard): add cdc field in create wizard

* refactor(templates/dotype-wizards): better function name

* test(templates/dotype-wizards): add tests for CDC field handling
* ci: add test github action on push

* ci: fix incorrect worksflows path

* ci: fix syntax error in test action

* ci: add test and build action for pull requests

* ci: add github action to deploy on openscd.github.io
* feat(foundation): add object/array depth utility function

This function returns the (possibly infinite) depth of the nested Array/Object given as the first argument, or zero if not given an Array or Object as an argument.

* feat: add finder-list component

This adds a finder-list component modeled after the previous finder-pane but with the "getContents" method renamed to "read" and an additional boolean attribute "multi" which may be set to allow simultaneous selection of multiple entries at every level of the hierarchy.

* refactor(menu/Help): replace finder-pane with finder-list

* refactor: remove finder-pane

* feat(finder-list): add methods to overwrite list item text and search field label

* test(finder-list): update snapshots

* chore(package): upgrade lockfile

* fix(finder-list): fix getPaths with provided depth

* test(finder-list): getTitle and getDisplayString

* fix(finder-list): don't display leaf node content

* feat(filtered-list): add abbr to search field (#339)

* feat(wizards/fcda): add create FCDAs capability (#345)

* feat(wizard/foundation): add function for data model navigation

* feat(wizards/fcda): add create wizard based in finder-list

* test(wizards/fcda): refactor unit tests

* feat(wizarding/dataset): add ADD FCDA button to edit wizard

* test(wizards/fcda): add integration test

* refactor(wizards/fcda): change create function name

Co-authored-by: Jakob Vogelsang <jakob.vogelsang@omicronenergy.com>
Co-authored-by: Jakob Vogelsang <jakob-vogelsang@posteo.de>
* fix(editor-container): prevent margin collapse

* refactor(editor-container): remove child slot name

* fix(editor-container): make sure focus is triggered for slotted elements

* fix(editor-container): make sure menu is in the right upper corner
* refactor(wizards/fcda): select all FCDA of wizard initialization

* fix(foundation): fCDAIndentity

* feat(wizards/fcda): remove unselected FCDA with update action
* fix(editor-container): missing tabindex on root editor-container

* test: adapt snapshots

* refactor(substation-editor): remove unused section close tag

* fix(editor-container): remove overflow set padding to prevent margin collapse
)

* refactor(foundation): change EditorAction api make reference optional

* refactor(Editor): get reference onAction with undefined reference

* test(Editing): add integration test

* fix(lnodetype-wizard): fix getReference with addig LNodeType from template

* refactor(templates): remove reference from create actions

* refactor(communication): remove reference from create actions

* refactor(substation): remove reference from create action

* refactor(templates): remove reference from create action

* refactor(communication mapping): remove reference from create action

* refactor(iedimport): remove reference from create action
…l description (#374)

* fix(foundation): extRefIdentity definition

* feat(menu/UpdateDescriptionABB): add with unit tests

* test(menu/UpdateDescriptionABB): add integration tests

* refactor(menu/UpdateDescriptionABB): add translations

* test(menu/UpdateDescriptionABB): improve unit tests

* refactor(menu/updatedescABB): minor improvement triggered by review

* refactor(menu/updatedescABB): minor improvement triggered by review
* feat: add action-pane component

The new action-pane component is the extraction of the pure user interface part of the old editor-container component, meant to replace the latter while being usable in a more generic way.

* refactor: use action-pane in place of editor-container

* refactor(zeroline): use action pane (#399)

* refactor(zeroline): allow adding child elements to action-pane

* style(action-pane): adapt styling

* test(action-pane): add unit tests

Co-authored-by: Jakob Vogelsang <jakob-vogelsang@posteo.de>
* Added initial Single Line Diagram editor

* Fixing unit tests

* First batch

* Every element is a group now

* Bit of refactoring

* Bit of refactoring

* Refactoring

* Added Connectivity Node route drawing

* Some refactoring

* refactoring

* Added terminal check for Connectivity Nodes

* Very small refactoring

* Finalized BusBar

* First try using equipment icons

* Added elements

* refactoring

* Added first SingleLineDiagram unit test

* Fixing build

* Added unit tests for foundation

* Remove panzoom temporary, because it's not working correctly during testing

* Small refactoring

* Added different text size for different components

* Remove text from Connectivity Node

* Added unit tests

* Added terminals

* small refactoring

* Refactoring

* Refactoring

* More refactoring

* More refactoring

* More refactoring + adding Panzoom

* Review comment

* Work after review

* Removed embedded SVG implementation

* refactor: make eslint happy

* refactor(SingleLineDiagram): filter for ConnecitvityNode grounded

* refactor(editors/singlelinediagram/sld-drawing): make use of the transform attribute

* test(editors/singlelinediagram/sld-drawing): remove osolet tests

* refactor(SingleLineDiagram): hide overflow of SLD

* refactor: use identity string as identifier

* refactor(singlelinediagram/sld-drawing): import connectivityNode directly

* feat(icons): add two winding power transformer icon

* refactor(SingleLineDiagram): simplify position/coordinates handling

* refactor: simplify bas bar length calculation

* feat(SingleLineDiagram): add PowerTransformer to SLD

* fix(SingleLineDiagram): not connected route in SLD Editor (#391)

* Intermediate commit

* Added default dimensions for ConductingEquipment

* Slow revert

* Make ESLint happy

* Small refactoring

* Removed drawRoute alias

Co-authored-by: Rob Tjalma <rob@tjalma.com>

* Added terminal and Connectivity Node information (#402)

* Added terminal/connectivity node information

* Removed console.log

* Some refactoring

* Small refactoring

* fix(translations/de): add missing German translations

Thank you very much for adding these nice wizards to translate! 👍

Co-authored-by: Rob Tjalma <rob@tjalma.com>
Co-authored-by: Christian Dinkel <chhildeb@gmail.com>

Co-authored-by: Rob Tjalma <rob@tjalma.com>
Co-authored-by: Jakob Vogelsang <jakob.vogelsang@omicronenergy.com>
Co-authored-by: Christian Dinkel <chhildeb@gmail.com>
* chore: add initial web-test-runner config

* refactor: distrubute custom element import statements (#395)

* refactor: distribute custom element imports

* test: import statements in unit and integratons tests

* fix: add missing import statements

Co-authored-by: Christian Dinkel <chhildeb@gmail.com>

* chore: remove karma config

* test: remove karma path definition to testfiles

* test: downgrade open-wc/testing and wtr to avoid lit2.0 collision

* test: await equalSnapshot

* chore: update package and package-lock

* chore: update package-lock after rebase

* test: remove karma base path

* test: add unit and integration test group

* test: add missing --group on script test

* chore(web-test-runner): run tests directly on *.ts files

* refactor: remove escapes from pattern string definition - conflit with wtr snapshot generation

* test: remove karma snapshots add wtr snapshots

* chore: update package-lock

* test: make zero-line unit test fail save

* chore: move snowpack config to snopack.config file

Co-authored-by: Jakob Vogelsang <jakob.vogelsang@omicronenergy.com>
Co-authored-by: Jakob Vogelsang <jakob-vogelsang@posteo.de>
…sion (#403)

* feat(SingleLineDiagram): add ortho-connector pathfinding algorithm

* refactor(SingleLineDiagram): move to new ortho-connecotr

* test(SingleLineDiagram): fix and add unit tests

* Small unit test fix

* refactor(sld-drawing): rebase to main

* test: disable invalid SingleLineDiagram.test.ts

* test: remove invalid SingleLineDiagram test

* refactor(ortho-connector): improve performance

* test(connectivitynode): add snapshot test

* test(wizards/terminal): add snapshot test

* fix(singlelinediagram/foundation): fail save connectivitynode allocation

Co-authored-by: Rob Tjalma <rob@tjalma.com>
* Added Edit Wizard to ConductingEquipments

* Whole g element is now clickable

* fix(SingleLineDiagram/sld-drawing): make click event on ConductingEquipment optional

Co-authored-by: Rob Tjalma <rob@tjalma.com>
Co-authored-by: Jakob Vogelsang <jakob.vogelsang@omicronenergy.com>
@dlabordus dlabordus requested a review from Flurb December 13, 2021 12:20
@Flurb Flurb merged commit 027ff69 into main Dec 13, 2021
@Flurb Flurb deleted the merge-v080 branch December 13, 2021 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants