-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Dashboard category context menu #5434
Dashboard category context menu #5434
Conversation
Please rebase |
rebase done |
Works well, nice work. Few things need further tuning though:
|
Codecov Report
@@ Coverage Diff @@
## master #5434 +/- ##
=========================================
Coverage ? 35.28%
=========================================
Files ? 606
Lines ? 46222
Branches ? 6304
=========================================
Hits ? 16310
Misses ? 29162
Partials ? 750 |
Done.
|
This made me laugh 👍 |
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.
I didn't realise this change would be so elaborate with p/invokes.
Well done, works well 👍
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Outdated
Show resolved
Hide resolved
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Outdated
Show resolved
Hide resolved
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Outdated
Show resolved
Hide resolved
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Show resolved
Hide resolved
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Outdated
Show resolved
Hide resolved
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Outdated
Show resolved
Hide resolved
GitUI/CommandsDialogs/BrowseDialog/DashboardControl/UserRepositoriesList.cs
Outdated
Show resolved
Hide resolved
Personally I avoid shadowing existing members, if possible. Though it is
not a hard and fast rule...
Will it render the designer unusable?
…On Fri, Sep 21, 2018, 7:50 PM NikolayHD ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In GitUI/UserControls/ExListView.cs
<#5434 (comment)>
:
> }
+ /// <summary>
+ /// Position in <see cref="ListView.Groups"/> collection after
+ /// the technical "Default" group (if present) or 0
+ /// </summary>
+ public int MinGroupInsertionIndex { get; private set; } = 0;
I wanted to do it completely incapsulated from the very beginnig. And
additionally, I wanted to hide Groups collection by a new member with the
same name. It would delegate calls to actual Groups collection and handle
the workaround.
What stopped me was the fact that it would break using ExListVIew.Groups
collection in .designer.cs files, where some groups are added for the
sake of visual assistance in design-time.
Do you think we can sacrifice these usages?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5434 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMyXh5mTtsXB2pboff9c2dypQOO9Zlhks5udLZTgaJpZM4WqX7x>
.
|
Now that you asked, I don't see shadowing as such a great idea anymore, even if designer keeps working. Your suggestion on adding 2 methods |
Awesome job! Thank you |
Fixes #4947
Fixes #4948
Depends on #5428
Screenshots
Tested on Windows 7