0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-02 09:45:49 -05:00
forgejo/web_src/js
Yarden Shoham afc27fb2a3
Remove jQuery AJAX from the notifications (#29817)
- Removed 2 jQuery AJAX calls and replaced with our fetch wrapper
- Deleted an AJAX call that wasn't attached to any element since #24989
- Tested the notification count and notification table functionality and
it works as before

# Demo using `fetch` instead of jQuery AJAX

![demo](https://github.com/go-gitea/gitea/assets/20454870/ff862a9a-1c88-41cc-bd01-5a0711dbd6f8)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 043f55fabfadd765125690052920ba31ebd3817b)
2024-03-20 08:46:30 +01:00
..
components Remove the time-since class (#29826) 2024-03-20 08:46:30 +01:00
features Remove jQuery AJAX from the notifications (#29817) 2024-03-20 08:46:30 +01:00
markup Use more specific selector for name links (#29679) 2024-03-11 23:36:59 +07:00
modules Add <overflow-menu>, rename webcomponents (#29400) 2024-03-20 08:46:29 +01:00
render
standalone [FRONTEND] fix javascript linting errors 2024-02-25 23:43:58 +01:00
utils Support pasting URLs over markdown text (#29566) 2024-03-11 23:36:59 +07:00
vendor
webcomponents Use Temporal.PlainDate for absolute dates (#29804) 2024-03-20 08:46:29 +01:00
bootstrap.js Suppress error from monaco-editor (#29684) 2024-03-11 23:37:00 +07:00
bootstrap.test.js
htmx.js
index.js Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
jquery.js
svg.js
svg.test.js
utils.js enforce maxlength in frontend (#29389) 2024-02-26 22:30:27 +01:00
utils.test.js
vitest.setup.js