Skip to content

PR Review & Approve #174

@Flo0806

Description

@Flo0806

Summary

Add the ability to approve, request changes, or leave a comment-only review on pull requests directly from the dashboard.

Review Actions

  • Approve: Submit approval review
  • Request Changes: Submit review with required changes (comment body required)
  • Comment: Submit comment-only review (no approval/rejection)
  • Uses POST /repos/{owner}/{repo}/pulls/{number}/reviews REST API

Permission & Validation

  • Cannot self-approve own PRs (GitHub enforces this, show disabled with reason)
  • Check reviewer permissions
  • Show current review status: who approved, who requested changes, who is pending

Reviewer Overview

  • List of requested reviewers with their review state
  • Visual indicators: approved (green), changes requested (red), pending (neutral)
  • Count: "2/3 approved" style summary

UI Integration

Scope

  • Requires Action Sidebar from PR Merge Flow with Action Sidebar #173 as container
  • Works independently: review/approve is useful even without merging
  • Extends the sidebar, does not replace or restructure it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions