feat: add Assign action to issue detail view #71
Reference in New Issue
Block a user
Delete Branch "feature/assign-action"
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
ListCollaboratorsclient method fetches repo collaborators from Gitea APIAssignIssueclient method sets assignees via PATCH on the issue endpointPOST /issues/{owner}/{repo}/{index}/assigneeshandler with HTMX fragment responseCloses leeworks-agents/gitea-mobile#50
Test plan
Add the ability to assign users to issues from the mobile app: - New ListCollaborators client method fetches repo collaborators - New AssignIssue client method sets assignees via PATCH API - New POST /issues/{owner}/{repo}/{index}/assignees handler - Assignee dropdown populated with repo collaborators in issue detail - HTMX inline response confirms assignment without page reload Closes leeworks-agents/gitea-mobile#50 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>Code review: Solid implementation. ListCollaborators and AssignIssue client methods use correct Gitea API. Handler has proper validation and HTMX/non-HTMX response paths. Template conditionally renders assignee dropdown. Minor nit: strings.NewReader(string(payload)) could be bytes.NewReader(payload), but functionally correct. Ready to merge.