-
-
Notifications
You must be signed in to change notification settings - Fork 964
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
Use shift + click to show vehicles' group. #7582
Conversation
fdc8217
to
f061523
Compare
I fixed a bug when the vehicle's group were a subgroup and it's branch were collapsed. And I added one more commit with a similar functionality. |
I don't like "Right click on a news items opens group list". The right mouse button has traditionally (in TTO and TTD) been reserved for panning the map, and showing tooltips/help boxes. This would go against that convention. |
@nielsmh I prefer to play this game with mouse, I use the keyboard rarely. And I wanted to make this function to be easy to access, that is why I chosen the right click. But if most of you do not like it, maybe we can try out double click instead. (Or using a separate button, putting on the left side of the title bar or somewhere else.) |
…e vehicle group window.
…ts and scrolls to the vehicle's group.
…iew window opens the vehicle group window, then selects and scrolls to the vehicle's group.
f061523
to
74edb63
Compare
I fixed a problem when assert was triggered because there were no groups. I added another commit which adds a button to the vehicle advisory news window to open the group window. This is an alternative solution to the right-click commit. So if you better like this then I can delete the other one. |
Thanks for this. Whilst I see the case for this, I think it presents a few UI problems, and there has also been no activity on the PR for a few months. We try to keep the PR count low to keep the project healthy, so I'm closing this one. Thanks for contributing! |
May I ask what kind of UI problems do you have with it? I think the first 3 commit do nothing with the UI. The 4th maybe have, but can be chosen one of the 4th and 5th to include it. And there was no activity from my part because I think it's finished and I waited for another review. |
Ok, let's re-open this :) I can't judge code quality, but I had a few comments. Key choice (UI)
Extending the behaviour (out of scope for this PR probably)
Thanks! |
So could you re-open this one or should I open a new PR?
Yes, that the reason I originally chose 'shift' instead of 'control'. But now I changed it to 'control'.
It can be done easily. |
I can't re-open, don't know why. I'll ask. |
GH refuses to reopen, I'm afraid - "The shitf-click-group branch was force-pushed or recreated.". You'll need to create a new PR |
Then I open a new PR. |
AFAIK currently if we would like to do something with the vehicles in a vehicle's group, we have to find the vehicle in the vehicle group window to see the group's name it belongs to. Than we have to find that group in the list and select it, and just after that can we use the manage list functions. I think this is a little bit circumstantial.
This PR tries to make that process easier. We can use shift + click in the vehicle group and in the vehicle view window to select the vehicle's group.