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/templates/repo/diff
silverwind 50099d7af4
Various improvements for long file and commit names (#30374)
Fixes: https://github.com/go-gitea/gitea/issues/29438

This contains numerous enhancements for how large commit messages and
large filenames render. Another notable change is that the file path is
no longer cut off by backend at 30 chars, but rendered in full with
wrapping.

<img width="1329" alt="Screenshot 2024-04-09 at 21 53 57"
src="https://github.com/go-gitea/gitea/assets/115237/5ccbb3d6-643a-4f60-ba79-3572b36d5182">
<hr>
<img width="711" alt="Screenshot 2024-04-09 at 21 44 24"
src="https://github.com/go-gitea/gitea/assets/115237/6ffe8fbb-407c-4aa7-b591-3d80daea7d57">
<hr>
<img width="439" alt="Screenshot 2024-04-09 at 21 19 03"
src="https://github.com/go-gitea/gitea/assets/115237/1ec7f6e9-2fd8-4841-87eb-6ca02ab9cd61">
<hr>
<img width="444" alt="Screenshot 2024-04-09 at 21 18 52"
src="https://github.com/go-gitea/gitea/assets/115237/70931b9e-5841-477e-b3bc-98f8d2662964">

---------

Co-authored-by: Giteabot <teabot@gitea.io>
10 months ago
..
blob_excerpt.tmpl Migrate font-family to tailwind (#30118) 10 months ago
box.tmpl Various improvements for long file and commit names (#30374) 10 months ago
comment_form.tmpl Add svg linter and fix incorrect svgs (#30086) 10 months ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
compare.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
conversation.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
conversation_outdated.tmpl Improve user experience for outdated comments (#29050) 12 months ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl cleanup locale function usage (#27227) 1 year ago
image_diff.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 4 years ago
new_review.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
options_dropdown.tmpl Replace more `gt-` with `tw-`, update frontend docs (#29595) 11 months ago
section_code.tmpl Add template linting via djlint (#25212) 2 years ago
section_split.tmpl Migrate font-family to tailwind (#30118) 10 months ago
section_unified.tmpl Migrate font-family to tailwind (#30118) 10 months ago
stats.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
whitespace_dropdown.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago