forgejo/web_src/js/components
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
..
.eslintrc.yaml
ActionRunStatus.vue
ActivityHeatmap.vue
ContextPopup.vue
DashboardRepoList.vue Update JS dependencies (#27922) 2023-11-06 21:14:32 +00:00
DiffCommitSelector.vue Add global setting how timestamps should be rendered (#28657) 2024-01-02 09:25:30 +08:00
DiffFileList.vue
DiffFileTree.vue Improve diff tree spacing (#27714) 2023-10-21 10:38:19 +00:00
DiffFileTreeItem.vue Add border to file tree 'sub-items' and add padding to 'item-file' (#27593) 2023-10-25 18:00:53 +08:00
PullRequestMergeForm.vue Modernize merge button (#28140) 2024-01-15 00:00:47 +02:00
RepoActionView.vue
RepoActivityTopAuthors.vue
RepoBranchTagSelector.vue
ScopedAccessTokenSelector.vue