1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00
gitea/web_src/js/features
a1012112796 c4b2808b89
make show stats work when only one file changed (#32244)
fix https://github.com/go-gitea/gitea/issues/32226

in https://github.com/go-gitea/gitea/pull/27775 , it do some changes to
only show diff file tree when more than one file changed. But looks it
also break the `diff-file-list` logic, which looks not expected change.
so try fix it.

/cc @silverwind 

example view:

![image](https://github.com/user-attachments/assets/281e9c4f-a269-4d36-94eb-a132058aea87)

Signed-off-by: a1012112796 <1012112796@qq.com>
2024-10-14 21:23:20 +00:00
..
admin Move admin routers from /admin to /-/admin (#32189) 2024-10-10 04:56:49 +00:00
comp Improve textarea paste (#31948) 2024-09-01 15:15:29 +00:00
autofocus-end.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
captcha.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
citation.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
clipboard.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
code-frequency.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
codeeditor.ts Code editor theme enhancements (#31629) 2024-07-14 23:22:48 +00:00
colorpicker.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-button.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-fetch-action.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-form.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-issue-list.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-issue-list.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-organization.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-page.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
contextpopup.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
contributors.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
copycontent.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
dropzone.ts Add types to various low-level functions (#31781) 2024-08-10 09:46:48 +00:00
emoji.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
eventsource.sharedworker.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
file-fold.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
heatmap.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
imagediff.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
install.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
notification.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
oauth2-settings.ts add skip secondary authorization option for public oauth2 clients (#31454) 2024-07-19 14:28:30 -04:00
org-team.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
pull-view-file.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
recent-commits.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-branch.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-code.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-code.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-commit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-common.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-diff-commit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-diff-commitselect.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-diff-filetree.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-diff.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-editor.ts Notify the user when the file path contains leading or trailing spaces and fix the error message for invalid file names. (#31507) 2024-09-24 19:06:52 +00:00
repo-findfile.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-findfile.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-graph.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-home.ts Add null check for responseData.invalidTopics (#32212) 2024-10-09 01:27:05 +08:00
repo-issue-content.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-issue-edit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-issue-list.ts Add types to various low-level functions (#31781) 2024-08-10 09:46:48 +00:00
repo-issue-pr-form.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-issue-pr-status.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-issue.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-legacy.ts Actions support workflow dispatch event (#28163) 2024-08-18 22:38:40 -04:00
repo-migrate.ts Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
repo-migration.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-projects.ts Add types to various low-level functions (#31781) 2024-08-10 09:46:48 +00:00
repo-release.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-search.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-settings.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-template.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-unicode-escape.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-wiki.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
scoped-access-token.ts fix the component of access token list not mounted (#31824) 2024-08-16 17:37:36 +00:00
sshkey-helper.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
stopwatch.ts Add types to various low-level functions (#31781) 2024-08-10 09:46:48 +00:00
tablesort.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
tribute.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
user-auth-webauthn.ts Run detectWebAuthnSupport only if necessary (#31691) 2024-07-25 23:26:41 +00:00
user-auth.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
user-settings.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00