Skip to content

Commit cec20e8

Browse files
EugeneElkinuve
authored andcommitted
Added subtasks hierarchy (#124)
* fixed june list of bugs # Solved conflicts: # src/gantt.ts # test/visualData.ts # test/visualTest.ts * June bugs and features * review fixes
1 parent 9d5686a commit cec20e8

14 files changed

+2830
-2369
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.13.0
2+
* Possibility to collaspse/expand all nodes
3+
* Collaspe/expand arrows were replaced by plus/minus icons and icons now are loacted before labels
4+
* Possibility to set Duration or EndDate
5+
16
## 1.12.1
27
* Fixes highlighting issue
38

capabilities.json

+66-5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
"displayNameKey": "Role_StartDate",
2525
"kind": "Grouping"
2626
},
27+
{
28+
"name": "EndDate",
29+
"displayName": "End Date",
30+
"displayNameKey": "Role_EndDate",
31+
"kind": "Measure"
32+
},
2733
{
2834
"name": "Duration",
2935
"displayName": "Duration",
@@ -83,7 +89,11 @@
8389
},
8490
"StartDate": {
8591
"min": 0,
86-
"max": 0
92+
"max": 1
93+
},
94+
"EndDate": {
95+
"min": 0,
96+
"max": 1
8797
},
8898
"Duration": {
8999
"min": 0,
@@ -119,10 +129,14 @@
119129
"min": 0,
120130
"max": 1
121131
},
122-
"Duration": {
132+
"EndDate": {
123133
"min": 0,
124134
"max": 0
125135
},
136+
"Duration": {
137+
"min": 0,
138+
"max": 1
139+
},
126140
"Completion": {
127141
"min": 0,
128142
"max": 0
@@ -153,6 +167,48 @@
153167
"min": 0,
154168
"max": 1
155169
},
170+
"EndDate": {
171+
"min": 0,
172+
"max": 1
173+
},
174+
"Duration": {
175+
"min": 0,
176+
"max": 0
177+
},
178+
"Completion": {
179+
"min": 0,
180+
"max": 1
181+
},
182+
"Resource": {
183+
"min": 0,
184+
"max": 1
185+
},
186+
"ExtraInformation": {
187+
"min": 0,
188+
"max": 3
189+
}
190+
},
191+
{
192+
"Legend": {
193+
"min": 0,
194+
"max": 1
195+
},
196+
"Task": {
197+
"min": 0,
198+
"max": 1
199+
},
200+
"Parent": {
201+
"min": 0,
202+
"max": 1
203+
},
204+
"StartDate": {
205+
"min": 0,
206+
"max": 1
207+
},
208+
"EndDate": {
209+
"min": 0,
210+
"max": 0
211+
},
156212
"Duration": {
157213
"min": 0,
158214
"max": 1
@@ -183,12 +239,12 @@
183239
"for": {
184240
"in": "Parent"
185241
}
186-
},
242+
},
187243
{
188244
"for": {
189245
"in": "StartDate"
190246
}
191-
},
247+
},
192248
{
193249
"for": {
194250
"in": "Resource"
@@ -204,7 +260,12 @@
204260
"values": {
205261
"group": {
206262
"by": "Legend",
207-
"select": [
263+
"select": [
264+
{
265+
"for": {
266+
"in": "EndDate"
267+
}
268+
},
208269
{
209270
"for": {
210271
"in": "Duration"

0 commit comments

Comments
 (0)