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 open scd 0.36.0 #350

Merged
merged 23 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
71973b0
Preparatory Refactoring
trusz Jul 26, 2024
87aa759
fix: 1553 LN LN0 wizards read only attributes (#1568)
clepski Aug 20, 2024
e42b2f2
Update chat badge from LF Energy Slack to Zulip
danyill Aug 20, 2024
9094855
chore: Add information on Zulip chat to Contributing section.
danyill Aug 20, 2024
0543988
infra: setup playwright
trusz Oct 21, 2024
8b06a37
Feat: Editor plugins can be rendered without an active document
trusz Oct 23, 2024
a510664
feat: Handle Config Plugin Events
trusz Oct 25, 2024
d9a4a0c
Feat: Allow .fsd file creation
trusz Oct 30, 2024
44a51f0
feat: render plugin download UI on event
rdsov Nov 12, 2024
14e933e
feat: Support edit api v2 (#1581)
clepski Nov 14, 2024
29e5fed
[BUGFIX]: Fix Help page linking error (#1594)
salvar3nga Nov 22, 2024
9c5859e
feat: enable custom plugin dialog through an event
rdsov Nov 22, 2024
ddcd5fc
fix: store nsdocs correctly for descriptions (closes #1605)
danyill Dec 3, 2024
3697c38
feat: enable transpower publisher plugin
clepski Dec 3, 2024
267935f
chore: Set release version to 0.36.0 (#1607)
clepski Dec 3, 2024
074ae4c
chore(main): release 0.36.0 (#1580)
github-actions[bot] Dec 5, 2024
7811745
Merge remote-tracking branch 'upstream/main' into chore/sync-with-ope…
clepski Dec 5, 2024
78a2003
chore: Simplify compas history and fix compas layout
clepski Dec 5, 2024
4290ac8
chore: Fix build errors
clepski Dec 5, 2024
e442eeb
chore: Adjust test script
clepski Dec 5, 2024
2b24d12
chore: Fix test and deploy
clepski Dec 5, 2024
4b9734d
chore: Raise version to 0.36.0-1
clepski Dec 6, 2024
063dd19
chore: Update nginx image to latest
clepski Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: store nsdocs correctly for descriptions (closes openscd#1605)
  • Loading branch information
danyill authored Dec 3, 2024
commit ddcd5fc06b6def75bbe120f53a993b1740b04851
7 changes: 6 additions & 1 deletion packages/openscd/src/foundation/nsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ export interface Nsdoc {

const [nsd72, nsd73, nsd74, nsd81] = await Promise.all([iec6185072, iec6185073, iec6185074, iec6185081]);

let nsdoc72: Document | undefined = undefined;
let nsdoc73: Document | undefined = undefined;
let nsdoc74: Document | undefined = undefined;
let nsdoc81: Document | undefined = undefined;

/**
* Initialize the full Nsdoc object.
* @returns A fully initialized Nsdoc object for wizards/editors to use.
*/
export function initializeNsdoc(): Nsdoc {
const [nsdoc72, nsdoc73, nsdoc74, nsdoc81] = [
[nsdoc72, nsdoc73, nsdoc74, nsdoc81] = [
localStorage.getItem('IEC 61850-7-2') ? new DOMParser().parseFromString(localStorage.getItem('IEC 61850-7-2')!, 'application/xml') : undefined,
localStorage.getItem('IEC 61850-7-3') ? new DOMParser().parseFromString(localStorage.getItem('IEC 61850-7-3')!, 'application/xml') : undefined,
localStorage.getItem('IEC 61850-7-4') ? new DOMParser().parseFromString(localStorage.getItem('IEC 61850-7-4')!, 'application/xml') : undefined,
Expand Down