Skip to content
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

chore: Sync with upstream #335

Merged
merged 122 commits into from
Aug 8, 2024
Merged

chore: Sync with upstream #335

merged 122 commits into from
Aug 8, 2024

Conversation

clepski
Copy link

@clepski clepski commented Jul 23, 2024

Merge Open SCD v0.35.0 into Compas Open SCD

  • Change custom addons to new addon structure: Hosting, Plugging, Settings and Historing
  • Adjust imports to new style
  • Add nx workspaces
  • Adjust build scripts and tests

Issues: #324, #316

Stef3st and others added 30 commits November 7, 2023 15:05
* fix: allow address update for new entries

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: added tests

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
* Docs: Moved CC-EULA to public/xml

* removed demo

* Docs: Moved LICENSE from packages/open-scd to root

* Docs: Moved ROADMAP from packages/open-scd to root

* Docs: Added correct files
* Chore: Added ConfDataSet to the Services Wizard

* Fixed typo, added snapshot

* Fixed review comments

* Fixed merge conflict

* Removed dist folders
* Initial commit

* chore: init open-wc component project

This project uses the open-wc.org recommendations and was generated
using their generator https://open-wc.org/docs/development/generator

* doc: add CONTRIBUTING.md

Resolves #31

Co-authored-by: Juan Munoz <juan.munoz@alliander.com>

* feat(editing): open documents

* feat(editing): insert and remove nodes

* feat(editing): update elements' attributes

* refactor: rename open and edit events

* feat(editing): add editing user interface elements

* test(editing): fix attribute order sensitivity

* feat(plugging): load menu and editor plugins

* chore(github-action): webkit support

* feat(foundation): export cyrb64 hash function

* feat(demo): add remote open and save plugins

* feat(open-scd): pass editCount to editor and menu plugins

The property next now editCount is changed by open-scd on every change
of the XMLDocument. The property next is changed to editCount and passed
 to both menu and editor plugins to trigger UI updates.

* fix(plugging): import relative paths from origin

* fix(open-scd): hide menu plugin element container

* fix(open-scd): import locales from relative URL

* ci: add rollup bundle and deploy scripts

* Splitted up the render function of open-scd

* Added spread operator from @open-wc

* Update open-scd.ts

* Add the plugin to be rendered to pluginProperties()

* Linted open-scd.ts

* Fixed eslint

* Delete .gitignore

* Delete .idea directory

* Delete screenshots directory

* Added screenshots

* Fixed tests. Added idea folder to gitignore

* feat: export open-scd and mixin types

* chore: added release please

* chore: removed browser line

* chore(main): release 1.0.0

* Removed V1.0.0 from Changelog

* chore(main): release 1.1.0

* Changed version to 1.0.0 on Changelog

* Changed version to 1.0.0 on package-lock.json

* Changed version to 1.0.0 on package.json

* Added .npmignore

* Added build step in release-please

* Added css variables to map to appBar

* Removed unused files

* Fix: mdc-top-app-bar-fixed has link to --oscd-theme-app-bar-primary and --oscd-theme-primary

* chore(main): release 1.0.1

* Added interfaces to mixins for type delcarations

* Added doc to .gitignore, reverted screenshots

* Reverted .npmrc

* Chore: Added interfaces to mixins for typescript declaration files

* Create 0001-ADR-Theming.md

* Update and rename 0001-ADR-Theming.md to doc/0001-ADR-Theming.md

* Add files via upload

* Update 0001-ADR-Theming.md

Added naming section

* tier should be optional for theming variables

* Added example titles

* Updated title to Theming proposal

* Changed status to accepted

* Added atomic Design ADR

* Docs: Moved ADRs from `doc` into `docs` folder.
The `doc` folder was clashing with TypeDoc

* chore: workflows to add prs to the overview board

Signed-off-by: Juan Muñoz <juan.munoz@alliander.com>

* Moved files from Open-scd-core into core package

* Fix: Moved correct files to core

* Fix: Fixed merge conflict

* Fix: Fixed merge conflicts

* Removed GH Actions from OpenSCD Core

* Reverted changed GH Actions

* Fix: Fix merge conflicts

* Fixed package-lock.json

---------

