1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/web_src/js
wxiaoguang 1d76e9aabf
Add simple JS init performance trace (#31459)
Related to #23461, and help some cases like #31412

For developers, they could use browser's Performance tool to collect
performance data, while this PR is also quite handy to optimize the
`index.js`.

For end users, this PR is simple enough and could figure out the slow
function quickly.


![image](https://github.com/go-gitea/gitea/assets/2114189/a557b08e-6594-474b-81a3-03d5ac2bd68e)
2024-06-22 17:20:20 +08:00
..
components Update JS dependencies, remove eslint-plugin-jquery (#31402) 2024-06-18 08:10:30 +00:00
features Refactor image diff (#31444) 2024-06-22 04:52:09 +00:00
markup Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
modules Fix navbar + menu flashing on page load (#31281) 2024-06-12 14:58:03 +00:00
render Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
standalone Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
utils Fix and clean up ConfirmModal (#31283) 2024-06-07 13:42:31 +00:00
vendor Refactor image diff (#31444) 2024-06-22 04:52:09 +00:00
webcomponents Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
bootstrap.js Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
globals.js Bump htmx to 2.0.0 (#31413) 2024-06-20 20:04:09 +00:00
htmx.js Bump htmx to 2.0.0 (#31413) 2024-06-20 20:04:09 +00:00
index.js Add simple JS init performance trace (#31459) 2024-06-22 17:20:20 +08:00
svg.js Update JS any PY dependencies, remove workarounds (#30085) 2024-03-26 09:41:40 +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