Skip to content

Remove ellipses from "Discard Changes…" based on setting #4846

Closed

Description

@zackkatz

Description

On the Mac, when contextual menu items have ellipses ("…"), that means there is going to be a dialog before any action is performed.

From the Human Interface Guidelines for macOS Apps:

Use an ellipsis whenever choosing a menu item requires additional input from the user. The ellipsis character (…) means a dialog or separate window will open and prompt the user for more information or to make a choice.

To be consistent with macOS, the "Discard Changes…" menu item should be renamed to "Discard Changes".

Version

  • GitHub Desktop: 1.2.2
  • Operating system: macOS 10.13.4

Steps to Reproduce

  1. Uncheck the "Show confirmation dialog before discarding changes" advanced setting
  2. Right-click on a change in the "Changes" tab of a repository
  3. See "Discard Changes…"

Expected Behavior

When the "Show confirmation dialog before discarding changes" advanced setting is enabled, I expected to see "Discard Changes…". When the setting is disabled, I expect to see "Discard Changes".

Actual Behavior

It is labeled "Discard Changes…" regardless of setting.

Activity

  1. changed the title [-]Remove ellipses from "Discard All Changes…" and "Discard Changes…" contextual menu items[/-] [+]Remove ellipses from "Discard Changes…" and show prompt for "Discard All Changes…" contextual menu items[/+] on Jun 1, 2018
  2. changed the title [-]Remove ellipses from "Discard Changes…" and show prompt for "Discard All Changes…" contextual menu items[/-] [+]Remove ellipses from "Discard Changes…" based on setting[/+] on Jun 1, 2018
  3. added
    help wanted
    on Jun 1, 2018
  4. shiftkey commented on Jun 1, 2018

    @shiftkey
    Member

    @zackkatz thanks for the feedback - this is an excellent pick-up.

    I'm going to mark this as help wanted as I think this is a great chance for someone to contribute the fix to look at the setting value and format the context menu label accordingly...

  5. locked as resolved and limited conversation to collaborators on Aug 4, 2018
  6. 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

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions