gitea/web_src/js/components
silverwind ae8e8f055e
Use fetch helpers instead of fetch ()
WIP because:

- [x] Some calls set a `content-type` but send no body, can likely
remove the header
- [x] Need to check whether `charset=utf-8` has any significance on the
webauthn calls, I assume not as it is the default for json content.
- [x] Maybe `no-restricted-globals` is better for eslint, but will
require a lot of duplication in the yaml or moving eslint config to a
`.js` extension.
- [x] Maybe export `request` as `fetch`, shadowing the global.
..
.eslintrc.yaml Add `eslint-plugin-vue-scoped-css` ()
ActionRunStatus.vue Reorder blocks in vue SFCs ()
ActivityHeatmap.vue Reorder blocks in vue SFCs ()
ContextPopup.vue Reorder blocks in vue SFCs ()
DashboardRepoList.vue Use fetch helpers instead of fetch ()
DiffCommitSelector.vue Use fetch helpers instead of fetch ()
DiffFileList.vue Reorder blocks in vue SFCs ()
DiffFileTree.vue Reorder blocks in vue SFCs ()
DiffFileTreeItem.vue Reorder blocks in vue SFCs ()
PullRequestMergeForm.vue Change green buttons to primary color ()
RepoActionView.vue Add fetch wrappers, ignore network errors in actions view ()
RepoActivityTopAuthors.vue Reorder blocks in vue SFCs ()
RepoBranchTagSelector.vue Use fetch helpers instead of fetch ()
ScopedAccessTokenSelector.vue Reorder blocks in vue SFCs ()