1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 10:44:26 +00:00
gitea/docs/content/contributing
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
..
_index.de-de.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
guidelines-backend.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
guidelines-backend.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
guidelines-frontend.en-us.md Add fetch wrappers, ignore network errors in actions view (#26985) 2023-09-11 10:25:10 +02:00
guidelines-frontend.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
guidelines-refactoring.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
guidelines-refactoring.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
localization.de-de.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
localization.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
localization.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
localization.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
translation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00