Skip to content

Commit fdc1426

Browse files
author
Rob Tjalma
authored
Merge pull request #151 from com-pas/upstream-v0.15
Merge of Upstream v0.15
2 parents 81a358c + 5dccb41 commit fdc1426

File tree

197 files changed

+11007
-2496
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+11007
-2496
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'Kind: Bug'
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'Kind: Enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Eg. As a user of OpenSCD I want to ...
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Requirements**
17+
What are the minimal requirements you need to have for this feature wish
18+
19+
**Suggestions for a specific user interaction**
20+
Have a specific UI gesture in mind? If you want to discuss this first, please provide your suggestion in the discussions field.
21+
22+
**Additional information**
23+
For further reading including e.g parts of IEC 61850, Tissues or other sources that triggered your feature wish

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [0.15.0](https://github.com/openscd/open-scd/compare/v0.14.0...v0.15.0) (2022-05-02)
6+
7+
8+
### Features
9+
10+
* **iededitor:** Added implementation to change enum values in IED Editor. ([865f7ab](https://github.com/openscd/open-scd/commits/865f7ab33f7361b8f481be2c47f77b0fe1f05e81))
11+
* **substation:** read only Function and SubFunction container ([#700](https://github.com/openscd/open-scd/issues/700)) ([3d7b2ef](https://github.com/openscd/open-scd/commits/3d7b2ef5c4950d2341973bac70ae4a658a00f859)), closes [#706](https://github.com/openscd/open-scd/issues/706)
12+
* **wizards/dai:** Change DAI values ([#687](https://github.com/openscd/open-scd/issues/687)) ([3689ef2](https://github.com/openscd/open-scd/commits/3689ef26253ba3c352f0bd758b9abdbc17fe9c33))
13+
* **wizards/gsecontrol:** add create wizards ([#654](https://github.com/openscd/open-scd/issues/654)) ([887f46f](https://github.com/openscd/open-scd/commits/887f46f5e3bc885cfad1f9e18a2d5f58161fbb44))
14+
* **wizards:** Changed label of rptID ([#697](https://github.com/openscd/open-scd/issues/697)) ([10f3f0b](https://github.com/openscd/open-scd/commits/10f3f0bdea05328838196914f62290e4ca6c76bc))
15+
16+
17+
### Bug Fixes
18+
19+
* **wizard-dialog:** avoid header overlap with extra action buttons ([#703](https://github.com/openscd/open-scd/issues/703)) ([ffe7859](https://github.com/openscd/open-scd/commits/ffe7859b4d67873339658d1a216cc0a8dabfb687))
20+
* **wizard-dialog:** remove initialFocus from action buttons ([#702](https://github.com/openscd/open-scd/issues/702)) ([a4783ab](https://github.com/openscd/open-scd/commits/a4783ab46e350e5ed1af64102bd3a78e95fc2c93))
21+
22+
## [0.14.0](https://github.com/openscd/open-scd/compare/v0.13.0...v0.14.0) (2022-04-21)
23+
24+
25+
### Features
26+
27+
* **editors/cleanup:** remove unused control blocks ([#620](https://github.com/openscd/open-scd/issues/620)) ([e63f11f](https://github.com/openscd/open-scd/commits/e63f11f9e5e2130b273506eff2567ec31a890f57))
28+
* **editors/Subscription:** When undo / redo actions Subscription / SMV plugin, lists are not refreshed ([7889be9](https://github.com/openscd/open-scd/commits/7889be93b7d8f76042cc08656392b83f1b82dada))
29+
30+
31+
### Bug Fixes
32+
33+
* **editors/subscription:** several styling issues ([#661](https://github.com/openscd/open-scd/issues/661)) ([b9f5555](https://github.com/openscd/open-scd/commits/b9f5555c4c01c7ba29cfca12dd5f0b318abee861))
34+
* **editors:** Changed selectors in Substation and IED Editors and updated IED and Substation Wizards. ([#671](https://github.com/openscd/open-scd/issues/671)) ([33b590a](https://github.com/openscd/open-scd/commits/33b590abdedca12d1029d950654d8d6673124e8f))
35+
* **filtered-list:** allow filter nested list-item s ([#660](https://github.com/openscd/open-scd/issues/660)) ([1ea37c5](https://github.com/openscd/open-scd/commits/1ea37c5c490de52b538201d3a4fb39291b239771))
36+
537
## [0.13.0](https://github.com/openscd/open-scd/compare/v0.11.0...v0.13.0) (2022-04-04)
638

739

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040
"purpose": "maskable"
4141
}
4242
],
43-
"version": "0.13.0"
43+
"version": "0.15.0"
4444
}

package-lock.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-scd",
3-
"version": "0.13.0",
3+
"version": "0.15.0",
44
"repository": "https://github.com/openscd/open-scd.git",
55
"description": "A bottom-up substation configuration designer for projects described using SCL `IEC 61850-6` Edition 2 or greater.",
66
"keywords": [
@@ -34,6 +34,7 @@
3434
"@material/mwc-tab": "0.22.1",
3535
"@material/mwc-tab-bar": "0.22.1",
3636
"@material/mwc-textfield": "0.22.1",
37+
"@material/mwc-textarea": "0.22.1",
3738
"@material/mwc-top-app-bar-fixed": "0.22.1",
3839
"ace-custom-element": "^1.6.5",
3940
"carehtml": "^0.1.3",

src/Editing.ts

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -319,30 +319,32 @@ export function Editing<TBase extends LitElementConstructor>(Base: TBase) {
319319
private checkUpdateValidity(update: Update): boolean {
320320
if (update.checkValidity !== undefined) return update.checkValidity();
321321

322-
const invalidNaming = Array.from(
323-
update.element.parentElement?.children ?? []
324-
).some(
325-
elm =>
326-
elm.tagName === update.element.tagName &&
327-
elm.getAttribute('name') === update.newAttributes['name']
328-
);
329-
330-
if (invalidNaming) {
331-
this.dispatchEvent(
332-
newLogEvent({
333-
kind: 'error',
334-
title: get('editing.error.update', {
335-
name: update.element.tagName,
336-
}),
337-
message: get('editing.error.nameClash', {
338-
parent: update.element.parentElement!.tagName,
339-
child: update.element.tagName,
340-
name: update.newAttributes['name']!,
341-
}),
342-
})
322+
if (update.oldAttributes['name'] !== update.newAttributes['name']) {
323+
const invalidNaming = Array.from(
324+
update.element.parentElement?.children ?? []
325+
).some(
326+
elm =>
327+
elm.tagName === update.element.tagName &&
328+
elm.getAttribute('name') === update.newAttributes['name']
343329
);
344330

345-
return false;
331+
if (invalidNaming) {
332+
this.dispatchEvent(
333+
newLogEvent({
334+
kind: 'error',
335+
title: get('editing.error.update', {
336+
name: update.element.tagName,
337+
}),
338+
message: get('editing.error.nameClash', {
339+
parent: update.element.parentElement!.tagName,
340+
child: update.element.tagName,
341+
name: update.newAttributes['name']!,
342+
}),
343+
})
344+
);
345+
346+
return false;
347+
}
346348
}
347349

348350
const invalidId =

src/action-pane.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ export class ActionPane extends LitElement {
139139
outline-width: 2px;
140140
}
141141
142+
:host(:focus-within) .highlighted {
143+
outline-style: solid;
144+
}
145+
142146
.contrasted {
143147
background-color: var(--mdc-theme-on-primary);
144148
}

0 commit comments

Comments
 (0)