Skip to content

cursor will cycle history view when you cursor above first item #2479

Closed

Description

@shiftkey

Description

In the history view for a repository you can loop around from the first commit to the latest fetched commit, which is a bit confusing.

Version

GitHub Desktop version: 0.8.0
OS version: Windows 10

Steps to Reproduce

  1. Add a repository with some history
  2. Switch to the history tab
  3. Select first commit
  4. Press up arrow key

Expected behavior: first commit remains selected

Actual behavior: latest fetched commit is selected

Reproduces how often: 100%

Activity

  1. added
    help wanted
    bug
    on Aug 17, 2017
  2. Greek commented on Aug 21, 2017

    @Greek

    For me, it just goes to the first commit made. 🤔 :hurtrealbad:
    How do you mean like with some history? Like, 10 commits or something?

  3. j-f1 commented on Aug 21, 2017

    @j-f1
    Contributor

    I think he means hundreds or thousands of commits.

  4. shiftkey commented on Aug 21, 2017

    @shiftkey
    MemberAuthor

    @apap04 @j-f1 the number of commits doesn't really matter here. I just think the up event when you're at the top of the list shouldn't circle back to the bottom of the list.

  5. Greek commented on Aug 21, 2017

    @Greek

    yeah, couldn’t reproduce.

  6. Greek commented on Aug 21, 2017

    @Greek

    But I’ll try again later to see if I’m wrong.

  7. iAmWillShepherd commented on Aug 25, 2017

    @iAmWillShepherd
    Contributor

    Added label future-proposal so that we are sure to discuss this further in our next sync up.

  8. added and removed
    help wanted
    bug
    on Aug 25, 2017
  9. added
    bug
    help wanted
    and removed on Oct 18, 2017
  10. removed
    help wanted
    on May 2, 2018
  11. locked as resolved and limited conversation to collaborators on Jul 17, 2018
  12. unlocked this conversation on Sep 27, 2018
  13. starlingjon commented on Feb 8, 2024

    @starlingjon

    any hope of this getting worked on? it's very confusing when scrolling through commits in chronological order (or you've selected a range of commits ending with the most recent one using shift+arrows and you hit the up arrow to deselect while keeping the most recent selected) and all of a sudden you're scrolling through commits from months ago with no quick and obvious way to get back to where you were.

    tip for anyone else who gets annoyed by this and ends up here (which i guess is probably nobody since this has been sitting for years) page up does not cycle so if you do need to get to the most recent commit holding page up is the way to go (though of course the more times you get cycled the more of the history loads and the longer it takes to get back to the top)

    edit: looks like i didn't do enough digging, there is an open issue for it: #7679

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

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions