feature/pr-close-reopen-91
Add POST /pulls/{owner}/{repo}/{index}/state handler that reuses the
existing SetIssueState Gitea API call (PRs share the issues state
endpoint). The PR detail template now shows a Close PR / Reopen PR
button with HTMX for seamless state toggling without full page reload.
Also fixes the state badge to use the correct CSS class when a PR is
closed.
Closes leeworks-agents/gitea-mobile#91
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
Go
80.8%
HTML
11.4%
CSS
6.1%
JavaScript
1.1%
Nix
0.4%
Other
0.2%