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
Select multiple revisions using Left Panel #8056
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8056 +/- ##
==========================================
+ Coverage 49.54% 49.56% +0.01%
==========================================
Files 846 846
Lines 60878 60895 +17
Branches 10915 10918 +3
==========================================
+ Hits 30164 30182 +18
- Misses 28488 28493 +5
+ Partials 2226 2220 -6
|
e3ee536
to
c267614
Compare
c267614
to
03da69a
Compare
- factor out local function EnsureRowVisible - call _gridView.Select() first (was omitted by too early return)
especially if triggered from left panel
03da69a
to
927b317
Compare
@msftbot merge in 8 hours |
Hello @mstv! Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:
If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you". |
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.
Seem and works OK for me, No formal review, but supporting merging
927b317 causes a regression |
Oops, fixing. |
Proposed changes
Improve revision selection Left Panel vs. RevisionGrid:
NativeTreeViewExplorerNavigationDecorator
:Use the given lambda instead of
DateTime.Now
.RevisionGridControl.InitialObjectId
after use. (Might be related to Refreshing is changing selected commit #6057.)RevisionGridControl.SetSelectedIndex
:EnsureRowVisible
_gridView.Select()
first (was omitted by too earlyreturn
from my previous PR)Ctrl
is pressed especially if triggered from left panel.Screenshots
Before
result of
Ctrl+Click
After
Test methodology
Test environment(s)
✒️ I contribute this code under The Developer Certificate of Origin.