-
-
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
Improve Recent repositories settings form #3769
Improve Recent repositories settings form #3769
Conversation
There is a last thing that I want to change but I want your point of view first... I never really understood that notion of "Most recent repositories" and "Less recent repositories" because that's not compatible with fact that the user could modify these lists. Shouldn't we call them something like "Preferred recent repositories" and "Other recent repositories"? |
I would not do that automatically, you can add a button to trigger this action. The reason is that people can keep their repos on removal devices or subst drives. Maybe the candidates for removal should be printed in red. |
Hard to say as the first group is an union of preferred repos and most recent repos. |
1bddc57
to
1e5836d
Compare
Genuinely interested why? There are so many dialogs and forms, yet I can't really see any pattern in how they have their buttons.
Agree with @jbialobr, for the same reason I display warning icons on my dashboard PR
What is an 'anchor' and how it is get used? And how do you anchor it?
The intent is good but I find the execution uninspiring, sorry. The buttons just don't belong in that spot. |
WRT: most/less recent repositories Then the whole UI becomes simpler - in this form as well as in the dashboard, as well as a lot of code can be put to rest - reducing the tech debt and maintenance burden. |
And one more thing - please squash it before merging in. |
done.
I don't really get it but I won't touch it....
Because that's the Windows guidline. And yes, that should be fixed on other forms to be consistent....
@RussKie Fixed, even before you post your very sympathic message...
I thought about that but it's a little harder to do and because I didn't found a statisfying icon and I'm not a designer, I decided not to go with that and that my improvement will be enough for the few case this form should be used. Everyone made efforts to improve things... but I'm waiting for your PR.
I tried also but it should require to redesign most of the form what I'm not enough confident to do. But I wait for your contribution, too....
Indeed, critics are easy....
That is already done...
No, good idea, I could do it.
I don't have the pretension to question choices that have been made. I just tried to improve the bad experience I felt each time I used this form (I didn't remember each time that there is a contextual menu, what is anchor, ....). This is my simple contribution to make it more understandable.
No, I don't think so. Each commit is an improvement on it's own and I highly prefer that history merged instead of a big commit. But the maintainer/merger will choose what he prefers now that it is easy to do thanks to github.... |
Agree, as long as the commit is logic. |
I don't like when items in the menu constantly change theirs position.
I think this menu should share the same display logic as the dashboard proposed in #3693. |
I reacted with thumb up to the @EbenZhang comment, but I want to state it explicitly: |
I was going to suggest the same. |
This is great!
...And this isn't great.
Unless I am misreading it, you expect me to come and fix things after you? I find it bewildering...
There is a distinction between "criticism" and "feedback". The former is to say something is bad, the latter is to say something isn't right and suggest a possible alternative. No need to feel defensive when there is feedback. UIs are hard, and sometimes they take a lot of effort and iterations to get right, for them to feel natural, easy to use and look appeasing. |
The repo which you're currently working with will be at the top... But that was a random idea anyway not a formed proposal.
Totally! Are you/we open to reconsidering the current implementations? What is an 'anchor' and what does it get used for anyway? |
I would like to. I think that repository dropdown could be populated with repositories grouped in categories - the same categories as on dashboard, with uncategorised including and preserving the order of categories and repos set for the dashboard. For me the most recent repos group acts as a 'favorites' category with a constant set of pinned repos. An anchor is used to pin a repo to most/less recent repositories group. |
@@ -62,6 +65,8 @@ private void SetShorteningStrategy(string strategy) | |||
throw new Exception("Unhandled shortening strategy: " + strategy); | |||
} | |||
|
|||
private static Font AnchorFont = new Font(new ListViewItem().Font, FontStyle.Bold); |
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.
Can you make it non-static and derive from the actual list font? Is it a performance optimization?
1e5836d
to
77d42fa
Compare
This is an old PR and should be closed or set to a draft. @RussKie |
77d42fa
to
f56a86c
Compare
247c656
to
9f44117
Compare
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 30 days. It will be closed if no further activity occurs. |
75c174f
to
2b7d269
Compare
2b7d269
to
145fc4e
Compare
@pmiossec rebase this on master or target 4.1? I do not want to delay 4.1 any more... |
👍 |
I have removed all the commits that raised the discussion to keep only the little improvement that makes using this form a little more easier. The code is finished and the branch is in good state but I had to go and didn't had the time to update the PR. I will do tomorrow morning... After that, you will whatever you want with it hoping it won't delay the release... |
29515dc
to
004a776
Compare
when: - destination list was initially empty - changing shortening strategy
I don't see a good reason to display the separator only when a one of the list is sorted.
004a776
to
432e5a7
Compare
by jumping directly to values that has an effects i.e 0 to 30 (values between 1 and 30 will have the same effect than 30) Prevent the user to have to click 30 times on a up or down buttons to see an effect.
ff2b1df
to
92a1d0e
Compare
Configure repositories popup:
Repositories list:
Before:
After: