-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Diff improvements #23553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Diff improvements #23553
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84e6e13
to
dab8208
Compare
silverwind
commented
Mar 18, 2023
silverwind
commented
Mar 18, 2023
silverwind
commented
Mar 18, 2023
delvh
reviewed
Mar 18, 2023
6b3d801
to
8a3a364
Compare
Ready again. |
There is one more bug I'll try to fix. With many files in a diff, the tree shrinks to a tiny height. Example page. I have a fix the almost works but the tree scrolls partially out of view when the page end is reached, so it's not ideal. |
Both issues fixed, they were regressions from #23570. So I'd say this is again ready for review. |
wxiaoguang
reviewed
Mar 26, 2023
wxiaoguang
reviewed
Mar 26, 2023
wxiaoguang
reviewed
Mar 26, 2023
wxiaoguang
reviewed
Mar 27, 2023
Everything resolved. |
lunny
approved these changes
Mar 28, 2023
HesterG
reviewed
Mar 29, 2023
HesterG
approved these changes
Mar 29, 2023
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Mar 31, 2023
* upstream/main: [skip ci] Updated translations via Crowdin Fix dropdown direction behavior (go-gitea#23806) Fix incorrect/Improve error handle in edit user page (go-gitea#23805) Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (go-gitea#23790) Fix incorrect visibility dropdown list in add/edit user page (go-gitea#23804) Convert issue list checkboxes to native (go-gitea#23596) Fix checks for `needs` in Actions (go-gitea#23789) Diff improvements (go-gitea#23553) [Patch] Fix closed PR also triggers Webhooks and actions (go-gitea#23782) Improve backport-locales.go (go-gitea#23807) [skip ci] Updated translations via Crowdin Refactor commit status for Actions jobs (go-gitea#23786) Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (go-gitea#23766) Don't apply the group filter when listing LDAP group membership if it is empty (go-gitea#23745)
This was referenced Apr 1, 2023
KN4CK3R
pushed a commit
that referenced
this pull request
Apr 6, 2023
Small extract from #23553 for 1.19: Before: <img width="1190" alt="Screenshot 2023-04-05 at 21 47 55" src="https://user-images.githubusercontent.com/115237/230190330-3cee8904-8558-43ea-b9d3-424d807d0b73.png"> After: <img width="1181" alt="Screenshot 2023-04-05 at 21 47 38" src="https://user-images.githubusercontent.com/115237/230190315-c1c3cae5-1bc3-4c2d-bd3d-c119fa01be82.png">
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
topic/ui
Change the appearance of the Gitea UI
type/bug
type/enhancement
An improvement of existing functionality
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
:target
also for file:target
.DiffFileTree.vue
to usetoggleElem
instead of hardcoded class name.diff-file-list
Fixes: #23593
(Yes I'm aware the border-radius in bottom corners is suboptimal, but this would be notorously hard to fix without relying on
overflow: hidden
).