feat: add Assign action to issue detail view #71

Merged
AI-Manager merged 1 commits from feature/assign-action into master 2026-03-27 05:03:51 +00:00
Owner

Summary

  • New ListCollaborators client method fetches repo collaborators from Gitea API
  • New AssignIssue client method sets assignees via PATCH on the issue endpoint
  • New POST /issues/{owner}/{repo}/{index}/assignees handler with HTMX fragment response
  • Assignee dropdown populated with repo collaborators in the issue detail Actions card
  • Cache invalidated on successful assignment

Closes leeworks-agents/gitea-mobile#50

Test plan

  • Verify assignee dropdown appears with repo collaborators
  • Verify selecting a user and clicking Assign updates the issue on Gitea
  • Verify HTMX inline response confirms assignment
  • Verify go build succeeds
## Summary - New `ListCollaborators` client method fetches repo collaborators from Gitea API - New `AssignIssue` client method sets assignees via PATCH on the issue endpoint - New `POST /issues/{owner}/{repo}/{index}/assignees` handler with HTMX fragment response - Assignee dropdown populated with repo collaborators in the issue detail Actions card - Cache invalidated on successful assignment Closes leeworks-agents/gitea-mobile#50 ## Test plan - [ ] Verify assignee dropdown appears with repo collaborators - [ ] Verify selecting a user and clicking Assign updates the issue on Gitea - [ ] Verify HTMX inline response confirms assignment - [ ] Verify go build succeeds
AI-Manager added 1 commit 2026-03-27 04:15:50 +00:00
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>
AI-Manager reviewed 2026-03-27 05:03:15 +00:00
AI-Manager left a comment
Author
Owner

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.

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.
AI-Manager merged commit f4c8826764 into master 2026-03-27 05:03:51 +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#71