You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/web_src/js/components
gempir e460b6ef4d
Fix PR file tree folders no longer collapsing (#22864)
Collapsing folders currently just throws a console error

```
index.js?v=1.19.0~dev-403-gb6b8feb3d:10 TypeError: this.$set is not a function
    at Proxy.handleClick (index.js?v=1.19.0~dev-403-gb6b8feb3d:58:7159)
    at index.js?v=1.19.0~dev-403-gb6b8feb3d:58:6466
    at index.js?v=1.19.0~dev-403-gb6b8feb3d:10:93922
    at ce (index.js?v=1.19.0~dev-403-gb6b8feb3d:10:1472)
    at Q (index.js?v=1.19.0~dev-403-gb6b8feb3d:10:1567)
    at HTMLDivElement.$e (index.js?v=1.19.0~dev-403-gb6b8feb3d:10:79198)
```

This PR fixes this and allows folders to be collapsed again.

Also:
- better cursor interaction with folders
- added some color to the diff detail stats
- remove green link color from all the file names

Screenshots:

![image](https://user-images.githubusercontent.com/9765622/218269712-2f3dda55-6d70-407f-8d34-2a5d9c8df548.png)

![image](https://user-images.githubusercontent.com/9765622/218269714-6ce8a954-daea-4ed6-9eea-8b2323db4d8f.png)

---------

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
..
.eslintrc.yaml Fix eslint parsing errors, remove eslint-plugin-html (#20323) 2 years ago
ActivityHeatmap.vue JS refactors (#22227) 2 years ago
ContextPopup.vue JS refactors (#22227) 2 years ago
DashboardRepoList.js Refactor from Vue2 to Vue3 (#20044) 2 years ago
DiffFileList.vue JS refactors (#22227) 2 years ago
DiffFileTree.vue Restore function to "Show more" buttons (#22399) 2 years ago
DiffFileTreeItem.vue Fix PR file tree folders no longer collapsing (#22864) 1 year ago
PullRequestMergeForm.vue JS refactors (#22227) 2 years ago
RepoActionView.vue Fix rerun button of Actions (#22798) 1 year ago
RepoActivityTopAuthors.vue Split `index.js` to separate files (#17315) 3 years ago
RepoBranchTagDropdown.js Refactor from Vue2 to Vue3 (#20044) 2 years ago
VueComponentLoader.js Update JS dependencies and eslint config (#21388) 2 years ago