gitea/web_src/js/features
silverwind 4b1c88628a
Load citation JS only when needed (#29855)
Previously, the citation js would load every time when opening a citable
repo. Now it only loads when the user clicks the button for it. The
loading state is representend with a spinner on the button:

<img width="83" alt="Screenshot 2024-03-17 at 00 25 13"
src="https://github.com/go-gitea/gitea/assets/115237/29649089-13f3-4974-ab81-e12c0f8e651f">

Diff ist best viewed with whitespace hidden.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-03-17 11:04:59 +01:00
..
admin Forbid jQuery .prop and fix related issues (#29832) 2024-03-16 15:08:10 +00:00
comp Forbid jQuery .prop and fix related issues (#29832) 2024-03-16 15:08:10 +00:00
captcha.js
citation.js Load citation JS only when needed (#29855) 2024-03-17 11:04:59 +01:00
clipboard.js Fix Citation modal responsiveness and clipboard copy (#29799) 2024-03-15 02:38:13 +00:00
code-frequency.js Implement code frequency graph (#29191) 2024-02-23 23:41:24 +00:00
codeeditor.js
colorpicker.js
common-global.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js
contributors.js
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js
install.js
notification.js Forbid HTML injection using jQuery (#29843) 2024-03-16 13:25:27 +00:00
org-team.js
pull-view-file.js Fix counter display number incorrectly displayed on the page (#29448) 2024-02-28 21:23:49 +01:00
recent-commits.js Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
repo-branch.js
repo-code.js Remove jQuery from the code diff expansion buttons (#29385) 2024-02-25 05:07:23 +00:00
repo-code.test.js
repo-commit.js Fix elipsis button not working if the last commit loading is deferred (#29544) 2024-03-02 19:31:59 +00:00
repo-common.js Remove jQuery AJAX from the archive download links (#29380) 2024-02-25 16:53:44 +00:00
repo-diff-commit.js
repo-diff-commitselect.js
repo-diff-filetree.js
repo-diff.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
repo-editor.js Forbid jQuery .prop and fix related issues (#29832) 2024-03-16 15:08:10 +00:00
repo-findfile.js Remove jQuery from the "find file" page (#29456) 2024-02-28 15:11:54 +01:00
repo-findfile.test.js
repo-graph.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
repo-home.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
repo-issue-content.js Remove jQuery AJAX from the comment edit history (#29703) 2024-03-10 20:26:41 +01:00
repo-issue-list.js Forbid jQuery .prop and fix related issues (#29832) 2024-03-16 15:08:10 +00:00
repo-issue-pr-form.js
repo-issue-pr-status.js
repo-issue.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
repo-legacy.js Forbid jQuery .prop and fix related issues (#29832) 2024-03-16 15:08:10 +00:00
repo-migrate.js
repo-migration.js
repo-projects.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
repo-release.js Fix a bug returning 404 when display a single tag with no release (#29466) 2024-03-02 14:03:39 +00:00
repo-search.js Filter Repositories by type (#29231) 2024-03-03 10:18:34 +00:00
repo-settings.js Remove jQuery AJAX from repo collaborator mode dropdown (#29371) 2024-02-25 00:08:51 +01:00
repo-template.js
repo-unicode-escape.js Remove jQuery from the Unicode escape button (#29369) 2024-02-24 20:11:51 +01:00
repo-wiki.js
sshkey-helper.js
stopwatch.js Fix incorrect subpath in links (#29535) 2024-03-02 12:02:34 +00:00
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js Replace more gt- with tw-, update frontend docs (#29595) 2024-03-05 05:29:32 +00:00
user-settings.js