Display more measures and tasks

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-10-08 16:56:25 +02:00
parent 04fc1bfa9d
commit ac973d4f46
7 changed files with 22 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<792fbba36453d167b7844222f287183e>> * @generated SignedSource<<5dfe8149e11942df0913ea8ba61e7ee5>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -57,7 +57,7 @@ v4 = [
{ {
"kind": "Literal", "kind": "Literal",
"name": "first", "name": "first",
"value": 100 "value": 500
} }
]; ];
return { return {
@@ -212,7 +212,7 @@ return {
] ]
} }
], ],
"storageKey": "measures(first:100)" "storageKey": "measures(first:500)"
}, },
{ {
"alias": null, "alias": null,
@@ -233,12 +233,12 @@ return {
] ]
}, },
"params": { "params": {
"cacheID": "aeaecdca869ba61b6602c2ebd701061d", "cacheID": "644632c32801939ffc06c8258b3060f3",
"id": null, "id": null,
"metadata": {}, "metadata": {},
"name": "MeasureGraphListQuery", "name": "MeasureGraphListQuery",
"operationKind": "query", "operationKind": "query",
"text": "query MeasureGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ...MeasuresPageFragment\n }\n}\n\nfragment MeasureFormDialogMeasureFragment on Measure {\n id\n description\n name\n category\n state\n}\n\nfragment MeasuresPageFragment on Organization {\n measures(first: 100) {\n edges {\n node {\n id\n name\n category\n state\n ...MeasureFormDialogMeasureFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" "text": "query MeasureGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ...MeasuresPageFragment\n }\n}\n\nfragment MeasureFormDialogMeasureFragment on Measure {\n id\n description\n name\n category\n state\n}\n\nfragment MeasuresPageFragment on Organization {\n measures(first: 500) {\n edges {\n node {\n id\n name\n category\n state\n ...MeasureFormDialogMeasureFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n"
} }
}; };
})(); })();

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<f73db66d7c3890608398fc933f073fd5>> * @generated SignedSource<<cff26152bf46e7734e8ae5f5671b47b6>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -57,7 +57,7 @@ v4 = [
{ {
"kind": "Literal", "kind": "Literal",
"name": "first", "name": "first",
"value": 20 "value": 500
} }
], ],
v5 = { v5 = {
@@ -273,7 +273,7 @@ return {
] ]
} }
], ],
"storageKey": "tasks(first:20)" "storageKey": "tasks(first:500)"
}, },
{ {
"alias": null, "alias": null,
@@ -296,12 +296,12 @@ return {
] ]
}, },
"params": { "params": {
"cacheID": "f80135be50e4f0a5a9a881930b686bcd", "cacheID": "a0b3367a3288c70f0bbcde73ec237bee",
"id": null, "id": null,
"metadata": {}, "metadata": {},
"name": "TaskGraphQuery", "name": "TaskGraphQuery",
"operationKind": "query", "operationKind": "query",
"text": "query TaskGraphQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n ...TasksPageFragment\n }\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksPageFragment on Organization {\n tasks(first: 20) {\n edges {\n node {\n id\n name\n state\n description\n ...TaskFormDialogFragment\n measure {\n id\n name\n }\n assignedTo {\n id\n fullName\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" "text": "query TaskGraphQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n ...TasksPageFragment\n }\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksPageFragment on Organization {\n tasks(first: 500) {\n edges {\n node {\n id\n name\n state\n description\n ...TaskFormDialogFragment\n measure {\n id\n name\n }\n assignedTo {\n id\n fullName\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n"
} }
}; };
})(); })();

View File

@@ -55,7 +55,7 @@ type Props = {
const measuresFragment = graphql` const measuresFragment = graphql`
fragment MeasuresPageFragment on Organization { fragment MeasuresPageFragment on Organization {
measures(first: 100) @connection(key: "MeasuresGraphListQuery__measures") { measures(first: 500) @connection(key: "MeasuresGraphListQuery__measures") {
__id __id
edges { edges {
node { node {

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<d2ea4d096aa13e35f9740af51ecd969f>> * @generated SignedSource<<7b45de7513dda2166217b9bd76716ece>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -170,6 +170,6 @@ const node: ReaderFragment = {
"abstractKey": null "abstractKey": null
}; };
(node as any).hash = "b9f66d2e9305aa568c33f708d4ce8fac"; (node as any).hash = "31e13504f5bd52607fa81ac300e7303d";
export default node; export default node;

View File

@@ -17,7 +17,7 @@ const tasksFragment = graphql`
fragment TasksPageFragment on Organization fragment TasksPageFragment on Organization
@refetchable(queryName: "TasksPageFragment_query") @refetchable(queryName: "TasksPageFragment_query")
@argumentDefinitions( @argumentDefinitions(
first: { type: "Int", defaultValue: 20 } first: { type: "Int", defaultValue: 500 }
order: { type: "TaskOrder", defaultValue: null } order: { type: "TaskOrder", defaultValue: null }
after: { type: "CursorKey", defaultValue: null } after: { type: "CursorKey", defaultValue: null }
before: { type: "CursorKey", defaultValue: null } before: { type: "CursorKey", defaultValue: null }

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<24b80331a26f03ece71f38e531454fe2>> * @generated SignedSource<<0fbb86bdf90b3ec4e0ec6ea8253eef4c>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -73,7 +73,7 @@ return {
"name": "before" "name": "before"
}, },
{ {
"defaultValue": 20, "defaultValue": 500,
"kind": "LocalArgument", "kind": "LocalArgument",
"name": "first" "name": "first"
}, },
@@ -286,6 +286,6 @@ return {
}; };
})(); })();
(node as any).hash = "a555e698539fe819dd4713ac507ea440"; (node as any).hash = "84864638db9ddf53e9ae7da7952803af";
export default node; export default node;

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<fcc24a794a473d9c17436612840d3228>> * @generated SignedSource<<46a3b0baa64ec5a6a1c6d289a3737ade>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -46,7 +46,7 @@ v1 = {
"name": "before" "name": "before"
}, },
v2 = { v2 = {
"defaultValue": 20, "defaultValue": 500,
"kind": "LocalArgument", "kind": "LocalArgument",
"name": "first" "name": "first"
}, },
@@ -369,16 +369,16 @@ return {
] ]
}, },
"params": { "params": {
"cacheID": "9f6192e72e8d38b3150dfc8ece83ad97", "cacheID": "58db4c11a870b12c21eef1c6f24271b0",
"id": null, "id": null,
"metadata": {}, "metadata": {},
"name": "TasksPageFragment_query", "name": "TasksPageFragment_query",
"operationKind": "query", "operationKind": "query",
"text": "query TasksPageFragment_query(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: TaskOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...TasksPageFragment_16fISc\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksPageFragment_16fISc on Organization {\n tasks(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n name\n state\n description\n ...TaskFormDialogFragment\n measure {\n id\n name\n }\n assignedTo {\n id\n fullName\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" "text": "query TasksPageFragment_query(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 500\n $last: Int = null\n $order: TaskOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...TasksPageFragment_16fISc\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksPageFragment_16fISc on Organization {\n tasks(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n name\n state\n description\n ...TaskFormDialogFragment\n measure {\n id\n name\n }\n assignedTo {\n id\n fullName\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n"
} }
}; };
})(); })();
(node as any).hash = "a555e698539fe819dd4713ac507ea440"; (node as any).hash = "84864638db9ddf53e9ae7da7952803af";
export default node; export default node;