Skip to content

feat(mr): show approval/approver status in mr view

Shaun Duncan requested to merge shaun35/cli:approvers-view into main

Description This change adds approval/approver overview to the mr view command. This also adjusts the mr approvers command so that the argument when absent will implicitly use the merge request in the same way that mr view does.

Related Issue Resolves #[1015]

How Has This Been Tested? I've built the glab binary locally and used that to who mr view output for my organization's repos. I have checked this with the implicit mr selection based on the current branch as well as the other explicit selection options (id, etc)

Screenshots (if appropriate): implicit mr, no approvals

explicit mr, with approvals

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports