Skip to content

Commit 38a9ffc

Browse files
Release 4.2.1 (#4)
# Release 4.2.1 ## Bugfix - Legacy bindings of ValueDisplay elements and FileUpload feature within UI did not work if deployed with VS Code AppSpace SDK - UI differs if deployed via Appstudio or VS Code AppSpace SDK - Fullscreen icon of iFrame was visible
1 parent 17a0ac1 commit 38a9ffc

File tree

7 files changed

+72
-44
lines changed

7 files changed

+72
-44
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## Release 4.2.1
5+
6+
### Bugfix
7+
- Legacy bindings of ValueDisplay elements and FileUpload feature within UI did not work if deployed with VS Code AppSpace SDK
8+
- UI differs if deployed via Appstudio or VS Code AppSpace SDK
9+
- Fullscreen icon of iFrame was visible
10+
411
## Release 4.2.0
512

613
### New features

CSK_Module_PersistentData/pages/pages/CSK_Module_PersistentData/CSK_Module_PersistentData.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@
7272

7373
.myCustomButton_CSK_Module_PersistentData {
7474
border-radius: 30px;
75-
padding-right: 0px;
75+
padding: 11px;
7676
}

CSK_Module_PersistentData/pages/pages/CSK_Module_PersistentData/CSK_Module_PersistentData.html

Lines changed: 46 additions & 37 deletions
Large diffs are not rendered by default.

CSK_Module_PersistentData/pages/src/converter.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ export function convertToList(value) {
55
export function changeStyle(theme) {
66
const style: HTMLStyleElement = document.createElement('style');
77
style.id ='blub'
8+
9+
const toggleSW = document.querySelectorAll("davinci-toggle-switch")
10+
toggleSW.forEach((userItem) => {
11+
const shadowToggle = userItem.shadowRoot
12+
const finalToggleSW = shadowToggle?.querySelector('div')
13+
finalToggleSW?.classList.add('hasIcon')
14+
});
15+
816
if (theme == 'CSK_Style'){
917
var headerToolbar = `.sopasjs-ui-header-toolbar-wrapper { background-color: #FFFFFF; }`
1018
var uiHeader = `.sopasjs-ui-header>.app-logo { margin-right:0px; }`

CSK_Module_PersistentData/pages/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ document.addEventListener('sopasjs-ready', () => {
1212
page_Setup.remove();
1313

1414
setTimeout(() => {
15+
const element = document.querySelector("div.sjs-wrapper > div > div.sjs-fullscreen-toggle")
16+
if(element) {
17+
element.parentElement.removeChild(element)
18+
}
1519
document.title = 'CSK_Module_PersistentData'
1620
}, 500);
1721
})

CSK_Module_PersistentData/project.mf.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ To make this permanent, it is needed to save the persistent data afterwards (see
305305
</serves>
306306
</crown>
307307
<meta key="author">SICK AG</meta>
308-
<meta key="version">4.2.0</meta>
308+
<meta key="version">4.2.1</meta>
309309
<meta key="priority">low</meta>
310310
<meta key="copy-protected">false</meta>
311311
<meta key="read-protected">false</meta>

docu/CSK_Module_PersistentData.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="Asciidoctor 2.0.12">
88
<meta name="author" content="SICK AG">
9-
<title>Documentation - CSK_Module_PersistentData 4.2.0</title>
9+
<title>Documentation - CSK_Module_PersistentData 4.2.1</title>
1010
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
1111
<style>
1212
/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
@@ -615,10 +615,10 @@
615615
</head>
616616
<body class="article toc2 toc-left">
617617
<div id="header">
618-
<h1>Documentation - CSK_Module_PersistentData 4.2.0</h1>
618+
<h1>Documentation - CSK_Module_PersistentData 4.2.1</h1>
619619
<div class="details">
620620
<span id="author" class="author">SICK AG</span><br>
621-
<span id="revnumber">version 4.2.0,</span>
621+
<span id="revnumber">version 4.2.1,</span>
622622
<span id="revdate">2025-01-24</span>
623623
</div>
624624
<div id="toc" class="toc2">
@@ -730,7 +730,7 @@ <h2 id="_document_metadata">Document metadata</h2>
730730
</tr>
731731
<tr>
732732
<th class="tableblock halign-left valign-top"><p class="tableblock">Version</p></th>
733-
<td class="tableblock halign-left valign-top"><p class="tableblock">4.2.0</p></td>
733+
<td class="tableblock halign-left valign-top"><p class="tableblock">4.2.1</p></td>
734734
</tr>
735735
<tr>
736736
<th class="tableblock halign-left valign-top"><p class="tableblock">Date</p></th>
@@ -3751,7 +3751,7 @@ <h6 id="_sample_auto_generated_63">Sample (auto-generated)</h6>
37513751
</div>
37523752
<div id="footer">
37533753
<div id="footer-text">
3754-
Version 4.2.0<br>
3754+
Version 4.2.1<br>
37553755
Last updated 2025-01-24 10:43:07 +0100
37563756
</div>
37573757
</div>

0 commit comments

Comments
 (0)