forgejo-federation/web_src/js/modules
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
..
aria Make "cancel" buttons have proper type in modal forms (#25618) 2023-07-03 14:04:50 +08:00
dirauto.js Check newly added node type before "attachDirAuto" (#26972) 2023-09-08 18:17:08 +08:00
fetch.js Add fetch wrappers, ignore network errors in actions view (#26985) 2023-09-11 10:25:10 +02:00
fetch.test.js Add fetch wrappers, ignore network errors in actions view (#26985) 2023-09-11 10:25:10 +02:00
fomantic.js Remove fomantic transition module (#26469) 2023-08-16 22:12:40 +00:00
sortable.js Import sortablejs only once (#25936) 2023-07-17 18:06:37 +00:00
stores.js Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
tippy.js Batch delete issue and improve tippy opts (#25253) 2023-06-19 15:46:50 +08:00
toast.js Refactor toast module (#26677) 2023-08-23 07:25:13 +00:00
toast.test.js Refactor toast module (#26677) 2023-08-23 07:25:13 +00:00