forgejo/web_src/js
silverwind f2fc2dcfc9
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>
(cherry picked from commit 4b1c88628a6856e533ff10d346ca5bd73ce952b3)
2024-03-20 08:46:30 +01:00
..
components fix double border and border-radius on empty action steps (#29845) 2024-03-20 08:46:30 +01:00
features Load citation JS only when needed (#29855) 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 Forbid HTML injection using jQuery (#29843) 2024-03-20 08:46:30 +01:00
render
standalone
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 Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-20 08:46:30 +01:00
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