Skip to content

Base branch missing from PR view #3808

Closed

Description

@matschaffer

Version: 20.12.9

Perhaps the is a feature, but I was pretty sure the merge destination used to show up. Now it doesn't. Or maybe doesn't when it's the main branch of the parent repo?

Anyway, it confused a few of us this morning so thought it'd be good to open a bug.

Safecast/safecastapi#743

With extension on:

Screen_Shot_2020-12-10_at_0_15_34

With extension off:

Screen_Shot_2020-12-10_at_0_15_42

Activity

  1. busches commented on Dec 10, 2020

    @busches
    Member

    Correct, it doesn't show when you're merging to the default branch.

  2. fregante commented on Dec 10, 2020

    @fregante
    Member

    Refer to #3089

  3. asmeurer commented on Feb 10, 2021

    @asmeurer

    Is there a way to disable this? I searched the options list and didn't find anything, but there are a lot of options, so I may have missed it.

  4. asmeurer commented on Feb 10, 2021

    @asmeurer

    Found it, it's "clean up conversation headers". I wouldn't mind the other changes so much, but hiding the default branch is confusing and isn't actually duplicated information.

  5. philonor commented on Mar 3, 2021

    @philonor

    @fregante You seem to mention issues where this behavior poses a problem/confusion within the original issue. I think this feature is fine except for hiding the base branch name. The base branch name is important when operating in different repositories with different base branches/git workflows. Maybe we could split this into two features:

    1. clean up conversation headers
    2. hide base branch name from pr headers
  6. fregante commented on Mar 3, 2021

    @fregante
    Member

    Since the default would still mean hiding both, from the extension’s point of view it’s easier to just hide them both at once.

    The base branch name is important when operating in different repositories with different base branches/git workflows

    Question: How do you use this piece of information?

  7. asmeurer commented on Mar 3, 2021

    @asmeurer

    Personally I just found that fact that "no branch means default branch" confusing. It's clearer to always show it. Another thing is that the default branch isn't necessarily obvious if you aren't familiar with the repo, especially given that many repos are now changing their default branch name from master to main. Finally, it's a symmetry break to hide the information in some cases. My eyes look to a particular part of the screen to find the branch information, and when it's not there, it makes it harder to figure out what is going on (I have to stop and carefully reread what everything says).

  8. yakov116 commented on Mar 3, 2021

    @yakov116
    Member

    My eyes look to a particular part of the screen to find the branch information, and when it's not there, it makes it harder to figure out what is going on (I have to stop and carefully reread what everything says).

    Took me some time to get used to this too.

  9. added
    small
    and removed on Mar 3, 2021
  10. fregante commented on Mar 11, 2021

    @fregante
    Member

    PR welcome to restore it

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedchange requestsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions