Skip to content

Confusing error message displayed after selecting "Compare to Branch" menu item when there are no branches to compare #4730

Closed

Description

@iAmWillShepherd

Clicking Branch -> Compare to Branch takes you to the compare tab, but if there are no branches, you get a message stating the branch can't be found.

I expected to see the history list if there are no branches to compare.

2018-05-17 23 31 08

This is more example why we should show the history list: if you click anywhere, it takes you back to the history list which is confusing.
2018-05-17 23 34 59

Activity

  1. modified the milestones: 1.2.0, 1.2.1 on May 18, 2018
  2. nerdneha commented on May 19, 2018

    @nerdneha
    Contributor

    I definitely agree that the Sorry, I can't find that branch message is confusing when you're trying to Compare to branch but I feel like if we showed the full history, it would still be confusing. Like I'd feel like it didn't listen to my request to compare, you know?

    I think maybe what would be better is that we display the proper error message, something like Sorry, there are no branches to compare to. See [full history](link) or [make a new branch](link) or something.

    It's also super weird that if you click anywhere after you get in that state that it takes you to full history. I tested it and I think that's an independent bug that happens whenever you type something that it can't match a branch on. I wonder if we should split these into two bugs....

    I'm 👍 on waiting for 1.2.1 to fix this. @donokuda curious if you have any thoughts

  3. added
    bug
    on May 20, 2018
  4. iAmWillShepherd commented on May 20, 2018

    @iAmWillShepherd
    ContributorAuthor

    I think maybe what would be better is that we display the proper error message, something like Sorry, there are no branches to compare to. See full history or make a new branch or something.

    I 👍 on this, but I think we can sit on this until we get the right UI in place for the compare branch feature. IMO, this may be a non-issue once we move away from the current design.

  5. changed the title [-]Confusing error message when selecting Compare to Branch when there are no branches to compare[/-] [+]Confusing error message displayed after selecting "Compare to Branch" menu item when there are no branches to compare[/+] on May 20, 2018
  6. self-assigned this
    on Jun 15, 2018
  7. locked as resolved and limited conversation to collaborators on Aug 15, 2018
  8. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions