feat: add close/reopen and comment actions to issue detail view #65
Reference in New Issue
Block a user
Delete Branch "feature/close-comment-actions"
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?
Summary
Closes leeworks-agents/gitea-mobile#29
Test plan
Add SetIssueState client method and handler for toggling issue state between open and closed via PATCH API. Add AddComment client method wrapping PostComment. Register new routes POST /issues/{owner}/{repo}/{index}/state and POST /issues/{owner}/{repo}/{index}/comments. Update issue_detail.html template with comment form (HTMX inline append) and close/reopen button (HTMX inline swap of state badge). Closes leeworks-agents/gitea-mobile#29 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>