Skip to content

[P0] Frontend: PR creation, review, and merge UIย #273

@frankbria

Description

@frankbria

Problem

Steps 9-10 of the user journey have no UI. Users cannot create, review, or merge PRs.

Current State

  • No PR-related components exist
  • No way to trigger PR creation from Dashboard
  • No PR status visibility
  • No merge controls

Required Implementation

New Components

  1. PRList - List of PRs with status badges

    • Open/Merged/Closed states
    • Link to GitHub PR
    • Quick actions (view, merge)
  2. PRCreationDialog - Create PR from completed tasks

    • Branch selector
    • Title (auto-generated from issue)
    • Description editor (auto-populated from PRD/tasks)
    • Base branch selector (default: main)
  3. PRDetailView - PR details panel

    • Diff preview (files changed)
    • Review status
    • Merge button with confirmation
    • CI status indicators
  4. PRMergeDialog - Merge confirmation

    • Merge method selector (squash/merge/rebase)
    • Delete branch option
    • Final confirmation

Dashboard Integration

  • Add "Pull Requests" section to Overview or new tab
  • "Create PR" button on completed issues
  • PR count badge on Dashboard header

Acceptance Criteria

  • Users can create PR from completed issue/branch
  • Users can view PR status and diff
  • Users can merge PR from Dashboard
  • PR status updates in real-time via WebSocket
  • Links to GitHub PR page work

Dependencies

Committee Report Reference

Steps 9-10 rated F grade by all 11 expert agents. This completes the 10-step user journey.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0-blocker-betaCritical blocker - must fix before beta testingenhancementNew feature or requestux

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions