Description
Component
No response
Infrahub version
1.3.0
Current Behavior
When a PC is large and has begun the merge process the UI only queries for PC's in the open
state. Which means the PC is hidden from the PC UI. However GQL shows its in the merging
state.
{
"operationName": "GET_PROPOSED_CHANGES",
"variables": {
"statesVisible": [
"open"
]
},
"query": "query GET_PROPOSED_CHANGES($statesVisible: [String], $search: String) {\n CoreProposedChange(\n state__values: $statesVisible\n any__value: $search\n partial_match: true\n ) {\n count\n edges {\n node {\n id\n display_label\n __typename\n _updated_at\n name {\n value\n __typename\n }\n description {\n value\n __typename\n }\n source_branch {\n value\n __typename\n }\n approved_by {\n edges {\n node {\n id\n display_label\n __typename\n }\n __typename\n }\n __typename\n }\n reviewers {\n edges {\n node {\n id\n display_label\n __typename\n }\n __typename\n }\n __typename\n }\n comments {\n count\n __typename\n }\n created_by {\n node {\n id\n display_label\n __typename\n }\n __typename\n }\n validations {\n count\n edges {\n node {\n conclusion {\n value\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n }\n __typename\n }\n permissions {\n edges {\n node {\n kind\n view\n create\n update\n delete\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n CoreProposedChangeOpen: CoreProposedChange(state__values: [\"open\"]) {\n count\n __typename\n }\n CoreProposedChangeClose: CoreProposedChange(\n state__values: [\"closed\", \"merged\", \"canceled\"]\n ) {\n count\n __typename\n }\n}"
}
Expected Behavior
Be able to see PC's in the following states for the OPEN/CLOSED tab.
- open
- open
- merging
- closed (this is already the case)
- closed
- merged
- canceled
Steps to Reproduce
Open PC and select merge and refresh the PC ui it will be hidden in the UI.
Additional Information
No response