Skip to content

Unable to set Co-Author in 1.2.2 #4847

Closed

Description

@thinkyhead

Description

The Co-Author field no longer searches Github or allows setting a Co-Author.

Version

  • GitHub Desktop:
    1.2.2
  • Operating system:
    macOS 10.13.4

Steps to Reproduce

  1. Click Add Co-Authors to show the Co-Authors field
  2. Enter the name of a GitHub account
  3. Press return

Expected Behavior

The account should be validated and accepted

Actual Behavior

There is no response. The account is not validated, and no Co-Author is added.

Additional Information

n/a

Logs

n/a

Activity

  1. shiftkey commented on Jun 1, 2018

    @shiftkey
    Member

    @thinkyhead can you open the dev tools and confirm you see error messages like this?

  2. added
    bug
    on Jun 1, 2018
  3. thinkyhead commented on Jun 1, 2018

    @thinkyhead
    Author

    Yes, indeed, I do!

  4. shiftkey commented on Jun 1, 2018

    @shiftkey
    Member

    Looks like the Webpack 4 migration is generating some interesting markup around the onAutocompleteUser callback that Codemirror invokes when bundling:

                this.onAutocompleteUser = (async(e,t,n)=>{
                    const r = e.getDoc()
                      , i = r.getCursor()
                      , {from:o,to:s} = {
                        from: g(r = r, i = i, f, d),
                        to: g(r, i, f, p)
                    }

    Looks like the const r = e.getDoc() and subsequent from: g(r = r, i = i, f, d) is causing Chrome to (correctly) warn about reassigning r and i.

  5. self-assigned this
    on Jun 1, 2018
  6. johnhobbs72 commented on Jun 10, 2018

    @johnhobbs72

    #4817

    • [ ]
  7. locked as resolved and limited conversation to collaborators on Aug 9, 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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions