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
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>
2 years ago
..
components Refactor diffFileInfo / DiffTreeStore (#24998) 2 years ago
features Refactor diffFileInfo / DiffTreeStore (#24998) 2 years ago
markup Fix math and mermaid rendering bugs (#24049) 2 years ago
modules Refactor diffFileInfo / DiffTreeStore (#24998) 2 years ago
render Add PDF rendering via PDFObject (#24086) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
test Improve emoji and mention matching (#24255) 2 years ago
utils Add two eslint plugins (#24776) 2 years ago
webcomponents Refactor locale number (#24134) 2 years ago
bootstrap.js Improve template system and panic recovery (#24461) 2 years ago
index.js Add PDF rendering via PDFObject (#24086) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 5 years ago
svg.js Add status indicator on main home screen for each repo (#24638) 2 years ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2 years ago
utils.js Modify luminance calculation and extract related functions into single files (#24586) 2 years ago
utils.test.js Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 2 years ago