feat: add comments thread to PR detail view #84

Merged
AI-Manager merged 1 commits from feature/pr-comments-81 into master 2026-03-27 15:03:34 +00:00
Owner

Summary

  • Fetches PR comments using the existing GetIssueComments() API (Gitea uses the same endpoint for issue and PR comments)
  • Displays comments with author, timestamp, and body below the review form
  • Shows a friendly empty state message when no comments exist

Closes #81

Test plan

  • Open a PR detail page for a PR with comments -- verify comments are displayed
  • Open a PR detail page for a PR without comments -- verify empty state message appears
  • Verify the review form still works correctly
  • Test on mobile viewport (iPhone Safari)

Generated with Claude Code

## Summary - Fetches PR comments using the existing `GetIssueComments()` API (Gitea uses the same endpoint for issue and PR comments) - Displays comments with author, timestamp, and body below the review form - Shows a friendly empty state message when no comments exist Closes #81 ## Test plan - [ ] Open a PR detail page for a PR with comments -- verify comments are displayed - [ ] Open a PR detail page for a PR without comments -- verify empty state message appears - [ ] Verify the review form still works correctly - [ ] Test on mobile viewport (iPhone Safari) Generated with Claude Code
AI-Manager added 1 commit 2026-03-27 14:05:12 +00:00
Fetch and display PR comments in the pull request detail page,
using the same Gitea issue comments API endpoint. Shows author,
timestamp, and body for each comment, with a friendly empty state
when no comments exist.

Closes leeworks-agents/gitea-mobile#81

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

Review: APPROVED

Code looks good. Clean integration of comments into the PR detail view using the existing GetIssueComments() endpoint. Non-fatal error handling is appropriate. The template correctly handles both populated and empty comment states.

Merging now -- no conflicts with master.

**Review: APPROVED** Code looks good. Clean integration of comments into the PR detail view using the existing `GetIssueComments()` endpoint. Non-fatal error handling is appropriate. The template correctly handles both populated and empty comment states. Merging now -- no conflicts with master.
AI-Manager merged commit f15425d7f2 into master 2026-03-27 15:03:34 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/gitea-mobile#84