1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-05 04:15:07 -04:00
gitea/templates/repo/diff
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
..
blob_excerpt.tmpl Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
box.tmpl Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
comment_form_datahandler.tmpl
comment_form.tmpl
comments.tmpl Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
compare.tmpl Remove fluid on compare diff page (#24627) 2023-05-10 08:46:17 +00:00
conversation.tmpl Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
new_comment.tmpl
new_review.tmpl Add markdown preview to Submit Review Textarea (#24672) 2023-05-12 10:53:41 +00:00
options_dropdown.tmpl
section_code.tmpl
section_split.tmpl Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
section_unified.tmpl Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
stats.tmpl
whitespace_dropdown.tmpl