1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/templates/user/dashboard
wxiaoguang e82f1b15c7
Refactor dashboard repo list to Vue SFC (#23405)
Similar to #23394

The dashboard repo list mixes jQuery/Fomantic UI/Vue together, it's very
diffcult to maintain and causes unfixable a11y problems.

This PR uses two steps to refactor the repo list:

1. move `data-` attributes to JS object and use Vue data as much as
possible
d3adc0dcac
2. move the code into a Vue SFC
7ebe55df6e

Total: +516 −585

Screenshots:

<details>

![image](https://user-images.githubusercontent.com/2114189/224271457-a23e05be-d7d3-4247-a803-f0ee30c36f44.png)

![image](https://user-images.githubusercontent.com/2114189/224271504-76fbd3da-4d7a-4725-b0d1-fbff83caac63.png)

![image](https://user-images.githubusercontent.com/2114189/224271845-f007cadf-6c49-46bd-a65c-a3fc75bdba3b.png)

</details>

---------

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-03-14 12:09:06 +08:00
..
dashboard.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
feeds.tmpl Add context when rendering labels or emojis (#23281) 2023-03-05 22:59:05 +01:00
issues.tmpl Add "Reviewed by you" filter for pull requests (#22927) 2023-02-24 21:55:50 -05:00
milestones.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
navbar.tmpl add user visibility in dashboard navbar (#22747) 2023-03-08 23:18:10 +08:00
repolist.tmpl Refactor dashboard repo list to Vue SFC (#23405) 2023-03-14 12:09:06 +08:00