Skip to content

Change wording on "Open in Atom" button #8322

Closed

Description

@adamreisnz

image

Looks like this is still an old reference hard coded to Atom, and should instead read "Open with default program".

I no longer have Atom installed, and VS Code is now my default editor, and clicking the button does open VS Code.

This is for the Mac beta version.

Activity

  1. niik commented on Sep 24, 2019

    @niik
    Member

    Possibly related to #8315, cc @kuychaco

  2. mislav commented on Sep 24, 2019

    @mislav
    Contributor

    @adamreisnz Thank you for reporting. When you say “VS Code is now my default editor”, do you mean that it's your default editor on the system level (e.g., default for opening *.js files), or that you've set it as your editor from GitHub Desktop under “Preferences…” > “Advanced”?

    There are some known issues around Desktop detecting that the availability of editors on the system has changed (being installed/uninstalled), but the setting in Preferences might help you manually choose one. One thing you could also check is whether restarting Desktop changes anything re: available editors. Thank you!

  3. adamreisnz commented on Sep 24, 2019

    @adamreisnz
    Author

    It's probably irrelevant, I was merely pointing out that the tooltip mentions "Your default editor", whereas in the button it mentions "Atom".

    To top it off, when I right click a repo, it mentions VS Code:

    image

    So it seems to me that the button where it says "Atom" it's simply hardcoded and may need to be updated.

    And yes, VS Code is my default editor in Github desktop:

    image

  4. added
    more-info-needed
    on Sep 24, 2019
  5. kuychaco commented on Sep 24, 2019

    @kuychaco
    Contributor

    Looked into this a bit while fixing #8315. It looks like we're using resolvedExternalEditor for the button copy, and we're using selectedExternalEditor when the button is clicked. Seems like resolvedExternalEditor isn't getting updated properly.

    And the more I dig into this code, the more I think it's worth considering dropping selectedExternalEditor because the two seem pretty redundant anyhow. I can't imagine a scenario where the desired state would be for these two values to differ.

    I'm going to hold off on refactoring and investigating this further until we've shipped our onboarding tutorial feature, as that's top priority right now. This incorrect button wording is certainly confusing and irksome, and I've added this issue to our backlog so that I can revisit it later.

  6. adamreisnz commented on Sep 24, 2019

    @adamreisnz
    Author
  7. added and removed
    more-info-needed
    on Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions