Skip to content

Commit c894b5d

Browse files
tree/table: remove unnecessary root family queries
* The tree view is already requesting all families (including the root family) so this was requesting the root family twice. * The table view doesn't use families, the cycle point query is hangover from when it shared the same query as the table view (see 5081d3c). * Closes #1581
1 parent c8e24f1 commit c894b5d

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

src/views/Table.vue

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ fragment AddedDelta on Added {
5454
workflow {
5555
...WorkflowData
5656
}
57-
cyclePoints: familyProxies (ids: ["*/root"]) {
58-
...CyclePointData
59-
}
6057
taskProxies {
6158
...TaskProxyData
6259
}
@@ -69,9 +66,6 @@ fragment UpdatedDelta on Updated {
6966
workflow {
7067
...WorkflowData
7168
}
72-
cyclePoints: familyProxies (ids: ["*/root"]) {
73-
...CyclePointData
74-
}
7569
taskProxies {
7670
...TaskProxyData
7771
}
@@ -92,18 +86,6 @@ fragment WorkflowData on Workflow {
9286
reloaded
9387
}
9488
95-
fragment CyclePointData on FamilyProxy {
96-
__typename
97-
id
98-
state
99-
ancestors {
100-
name
101-
}
102-
childTasks {
103-
id
104-
}
105-
}
106-
10789
fragment TaskProxyData on TaskProxy {
10890
id
10991
state

src/views/Tree.vue

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ fragment AddedDelta on Added {
113113
workflow {
114114
...WorkflowData
115115
}
116-
cyclePoints: familyProxies (ids: ["*/root"]) {
117-
...CyclePointData
118-
}
119116
familyProxies {
120117
...FamilyProxyData
121118
}
@@ -131,9 +128,6 @@ fragment UpdatedDelta on Updated {
131128
workflow {
132129
...WorkflowData
133130
}
134-
cyclePoints: familyProxies (ids: ["*/root"]) {
135-
...CyclePointData
136-
}
137131
familyProxies {
138132
...FamilyProxyData
139133
}
@@ -157,18 +151,6 @@ fragment WorkflowData on Workflow {
157151
reloaded
158152
}
159153
160-
fragment CyclePointData on FamilyProxy {
161-
__typename
162-
id
163-
state
164-
ancestors {
165-
name
166-
}
167-
childTasks {
168-
id
169-
}
170-
}
171-
172154
fragment FamilyProxyData on FamilyProxy {
173155
__typename
174156
id

0 commit comments

Comments
 (0)