1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/web_src/js/components
wxiaoguang ee99cf6313
Refactor diffFileInfo / DiffTreeStore (#24998)
Follow  #21012, #22399

Replace #24983, fix #24938

Help #24956

Now, the `window.config.pageData.diffFileInfo` itself is a reactive
store, so it's quite easy to sync values/states by it, no need to do
"doLoadMoreFiles" or "callback".

Screenshot: these two buttons both work. After complete loading, the UI
is also right.

<details>


![image](https://github.com/go-gitea/gitea/assets/2114189/cc6310fd-7f27-45ea-ab4f-24952a87b421)


![image](https://github.com/go-gitea/gitea/assets/2114189/4c11dd67-ac03-4568-8541-91204d27a4e3)


![image](https://github.com/go-gitea/gitea/assets/2114189/38a22cec-41be-41e6-a209-f347b7a4c1de)

</details>
2023-05-30 18:53:15 +08:00
..
.eslintrc.yaml Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
ActionRunStatus.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
ActivityHeatmap.vue Make the color of zero-contribution-squares in the activity heatmap more subtle (#24758) 2023-05-17 10:55:34 +00:00
ContextPopup.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
DashboardRepoList.vue Repo list improvements, fix bold helper classes (#24935) 2023-05-29 16:55:23 +08:00
DiffFileList.vue Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
DiffFileTree.vue Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
DiffFileTreeItem.vue Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
PullRequestMergeForm.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
RepoActionView.test.js Improve action log display with control chars (#23820) 2023-04-01 20:57:05 +08:00
RepoActionView.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
RepoActivityTopAuthors.vue Refactor dashboard repo list to Vue SFC (#23405) 2023-03-14 12:09:06 +08:00
RepoBranchTagSelector.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00