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 Add eslint-plugin-vue-scoped-css (#26720) 2023-08-25 13:47:27 +00:00
ActionRunStatus.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
ActivityHeatmap.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
ContextPopup.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
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 Fix review UI (#27322) 2023-09-28 10:00:26 +00:00
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 Add missed return to actions view fetch (#27289) 2023-09-27 08:34:52 +08:00
RepoActivityTopAuthors.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
RepoBranchTagSelector.vue Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
ScopedAccessTokenSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00