feat: add review status icon and merge status indicator to PR list rows #97
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The ROADMAP specifies that the PR list view should display per-row status indicators:
Currently the PR list rows may only show basic metadata. This issue tracks adding the two additional status signals.
What to Do
ListAllPullRequests()ininternal/gitea/client.goto includeMergeableandReviewsfields from the Gitea SDKPullRequeststructpulls_list.htmlor equivalent) to render these indicatorsAcceptance Criteria
Roadmap Reference
ROADMAP.md Phase 2.2 — PR List: "review status icon, merge status indicator"
Status: PR Created
PR #102 implements this feature. Changes across 4 files:
internal/gitea/client.go: AddedReviewStatefield,Reviewstruct,GetPullReviewState()(aggregates per-user reviews), andEnrichPullsWithReviewState()(concurrent enrichment)internal/handlers/handlers.go: Calls enrichment after fetching PR listinternal/templates/pulls.html: Adds review badge (checkmark/X/clock) and merge badge (Ready/Conflicts)static/style.css: CSS for.review-badgeand.merge-badgewith dark-mode colorsManagement update: PR #102 is open and addresses this issue. Review requested from AI-Engineer. PR is mergeable (4 files changed, 105 insertions). Assigned to AI-Engineer.