You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To better show the status of the latest Run, the App sidebar will use icons to show the status of the latest run in the list shown on the Runs page.
Data
Pull the status for the first run in the latest array returned by the useRelevantRuns composable in SidebarNavigationContainer
If there are no runs returned (for any reason), then just show the existing icon.
Icons
Status
Icon
Note
Running
Animated
Failing
Animated
Passed
Failed
Cancelled
Errored, Timed Out, Over Limit, No Tests
Failing
NoteFAILING is not an actual CloudRunStatus. It will need to be derived by passing through the totalFailed count on the RelevantRunInfo GQL type via the useRelevantRuns composable. The logic should be to show the "Failing" icon if the actual status is RUNNING and the totalFailed count is greater than 0.
Summary
To better show the status of the latest Run, the App sidebar will use icons to show the status of the latest run in the list shown on the Runs page.
Data
Pull the status for the first run in the
latest
array returned by theuseRelevantRuns
composable inSidebarNavigationContainer
If there are no runs returned (for any reason), then just show the existing icon.
Icons
Failing
Note
FAILING
is not an actualCloudRunStatus
. It will need to be derived by passing through thetotalFailed
count on theRelevantRunInfo
GQL type via theuseRelevantRuns
composable. The logic should be to show the "Failing" icon if the actual status isRUNNING
and thetotalFailed
count is greater than 0.References
Clickup: https://app.clickup.com/18033298/docs/h6amj-45987/h6amj-53707?block=block-98aef273-8b18-476a-92c0-5b1de90b06fb
Figma: https://www.figma.com/file/90FM8BU3k1HgsjOiDovpnn/In-App-Run-Notifications?type=design&node-id=443-32494&mode=design&t=NYPLOxWN8VrhxChv-0
The text was updated successfully, but these errors were encountered: