The user should be able to know if there are newer Cloud builds than are being shown on the Runs page.
When the Runs page is showing Cloud builds relative to the local Git tree, it is possible that newer (i.e. more recent) builds could be recorded to the Cloud project. If that is the case, then a message should appear at the top of the list of "runs" that lets the user know.
Message
Show above the list of runs using the design linked
The value in the purple badge should be the count of "newer" Cloud builds that have a more recent "createdAt" date than the most recent build shown on the page
The message will say "There are newer runs on {branch name}" where the branch name is the name of the current branch for the local project
The "question mark" icon will have a tooltip that says "Pull from remote branch to display runs here"
Summary
The user should be able to know if there are newer Cloud builds than are being shown on the Runs page.
When the Runs page is showing Cloud builds relative to the local Git tree, it is possible that newer (i.e. more recent) builds could be recorded to the Cloud project. If that is the case, then a message should appear at the top of the list of "runs" that lets the user know.
Message
Data
To fetch the count for the badge, add a new field under CloudProject in the
cypress-services
.Suggested Implementation
runCounts
filter
which is an object that has:branch
(optional) - filter runs based on supplied branchcreatedAfter
(optional) - date/time that should return runs with acreatedAt
date greater than this valueReferences
Clickup: https://app.clickup.com/18033298/docs/h6amj-45987/h6amj-53707?block=block-fd2b8db0-88f6-45c6-9010-b0bdde378a9f Figma: https://www.figma.com/file/90FM8BU3k1HgsjOiDovpnn/In-App-Run-Notifications?type=design&node-id=1097-265730&mode=design&t=NYPLOxWN8VrhxChv-0