forked from openscd/open-scd
-
Notifications
You must be signed in to change notification settings - Fork 4
Merge version V0.8.0 from OpenSCD into CoMPAS Version #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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>
Flurb
approved these changes
Dec 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.