Skip to content

Conversation

@majiayu000
Copy link

Fixes #55

Changes

  • Added Close PR button in PR view (visible when PR is open)
  • Backend API endpoint /pull-requests/:id/close to close PRs
  • Gitness API integration for updating PR state to closed
  • Fixed PR status constant from "CLOSE" to "CLOSED"

Add functionality to close pull requests from the PR detail view:
- Backend: Add ClosePullRequest method in Gitness client, service and controller
- Backend: Add /close API route for pull requests
- Frontend: Add closePullRequest API function
- Frontend: Add Close button next to Re-Build and Merge buttons
- Fix: Align CLOSED status constant between frontend and backend

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Signed-off-by: majiayu000 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User should be able to close a PR

1 participant