You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
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>
2 years ago
..
components Add fetch wrappers, ignore network errors in actions view (#26985) 2 years ago
features Improve "language stats" UI (#26968) 2 years ago
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2 years ago
modules Add fetch wrappers, ignore network errors in actions view (#26985) 2 years ago
render Update JS dependencies (#26586) 2 years ago
standalone Add toasts to UI (#25449) 2 years ago
test rename tributeValues to mentionValues (#25375) 2 years ago
utils Avoiding accessing undefined mentionValues (#26461) 2 years ago
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 2 years ago
webcomponents Add minimum polyfill to support "relative-time-element" in PaleMoon (#26575) 2 years ago
bootstrap.js Remove joinPaths function (#26833) 2 years ago
index.js Add "dir=auto" for input/textarea elements by default (#26735) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2 years ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2 years ago
utils.js Remove joinPaths function (#26833) 2 years ago
utils.test.js Remove joinPaths function (#26833) 2 years ago