gitea/web_src/js/components
Kilisei 181db69e0c
Use shallowRef instead of ref in .vue files where possible (#34813)
This PR improves some `.vue` components by using `shallowRef instead of
ref`, which `should improve performance`. It's probably not significant,
but it's an improvement because Vue no longer deep watches the ref
(shallowRef). Also i used `useTemplateRef` instead of `ref`.

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-06-22 21:37:03 +08:00
..
ActionRunStatus.vue Fix vertical centering of file tree icons and use entryIcon for submodules/symlinks (#34137) 2025-04-09 18:10:16 -07:00
ActivityHeatmap.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
ContextPopup.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
DashboardRepoList.vue Hide href attribute of a tag if there is no target_url (#34556) 2025-06-10 19:32:20 +00:00
DiffCommitSelector.vue Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
DiffFileTree.vue Add repo file tree item link behavior (#34730) 2025-06-20 02:28:19 +08:00
DiffFileTreeItem.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
PullRequestMergeForm.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
RepoActionView.vue Update JS deps, regenerate SVGs (#34640) 2025-06-07 17:59:36 +00:00
RepoActivityTopAuthors.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
RepoBranchTagSelector.vue Fix button alignments (#34276) 2025-04-27 19:39:03 +00:00
RepoCodeFrequency.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
RepoContributors.vue Improve img lazy loading (#34804) 2025-06-21 14:53:22 +08:00
RepoRecentCommits.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
ViewFileTree.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
ViewFileTreeItem.vue Use shallowRef instead of ref in .vue files where possible (#34813) 2025-06-22 21:37:03 +08:00
ViewFileTreeStore.ts Add repo file tree item link behavior (#34730) 2025-06-20 02:28:19 +08:00