Signed-off-by: Juan Muñoz <juan.munoz@alliander.com>
Co-authored-by: cad <cad@sdf.org>
Co-authored-by: Christian Dinkel <christian.dinkel@omicronenergy.com>
Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
Co-authored-by: Jakob Vogelsang <jakob-vogelsang@posteo.de>
Co-authored-by: Stef3st <steffen.van.den.driest@alliander.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…pen-… (openscd#1333)

* Updated GH Action to only be triggered if something in packages/open-scd has been changed

* Only test-and-build should be required for a pr

* Only test-and-build should be required for a pr
* Added release-please

* Added bootstrap sha

* fixed json

* Chore: Checking Release please

* Fix: Removed core from release-please

* Removed unused steps for release-please

* chore(main): release open-scd 0.33.1

* Chore: Added tag separator

* Chore: Added Release please config

* Reverted version upgrade for OpenSCD

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Chore: Added docs and locale properties to OpenSCD shell class

* Removed dist classes

* test: Fixed test

* Removed dist folder

---------

Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
* chore(104): validate IOA number in address-wizard

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* test: added test for validation

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* chore(104): update validation message

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* test: updating validation message test

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* chore: adding typed `this`param to validateIOA fn

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* chore: removing unused attributes

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

---------

Signed-off-by: Juan Munoz <juancho0202@gmail.com>
Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
* feat(104): added descriptions to ti numbers

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: add ti description on fixed ti option

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
…penscd#1380)

* fix: inverted monitor switch enables selectively

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* fix: inverted monitor switch enables selectively

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: added inverted property to correct tis

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: added null check and removed unneeded split

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: split is necessary

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
* Chore: Updated Lit to 2.2.7

* Fix: Added package-lock

* Fix: Updated package-lock
* Updated Lit to 2.2.7

* Chore: Added package-lock

* Updated pcakge-lock

* Chore: removed open-scd class from core

* Removed generated files

* Added Release-please

* Update package.json

Chore: Removed open-scd from exports list in Core

* Update de.xlf

Fix: Updated german translation

* Update release-please.yml

Core should be run only
* chore: add await in front of snapshot comparison

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: fix integration snapshots (openscd#1396)

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
* Added openscd/core

* Removed dist folder from core

* Delete packages/core/.tsbuildinfo

* Delete packages/open-scd/public/js/dist/plugins.dev.js

* Removed dist folder

* Reverted german xlf

* chore: Added deprecated `doc` property

* Added build step for core

* Chore: Added oscd-open to Editing mixin

* Added deprecation notes to OpenDocEvent

* Remove oscd-open plugin

* Remove dist folder

* Reverted open-scd snapshot

* Removed open-scd.controller
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: Release please should check releases_created, since the root project will not be released
* feat(104): implement enc cdc support

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: add automatic ti selection

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: tidy up if statement

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: removed dupliceate imports

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
Co-authored-by: Pascal Wilbrink <pascal.wilbrink@alliander.com>
* feat: support ldname attribute

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: fixed snapshot

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: added tests

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: made ldname nullable

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* feat: support functional naming confldname (openscd#1403)

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: add requested changes from @juancho0202

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
* feat: implement wye and del cdc support

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: add description for mapping to cmv

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: added tests

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: add descriptive texts for cdc mapping

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: remove console.log

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: removed duplicate import

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: altered wizardtextfield casting

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

* chore: add wizard select import

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>

---------

Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
…ing OpenSCD (openscd#1427)

* fix(gh-action): build-and-deploy should first build core before building openscd

* Update README.md
* Create GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

* Update GLOSSARY.MD

---------

Co-authored-by: Juan Munoz <juan.munoz@alliander.com>
Copy link

github-actions bot commented Jul 25, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://com-pas.github.io/compas-open-scd/pr-preview/pr-335/
on branch gh-pages at 2024-08-05 14:08 UTC

@clepski clepski marked this pull request as ready for review August 6, 2024 11:58
Copy link

@JakobVogelsang JakobVogelsang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not done any code review. The branch runs on my machine and some manual tests were successful. I would give it a shot

@clepski clepski merged commit 4e0405e into main Aug 8, 2024
5 checks passed
@clepski clepski deleted the chore/sync-with-upstream branch August 8, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

8 participants