Adds action to DetailedStatusType
What does this MR do?
Adds an action
field to DetailedStatusType
and adds a StatusActionType
with a bunch of different fields.
NOTE: If you'd like to test this MR, you will need detailedStatus
in CiJob
. You can do any of these:
EASY EFFORT: Paste this into CiJobType
:
field :detailed_status, Types::Ci::DetailedStatusType, null: true,
description: 'Detailed status of the group',
resolve: -> (obj, _args, ctx) { obj.detailed_status(ctx[:current_user]) }
MEDIUM EFFORT: Cherry-pick this commit: ef7eba95
A LOT OF EFFORT: Rebase: !43069 (merged)
{
project(fullPath: "gitlab-org/gitlab-shell"){
pipeline(iid: "17"){
stages{
nodes{
groups{
nodes{
jobs{
nodes{
detailedStatus{
action{
buttonTitle
icon
path
title
method
}
}
}
}
}
}
}
}
}
}
}
NOTE: detailedStatus
is added in another MR.
Does this MR meet the acceptance criteria?
Conformity
Edited by Laura Montemayor