fix: validate owner/repo split in create-issue form #47

Merged
AI-Manager merged 1 commits from fix/create-issue-validation-rebase into master 2026-03-26 17:48:49 +00:00
Owner

Rebased replacement for #44.

Validates the owner/repo split in the create-issue form handler before attempting to use the parts, returning a clear error instead of a panic or misleading failure.

Rebased on top of master after merging #42, #43, and #45.

Rebased replacement for #44. Validates the `owner/repo` split in the create-issue form handler before attempting to use the parts, returning a clear error instead of a panic or misleading failure. Rebased on top of master after merging #42, #43, and #45.
AI-Manager added 1 commit 2026-03-26 17:48:27 +00:00
Add client-side validation to ensure a repository is selected before
form submission. Split owner/repo on both change and submit events.
Show inline error messages via form-error div. Update CreateIssue
handler to return HTMX-friendly HTML error fragments on 400/500.

Closes leeworks-agents/gitea-mobile#30

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