Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Right-click on commit not selected - actions perform on selected commit instead #406

@ADTC

Description

@ADTC

Imagine this scenario:

image

I have right-clicked (i.e. Control-click) the commit "Crop images" and the menu appears on this commit. Visually, it really looks like the menu is for this commit (with the blue border). And that's what I expect every time I use the menu.

But I'm so frustrated that the actions actually perform on the selected commit "Github CI" (shaded blue). I mean, visually it makes no sense at all.

For example, "Copy Short SHA" will copy 2c5478c instead of the expected 5ab20a3. This can be pretty dangerous when pasting these SHA into Terminal, as I often end up acting on the wrong commit (for example cherry-picking it, reverting it or rebasing onto it).

I suggest doing a fix to alter the behavior, to target the right-clicked commit instead of the selected one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions