Skip to content

Should be able to select email associated with merge commit #5326

Description

In github UX you can select an e-mail associated with your merge commit.

image

Unfortunately using the UX in VSCode I'm never presented with that dropdown (nor is it remembering my default for the repo as I set it on github) therefore I just merged something with the wrong e-mail for this organization.

Screenshot 2023-10-09 at 2 02 39 PM

Activity

  1. added
    bugIssue identified by VS Code Team member as probable bug
    on Oct 25, 2023
  2. modified the milestones: November 2023, on Nov 24, 2023
  3. removed this from the milestone on Dec 11, 2023
  4. added this to the milestone on Dec 11, 2023
  5. modified the milestones: , February 2024 on Jan 24, 2024
  6. alexr00 commented on Jan 31, 2024

    @alexr00
    Member

    As far as I can tell, there's no way to get all your email addresses with GitHub's API (graphQL or REST). To prevent accidentally using the wrong email though, we should show which email will be used in the UI.

  7. alexr00 commented on Jan 31, 2024

    @alexr00
    Member

    Hylke Bons (@hbons) here's what I'm adding:

    image

  8. alexr00 commented on Jan 31, 2024

    @alexr00
    Member

    Maybe it makes sense to allow free-form input for the email so that it can be set to something else if the default email from GitHub isn't what you want...

  9. added a commit that references this issue on Jan 31, 2024
    0b14862
  10. alexr00 commented on Feb 1, 2024

    @alexr00
    Member

    Using the same input-box style button as in the "Create" view to show a quick pick to chose an email:

    image

  11. 1 remaining item

  12. added a commit that references this issue on Feb 1, 2024
    acfa85c
  13. rzhao271 commented on Feb 21, 2024

    @rzhao271
    Contributor

    The UI glitches out for me for both Merge and Squash + Merge. I'm assuming there is a single option and it is my noreply email.

    Email picker is a blank square instead of a rectangle with an email in it

  14. added a commit that references this issue on Feb 22, 2024
    1cb15a4
  15. alexr00 commented on Feb 22, 2024

    @alexr00
    Member

    With #5777, if there is no default email then the "Commit will be associated with" will not show at all.

  16. added a commit that references this issue on Feb 22, 2024
    4dbc37a
  17. alexr00 commented on Feb 22, 2024

    @alexr00
    Member

    Fix is now available in pre-release.

  18. rzhao271 commented on Feb 22, 2024

    @rzhao271
    Contributor

    I have verified the no email case.

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

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions