0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-02-18 00:32:02 +01:00
gitea/routers/web
Earl Warren 3f342d6dff
Modernize merge button (#28140)
- Make use of the `form-fetch-action` for the merge button, which will
automatically prevent the action from happening multiple times and show
a nice loading indicator as user feedback while the merge request is
being processed by the server.
- Adjust the merge PR code to JSON response as this is required for the
`form-fetch-action` functionality.
- Resolves https://codeberg.org/forgejo/forgejo/issues/774
- Likely resolves the cause of
https://codeberg.org/forgejo/forgejo/issues/1688#issuecomment-1313044

(cherry picked from commit 4ec64c19507caefff7ddaad722b1b5792b97cc5a)

Co-authored-by: Gusted <postmaster@gusted.xyz>
2024-01-15 00:00:47 +02:00
..
admin Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 2024-01-10 11:03:23 +00:00
auth Normalize oauth email username (#28561) 2024-01-03 18:48:20 -06:00
devtest
events
explore
feed
healthcheck
misc
org
repo Modernize merge button (#28140) 2024-01-15 00:00:47 +02:00
shared
user Refactor some legacy code and remove unused code (#28622) 2023-12-28 09:38:59 +00:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 2024-01-10 11:03:23 +00:00
webfinger.go