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.
gitea/web_src/js/components
wxiaoguang 7a5af25592
Fix incorrect checkbox behaviors in the dashboard repolist's filter (#23147)
Co-author: yp05327 , this PR is based on yp05327's #22813.

The problems of the old DashboardRepoList / repolist.tmpl: 

* It mixes many different frameworks together
* It "just works", bug on bug
* It uses many anti-pattern of Vue

This PR:

* Fix bugs and close #22800
* Decouple the "checkbox" elements from Fomantic UI (only use CSS
styles)
* Simplify the HTML layout
* Simplify JS logic
* Make it easier to refactor the DashboardRepoList into a pure Vue
component in the future.

### Screenshots

#### Default

![image](https://user-images.githubusercontent.com/2114189/221355768-a3eb5b23-85b4-4e3d-b906-844d8b15539d.png)

####  Click "Archived" to make it checked

![image](https://user-images.githubusercontent.com/2114189/221355777-9a104ddf-52a7-4504-869a-43a73827d802.png)

####  Click "Archived" to make it intermediate

![image](https://user-images.githubusercontent.com/2114189/221355802-0f67a073-67ad-4e92-84a6-558c432103a5.png)

####  Click "Archived" to make it unchecked

![image](https://user-images.githubusercontent.com/2114189/221355810-acf1d9d8-ccce-47fe-a02e-70cf4e666331.png)

---------

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
.eslintrc.yaml Fix eslint parsing errors, remove eslint-plugin-html (#20323) 3 years ago
ActivityHeatmap.vue Add pagination for dashboard and user activity feeds (#22937) 2 years ago
ContextPopup.vue Scoped labels (#22585) 2 years ago
DashboardRepoList.js Fix incorrect checkbox behaviors in the dashboard repolist's filter (#23147) 2 years ago
DiffFileList.vue Move helpers to be prefixed with `gt-` (#22879) 2 years ago
DiffFileTree.vue Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
DiffFileTreeItem.vue Add `title` to PR file tree items (#22918) 2 years ago
PullRequestMergeForm.vue Add force_merge to merge request and fix checking mergable (#23010) 2 years ago
RepoActionView.vue Require approval to run actions for fork pull request (#22803) 2 years 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