Skip to content
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

Left Panel: Jump between tracked branches #9194

Closed
mstv opened this issue May 10, 2021 · 7 comments · Fixed by #10083
Closed

Left Panel: Jump between tracked branches #9194

mstv opened this issue May 10, 2021 · 7 comments · Fixed by #10083

Comments

@mstv
Copy link
Member

mstv commented May 10, 2021

Current behaviour

It is hard to select the remote or local branch if they have diverged too much. Only ahead/behind information is displayed.

Expected behaviour

Alt+Click in the Left Panel should select the other branch of a tracking pair both in the Left Panel and in the Revision Grid.
This should also work in combination with the Ctrl modifier.
Perhaps a context menu item could be added for easier discoverability (as already suggested in another issue).

Though different operations for these click with modifier key(s) were discussed in #8441.
I think toggling local / remove branch is more important than filtering / highlighting. Highlighting could be activated more naturally by clicking the Graph: #5782 (comment). (The LaneInfo class has already been added.)

@RussKie
Copy link
Member

RussKie commented May 13, 2021

I think toggling local / remove branch is more important than filtering / highlighting.

I disagree on this one. I rarely care about a tracking remote, and if needed I can find it in the left panel. In my everyday life branch highlighting is by miles significantly more important to me.

@gerhardol
Copy link
Member

I would like to see this

To rebase on upstream master, you have to find that in the left panel, I normally have the local repo expanded

@RussKie
Copy link
Member

RussKie commented May 13, 2021 via email

@mstv
Copy link
Member Author

mstv commented May 13, 2021

if needed I can find it in the left panel.

Yes, it is possible but not really usable.
Regarding branch highlighting, have a look at #5782 (comment), please.

mstv added a commit to mstv/gitextensions that referenced this issue Jun 15, 2021
@mstv
Copy link
Member Author

mstv commented Jun 15, 2021

Draft of main feature implemented in private branch https://github.com/mstv/gitextensions/tree/feature/9194_alt_branch d5057c3

mstv added a commit to mstv/gitextensions that referenced this issue Jun 20, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Jul 3, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Jul 11, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Jul 31, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Aug 9, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Sep 26, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Oct 6, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Oct 10, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Oct 14, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Oct 26, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Oct 26, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Dec 8, 2021
mstv added a commit to mstv/gitextensions that referenced this issue Jan 17, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Jan 20, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Jan 28, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Jan 30, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Feb 8, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Feb 15, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Feb 21, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Feb 22, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Feb 27, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Mar 4, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Mar 13, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Mar 16, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Mar 20, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Mar 28, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Apr 1, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Apr 3, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Apr 3, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Apr 6, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Apr 15, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Apr 17, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Apr 18, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Apr 19, 2022
mstv added a commit to mstv/gitextensions that referenced this issue May 1, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Jun 1, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Jun 5, 2022
gerhardol pushed a commit to gerhardol/gitextensions that referenced this issue Jun 6, 2022
mstv added a commit to mstv/gitextensions that referenced this issue Jul 17, 2022
@ghost ghost added the 🚧 status: in progress Issues which have associated PRs label Jul 24, 2022
@gerhardol
Copy link
Member

PR for Alt-Click in side panel.
Separate behavior could be adapted in RevGrid, to toggle highlight, like in 54ee705

@ghost ghost removed the 🚧 status: in progress Issues which have associated PRs label Jul 28, 2022
@gerhardol
Copy link
Member

As implemented, no context menu was added.
Also, I would like to have some way to start selecting from the grid. If selecting in the grid, expand in side panel (first branch only). Is hotkey needed?

(This would also give a way to find the mergebase, and if there were a configuration of a favorite "master" branch, It could be added too.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants