-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
FileStatusList updates #11472
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
FileStatusList updates #11472
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have not reviewed the actual code yet
The gap between Clear
and the first group can be very long.
Hence we should rather create a [View]Model or the like and fill it in the background.
The ready-loaded groups can be announced to the UI in single steps.
This will also ease the planned switch to TreeView later and enable a safer implementation of "find in files of diff".
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
I could not decide what to do about this, so I let it rest for some weeks (while working on Git coloring).
Hopefully this PR can be merged soon at least.
Loading is moved below the combo boxes, replacing the list of files as it is now and as asked for in the previous comment #11472 (comment). (I had no good enough motivation to change the behaviour.) For git-grep I plan to move the search commit to the top, then filter box can be shown if a search is active and NoFiles shown by default if no files in the commit (and no search). This should work with popup to search too. |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This comment was marked as resolved.
This comment was marked as resolved.
That is why the test fails. Did not find the issue yesterday. |
f9bf65e
to
e95f992
Compare
Finally got to fix the issues, preparing for #11472 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me
0456cb2
to
6a26cfa
Compare
Both issues could be handled in follow-ups: Resize on hiding the "docked" Process History Panel matters: Wrong diff for split file although the last "git diff" commands seems to be appropriate at first glance (
|
Cannot reproduce this, so dropping for now
This is not related to this PR but to the not yet created git-coloring changes.
This is a bug in Git. It seems like this is caused by |
CancellationToken for diff calculation not only when RevDiff updates. Simplify internal handling with FilterVisible etc Removed property for FilterVisible as it was always true, used in all lists. Set property GroupByRevision to true only where needed Adjust paddings for labels Designer changes
569c46d
to
4f94cb6
Compare
Squashed with updates in commit message only. The "wrong diff" is fixed in branch tmp/git-coloring |
Proposed changes
CancellationToken for diff calculation not only when
RevDiff updates.
Simplify internal handling with FilterVisible etc
Removed property for FilterVisible as it was always true, used in all lists.
Set property GroupByRevision to true only where needed
Revised taborder, tab to Filter box before list
(other sub controls are not tab enabled).
--
FileStatusList: Delay FileLoading label
Label appears as flickering.
Just clear the FileStatusList while calculating the data.This is not required, but in most situations the FilesLoading... label is very quick, appears as flickering.The change is in a separate commit, to simplify rejection.The first commit hides the Filter Combobox too, maybe better to keep it visible if the FilesLoading label is kept--
#11350 will require this change
Screenshots
In Linux repo
First two selected commits are f8678a336808f728ea2e0806cfc10362958ca4e5 7beae48301f7ca214939e522051007b9b4daf178
Slower than almost all GE commits, but much faster than third selection 51af5563423c6e8537da8b6bd485b46c2b0d6492 (even if that has a small diff)
Before
After
Test methodology
Tests are updated
Merge strategy
I agree that the maintainer squash merge this PR (if the commit message is clear).
✒️ I contribute this code under The Developer Certificate of Origin.