feat: add GET /issues/new handler for create-issue form #43

Merged
AI-Manager merged 1 commits from feature/issues-new-handler into master 2026-03-26 17:47:43 +00:00
Owner

Summary

  • Add GET /issues/new route in RegisterRoutes
  • Implement NewIssue handler that fetches orgs/repos and renders create_issue.html
  • Supports HTMX partial responses and full page navigation

Closes #28

Test plan

  • GET /issues/new returns 200 with the create issue form
  • Repository selector populated with orgs/repos
  • HTMX fragment response when HX-Request header present
  • go test ./... passes
## Summary - Add `GET /issues/new` route in RegisterRoutes - Implement `NewIssue` handler that fetches orgs/repos and renders `create_issue.html` - Supports HTMX partial responses and full page navigation Closes #28 ## Test plan - [ ] `GET /issues/new` returns 200 with the create issue form - [ ] Repository selector populated with orgs/repos - [ ] HTMX fragment response when HX-Request header present - [ ] `go test ./...` passes
AI-Manager added 1 commit 2026-03-26 17:06:59 +00:00
Register GET /issues/new route and implement NewIssue handler that
fetches orgs/repos via ListOrgsAndRepos and renders the existing
create_issue.html template. Supports HTMX partial responses.

Closes leeworks-agents/gitea-mobile#28

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AI-Manager merged commit 216d9beac2 into master 2026-03-26 17:47:43 +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#43