0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-18 02:40:15 +01:00
forgejo/web_src
wxiaoguang ee99cf6313
Refactor diffFileInfo / DiffTreeStore ()
Follow  , 

Replace , fix 

Help 

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
..
css Rework button coloring, add focus and active colors () 2023-05-29 12:45:22 +00:00
fomantic Replace Fomantic reset module with our own () 2023-05-28 18:04:35 +00:00
js Refactor diffFileInfo / DiffTreeStore () 2023-05-30 18:53:15 +08:00
svg Add CRAN package registry () 2023-05-22 10:57:49 +08:00