Skip to content

Commit e9dc91f

Browse files
Feature/re design with native functionality (#143)
* Change electron core functionality to native design * Update tsconfig.base.json * Change sidebar component and fix cypress test to new design * Run prettier format * Change libs to new re-design structure * Fix jest unit tests and re-structure some code * Add some index.ts and change copyright date * Update electron-signals.service.ts * Fix build project * Refactor generate code and fix some bugs there * Adjust cypress tests * Fix cypress tests and add shortcuts for mac * Update cypress * change images to new design * Fix some codeql recommendations * Improve usability points * Fix empty file loading --------- Co-authored-by: Larisa Vasile <[email protected]>
1 parent 5dfc324 commit e9dc91f

File tree

720 files changed

+10271
-9004
lines changed

Some content is hidden

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

720 files changed

+10271
-9004
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ lsp
6060
#jest
6161
jest-coverage
6262
junit.xml
63+
64+
# nx
65+
core/.nx

core/.husky/pre-commit

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
cd core
5-
npm run format:write -- --uncommited && npm run affected:lint -- --uncommited --parallel
5+
npm run format:all -- --uncommited && npm run affected:lint -- --uncommited --parallel
66

7+
if [ -n "$(git status --porcelain)" ]; then
8+
git add .
9+
fi

core/apps/ame-e2e/src/fixtures/all-characteristic.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@
3838
:TestCode a samm-c:Code ;
3939
samm:preferredName "Test Code"@en ;
4040
samm:description "This is a test code."@en ;
41-
samm:see <http://bosch.com/opcon> ;
41+
samm:see <https://www.eclipse.org> ;
4242
samm:dataType xsd:int .
4343

4444
:testCollectiontProperty a samm:Property ;
4545
samm:preferredName "Test Property"@en ;
4646
samm:description "This is a test property."@en ;
47-
samm:see <http://bosch.com/opcon> ;
47+
samm:see <https://www.eclipse.org> ;
4848
samm:see <http://bosch.com/me> ;
4949
samm:exampleValue "Example Value" ;
5050
samm:characteristic :TestCollection .
5151

5252
:TestCollection a samm-c:Collection ;
5353
samm:preferredName "Test Collection"@en ;
5454
samm:description "This is a test collection."@en ;
55-
samm:see <http://bosch.com/opcon> ;
55+
samm:see <https://www.eclipse.org> ;
5656
samm:dataType xsd:string .
5757

5858
:testDurationProperty a samm:Property ;
@@ -61,37 +61,37 @@
6161
:TestDuration a samm-c:Duration ;
6262
samm:preferredName "Test Duration"@en ;
6363
samm:description "This is a test Duration"@en ;
64-
samm:see <http://bosch.com/opcon> ;
64+
samm:see <https://www.eclipse.org> ;
6565
samm:dataType xsd:int ;
6666
samm-c:unit unit:kilosecond .
6767

6868
:testEnumerationProperty a samm:Property ;
6969
samm:preferredName "Test Property"@en ;
7070
samm:description "This is a test property."@en ;
71-
samm:see <http://bosch.com/opcon> ;
71+
samm:see <https://www.eclipse.org> ;
7272
samm:see <http://bosch.com/me> ;
7373
samm:exampleValue "Example Value" ;
7474
samm:characteristic :TestEnumeration .
7575

7676
:TestEnumeration a samm-c:Enumeration ;
7777
samm:preferredName "Test Enumeration"@en ;
7878
samm:description "This is a test for enumeration."@en ;
79-
samm:see <http://bosch.com/opcon> ;
79+
samm:see <https://www.eclipse.org> ;
8080
samm:dataType xsd:int ;
8181
samm-c:values ( 1 2 3 ) .
8282

8383
:testListProperty a samm:Property ;
8484
samm:preferredName "Test Property"@en ;
8585
samm:description "This is a test property."@en ;
86-
samm:see <http://bosch.com/opcon> ;
86+
samm:see <https://www.eclipse.org> ;
8787
samm:see <http://bosch.com/me> ;
8888
samm:exampleValue "Example Value" ;
8989
samm:characteristic :TestList .
9090

9191
:TestList a samm-c:List ;
9292
samm:preferredName "Test List"@en ;
9393
samm:description "This is a test list."@en ;
94-
samm:see <http://bosch.com/opcon> ;
94+
samm:see <https://www.eclipse.org> ;
9595
samm:dataType xsd:string .
9696

9797
:testMeasurementProperty a samm:Property ;
@@ -100,7 +100,7 @@
100100
:TestMeasurement a samm-c:Measurement ;
101101
samm:preferredName "Test Measurement"@en ;
102102
samm:description "This is a test Measurement"@en ;
103-
samm:see <http://bosch.com/opcon> ;
103+
samm:see <https://www.eclipse.org> ;
104104
samm:dataType xsd:float ;
105105
samm-c:unit unit:kelvin .
106106

@@ -110,34 +110,34 @@
110110
:TestQuantifiable a samm-c:Quantifiable ;
111111
samm:preferredName "Test Quantifiable"@en ;
112112
samm:description "This is a test Quantifiable"@en ;
113-
samm:see <http://bosch.com/opcon> ;
113+
samm:see <https://www.eclipse.org> ;
114114
samm:dataType xsd:float ;
115115
samm-c:unit unit:hertz .
116116

117117
:testSetProperty a samm:Property ;
118118
samm:preferredName "Test Property"@en ;
119119
samm:description "This is a test property."@en ;
120-
samm:see <http://bosch.com/opcon> ;
120+
samm:see <https://www.eclipse.org> ;
121121
samm:see <http://bosch.com/me> ;
122122
samm:exampleValue "Example Value" ;
123123
samm:characteristic :TestSet .
124124

125125
:TestSet a samm-c:Set ;
126126
samm:preferredName "Test Set"@en ;
127127
samm:description "This is a test set."@en ;
128-
samm:see <http://bosch.com/opcon> ;
128+
samm:see <https://www.eclipse.org> ;
129129
samm:dataType xsd:string .
130130

131131
:testSortedSetProperty a samm:Property ;
132132
samm:preferredName "Test Property"@en ;
133133
samm:description "This is a test property."@en ;
134-
samm:see <http://bosch.com/opcon> ;
134+
samm:see <https://www.eclipse.org> ;
135135
samm:see <http://bosch.com/me> ;
136136
samm:exampleValue "Example Value" ;
137137
samm:characteristic :TestSortedSet .
138138

139139
:TestSortedSet a samm-c:SortedSet ;
140140
samm:preferredName "Test Sorted Set"@en ;
141141
samm:description "This is a test sorted set."@en ;
142-
samm:see <http://bosch.com/opcon> ;
142+
samm:see <https://www.eclipse.org> ;
143143
samm:dataType xsd:string .

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/model-with-external-characteristic-reference-with-children.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:AspectDefault a samm:Aspect ;
2222
samm:properties (:property1) ;

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/model-with-external-entity-reference-with-children.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:AspectDefault a samm:Aspect ;
2222
samm:properties (:property1) ;

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/model-with-external-operation-reference-with-children.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:AspectDefault a samm:Aspect ;
2222
samm:properties () ;

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/model-with-external-property-reference-with-children.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:AspectDefault a samm:Aspect ;
2222
samm:properties (:externalPropertyWithChildren) ;

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/model-with-external-unit-reference.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:AspectDefault a samm:Aspect ;
2222
samm:properties (:property1) ;

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/model-with-several-external-reference.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:AspectDefault a samm:Aspect ;
2222
samm:properties (:property1 :property2 :property3 :property4 :externalProperty) ;

core/apps/ame-e2e/src/fixtures/external-reference/same-namespace/with-childrens/external-characteristic-reference.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1717
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1818
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19-
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .
19+
@prefix : <urn:samm:org.eclipse.examples.aspect:1.0.0#> .
2020

2121
:ExternalCharacteristicWithChildren a samm:Characteristic;
2222
samm:dataType :ChildrenEntity1.

0 commit comments

Comments
 (0)