You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove ellipses from "Discard Changes…" based on setting #4846
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
Uncheck the "Show confirmation dialog before discarding changes" advanced setting
Right-click on a change in the "Changes" tab of a repository
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.
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
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
@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...
Activity
[-]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[/+][-]Remove ellipses from "Discard Changes…" and show prompt for "Discard All Changes…" contextual menu items[/-][+]Remove ellipses from "Discard Changes…" based on setting[/+]shiftkey commentedon Jun 1, 2018
@zackkatz thanks for the feedback - this is an excellent pick-up.
I'm going to mark this as
help wantedas 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...