Skip to content

Commit de4cf0f

Browse files
author
Rob Tjalma
authored
Merge pull request #95 from com-pas/show-full-compare
Changed the compare dialog to show all changes in one screen.
2 parents 9e3df37 + 9abffd0 commit de4cf0f

File tree

10 files changed

+1517
-163
lines changed

10 files changed

+1517
-163
lines changed
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# `compas-compare-dialog`
2+
3+
## `rendering full compare dialog`
4+
5+
#### `looks like the latest snapshot`
6+
7+
```html
8+
<div>
9+
<mwc-list multi="">
10+
<mwc-list-item
11+
aria-disabled="false"
12+
noninteractive=""
13+
tabindex="-1"
14+
>
15+
[compas.compare.attributes] Header
16+
</mwc-list-item>
17+
<li
18+
divider=""
19+
padded=""
20+
role="separator"
21+
>
22+
</li>
23+
<mwc-list-item
24+
aria-disabled="false"
25+
hasmeta=""
26+
left=""
27+
mwc-list-item=""
28+
tabindex="0"
29+
twoline=""
30+
>
31+
<span>
32+
version
33+
</span>
34+
<span slot="secondary">
35+
3.0.0
36+
37+
3.1.0
38+
</span>
39+
<mwc-icon slot="meta">
40+
edit
41+
</mwc-icon>
42+
</mwc-list-item>
43+
</mwc-list>
44+
<mwc-list multi="">
45+
<mwc-list-item
46+
aria-disabled="false"
47+
noninteractive=""
48+
tabindex="-1"
49+
>
50+
[compas.compare.children] History
51+
</mwc-list-item>
52+
<li
53+
divider=""
54+
padded=""
55+
role="separator"
56+
>
57+
</li>
58+
<mwc-list-item
59+
aria-disabled="false"
60+
hasmeta=""
61+
left=""
62+
mwc-list-item=""
63+
tabindex="0"
64+
twoline=""
65+
>
66+
<span>
67+
Hitem
68+
</span>
69+
<span slot="secondary">
70+
3.1.0
71+
</span>
72+
<mwc-icon slot="meta">
73+
add
74+
</mwc-icon>
75+
</mwc-list-item>
76+
</mwc-list>
77+
<mwc-list multi="">
78+
<mwc-list-item
79+
aria-disabled="false"
80+
noninteractive=""
81+
tabindex="-1"
82+
>
83+
[compas.compare.attributes] VoltageLevel (_d6056127-34f1-43a9-b029-23fddb913bd5>S4 110kV)
84+
</mwc-list-item>
85+
<li
86+
divider=""
87+
padded=""
88+
role="separator"
89+
>
90+
</li>
91+
<mwc-list-item
92+
aria-disabled="false"
93+
hasmeta=""
94+
left=""
95+
mwc-list-item=""
96+
tabindex="0"
97+
twoline=""
98+
>
99+
<span>
100+
desc
101+
</span>
102+
<span slot="secondary">
103+
Extra Voltage Level
104+
</span>
105+
<mwc-icon slot="meta">
106+
add
107+
</mwc-icon>
108+
</mwc-list-item>
109+
<mwc-list-item
110+
aria-disabled="false"
111+
noninteractive=""
112+
tabindex="-1"
113+
>
114+
[compas.compare.children] VoltageLevel (_d6056127-34f1-43a9-b029-23fddb913bd5>S4 110kV)
115+
</mwc-list-item>
116+
<li
117+
divider=""
118+
padded=""
119+
role="separator"
120+
>
121+
</li>
122+
<mwc-list-item
123+
aria-disabled="false"
124+
hasmeta=""
125+
left=""
126+
mwc-list-item=""
127+
tabindex="-1"
128+
twoline=""
129+
>
130+
<span>
131+
Bay
132+
</span>
133+
<span slot="secondary">
134+
_d6056127-34f1-43a9-b029-23fddb913bd5>S4 110kV>BUSBAR1
135+
</span>
136+
<mwc-icon slot="meta">
137+
delete
138+
</mwc-icon>
139+
</mwc-list-item>
140+
</mwc-list>
141+
<mwc-list multi="">
142+
<mwc-list-item
143+
aria-disabled="false"
144+
noninteractive=""
145+
tabindex="-1"
146+
>
147+
[compas.compare.attributes] ConductingEquipment (_d6056127-34f1-43a9-b029-23fddb913bd5>S4 110kV>BAY_L5_0>BREAKER1)
148+
</mwc-list-item>
149+
<li
150+
divider=""
151+
padded=""
152+
role="separator"
153+
>
154+
</li>
155+
<mwc-list-item
156+
aria-disabled="false"
157+
hasmeta=""
158+
left=""
159+
mwc-list-item=""
160+
tabindex="0"
161+
twoline=""
162+
>
163+
<span>
164+
desc
165+
</span>
166+
<span slot="secondary">
167+
Some description
168+
</span>
169+
<mwc-icon slot="meta">
170+
add
171+
</mwc-icon>
172+
</mwc-list-item>
173+
</mwc-list>
174+
</div>
175+
176+
```
177+

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
<head>
55
<meta charset="utf-8">
6+
7+
<meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate">
8+
<meta http-equiv="Pragma" content="no-cache">
9+
610
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
711
<meta name="Description" content="Open Substation Communication Designer is a bottom-up system configuration tool for projects described using IEC 61850-6 Edition 2 or greater.">
812
<base href="/">

0 commit comments

Comments
 (0)