0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 22:33:32 +01:00
gitea/web_src/js
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
..
components fix double border and border-radius on empty action steps (#29845) 2024-03-16 17:03:56 +00:00
features Load citation JS only when needed (#29855) 2024-03-17 11:04:59 +01:00
markup Use more specific selector for name links (#29679) 2024-03-08 23:21:45 +00:00
modules Forbid HTML injection using jQuery (#29843) 2024-03-16 13:25:27 +00:00
render Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
utils Support pasting URLs over markdown text (#29566) 2024-03-08 15:15:58 +00:00
vendor Vendor jquery.are-you-sure with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Use Temporal.PlainDate for absolute dates (#29804) 2024-03-15 09:13:01 +00:00
bootstrap.js Suppress error from monaco-editor (#29684) 2024-03-09 18:37:29 +01:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
htmx.js Auto-update the system status in admin dashboard (#29163) 2024-02-16 02:52:25 +00:00
index.js Filter Repositories by type (#29231) 2024-03-03 10:18:34 +00:00
jquery.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
svg.js Artifact deletion in actions ui (#27172) 2024-02-18 10:33:50 +00:00
svg.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
utils.js enforce maxlength in frontend (#29389) 2024-02-25 14:31:15 +00:00
utils.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
vitest.setup.js Move vitest setup file to root (#29097) 2024-02-08 20:07:02 +08:00