Skip to content
Snippets Groups Projects

Add deployment approval UI MVC

Merged Andrew Fontaine requested to merge afontaine/deployment-approval into master
All threads resolved!
9 files
+ 413
0
Compare changes
  • Side-by-side
  • Inline
Files
9
  • 1234808e
    Add deployment approval UI MVC · 1234808e
    Andrew Fontaine authored
    Sets up the ability for users to approve and reject deployments from
    within the environments page.
    
    Current information shown is how many approvals are needed and how many
    are done, as well as who has approved and when.
    
    A rejection short cuts to killing the deployment.
    
    This is currently only in the phased out environment UI, but built in a
    way that it should be easy to drop into the new one.
@@ -43,6 +43,7 @@ export default {
@@ -43,6 +43,7 @@ export default {
TooltipOnTruncate,
TooltipOnTruncate,
UserAvatarLink,
UserAvatarLink,
CiIcon,
CiIcon,
 
Approval: () => import('ee_component/environments/components/environment_approval.vue'),
},
},
directives: {
directives: {
GlTooltip: GlTooltipDirective,
GlTooltip: GlTooltipDirective,
@@ -813,6 +814,7 @@ export default {
@@ -813,6 +814,7 @@ export default {
data-track-label="environment_stop"
data-track-label="environment_stop"
/>
/>
 
<approval :environment="model" />
<gl-dropdown
<gl-dropdown
v-if="hasExtraActions"
v-if="hasExtraActions"
icon="ellipsis_v"
icon="ellipsis_v"
Loading