githaven-fork/web_src/js/components
silverwind 6d96f0b0d1
Add fetch wrappers, ignore network errors in actions view (#26985)
1. Introduce lightweight `fetch` wrapper functions that automatically
sets csfr token, content-type and use it in `RepoActionView.vue`.
2. Fix a specific issue on `RepoActionView.vue` where a fetch network
error is shortly visible during page reload sometimes. It can be
reproduced by F5-in in quick succession on the actions view page and was
also producing a red error box on the page.

Once approved, we can replace all current `fetch` uses in UI with this
in another PR.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-09-11 10:25:10 +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 Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffCommitSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffFileList.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffFileTree.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffFileTreeItem.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
PullRequestMergeForm.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
RepoActionView.vue Add fetch wrappers, ignore network errors in actions view (#26985) 2023-09-11 10:25:10 +02:00
RepoActivityTopAuthors.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
RepoBranchTagSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
ScopedAccessTokenSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00