mirror of https://github.com/go-gitea/gitea.git
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.
Modify Diff View FileTree to show all files ## Changes * removes Show Status button on diff * uses `git diff-tree` to generate the file tree for the diff * doesn't reload the diff tree each time we load more files in the preview * selecting and unloaded file will keep loading until that file is loaded * removes `DiffFileList.vue` and "Show Stats" in diff options ## Open Questions * selecting and unloaded file will keep loading until that file is loaded. Is this behaviour okay? It matches what github does. ### Demo In this demo I set `git.MAX_GIT_DIFF_FILES=1` in my `app.ini` to demonstrate a worst case example. In most cases the behaviour isn't nearly as jarring as we load a bunch of files at a time. https://github.com/user-attachments/assets/72f29663-d6fc-472d-94fa-7fb5950c2836 --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
2 weeks ago | |
---|---|---|
.. | ||
actions | 2 months ago | |
branch | 2 months ago | |
cite | 1 year ago | |
code | 2 months ago | |
diff | 2 weeks ago | |
editor | 1 month ago | |
find | 3 months ago | |
graph | 3 months ago | |
issue | 2 weeks ago | |
migrate | 2 months ago | |
projects | 4 months ago | |
pulls | 2 months ago | |
release | 2 months ago | |
settings | 1 month ago | |
tag | 4 months ago | |
wiki | 2 months ago | |
activity.tmpl | 1 year ago | |
blame.tmpl | 2 months ago | |
branch_dropdown.tmpl | 2 months ago | |
clone_buttons.tmpl | 3 months ago | |
clone_panel.tmpl | 2 weeks ago | |
code_frequency.tmpl | 11 months ago | |
commit_load_branches_and_tags.tmpl | 12 months ago | |
commit_page.tmpl | 2 months ago | |
commit_sign_badge.tmpl | 2 months ago | |
commit_status.tmpl | ||
commit_statuses.tmpl | 3 months ago | |
commits.tmpl | 2 months ago | |
commits_list.tmpl | 3 months ago | |
commits_list_small.tmpl | 3 months ago | |
commits_search_dropdown.tmpl | 1 year ago | |
commits_table.tmpl | 2 months ago | |
contributors.tmpl | 3 months ago | |
create.tmpl | 2 months ago | |
create_helper.tmpl | 1 year ago | |
empty.tmpl | 2 months ago | |
file_info.tmpl | 9 months ago | |
forks.tmpl | 4 months ago | |
graph.tmpl | 12 months ago | |
header.tmpl | 1 month ago | |
home.tmpl | 2 months ago | |
home_sidebar_bottom.tmpl | 3 months ago | |
home_sidebar_top.tmpl | 2 months ago | |
icon.tmpl | 12 months ago | |
latest_commit.tmpl | 3 months ago | |
navbar.tmpl | 1 year ago | |
packages.tmpl | ||
pulse.tmpl | 2 months ago | |
recent_commits.tmpl | 11 months ago | |
release_tag_header.tmpl | 2 months ago | |
search.tmpl | 1 year ago | |
search_name.tmpl | ||
star_unstar.tmpl | 9 months ago | |
sub_menu.tmpl | 2 months ago | |
unicode_escape_prompt.tmpl | 1 year ago | |
upload.tmpl | ||
user_cards.tmpl | 4 months ago | |
view_file.tmpl | 2 months ago | |
view_list.tmpl | 2 months ago | |
watch_unwatch.tmpl | 11 months ago | |
watchers.tmpl |