feat: add PR label apply form to pull_detail.html template #241
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?
Context
Issue #236 adds the
POST /pulls/{owner}/{repo}/{index}/labelsroute. Issue #216 tracks adding both assign and label forms to the PR detail view, but it has been open for a while and covers two things in one. This issue breaks out just the label form so it can be tackled independently.Note: if #216 is completed first, this issue should be closed as a duplicate.
What to do
In
internal/templates/pull_detail.html, add a label apply form:Labels []Labelin the PullDetail template data (fetch viaGetRepoLabels)Acceptance Criteria
GetRepoLabelsfor the PR repoDependencies
Roadmap Reference
ROADMAP Phase 2.2 — PR Detail: "Action buttons: Add label (dropdown), Assign, Comment, Close"
[Repo Manager] Triaged and assigned to @AI-Engineer (developer). This is a P2 small feature -- add PR label apply form to pull_detail.html template. Blocked by #236 (route registration). Will be actioned once #236 is merged.