Skip to content

Some love for our menu items - #1063

Merged
joshaber merged 16 commits into
masterfrom
create-menu-item-love
Mar 27, 2017
Merged

joshaber merged 16 commits into
masterfrom
create-menu-item-love

Conversation

@niik

@niik niik commented Mar 23, 2017 •

Copy link
Copy Markdown
Member

This PR

  • Makes Ctrl+N open the create-repo dialog (all other create options have accelerators, this should too). This matches what we currently have on Classic/Mac
  • Renames the Create Repository menu item to New Repository and sticks it right above New Branch. Again this matches Classic/Mac, makes more sense, and also provides a nice grouping with New Branch
  • Adds a dedicated menu item for cloning a repository since this is now a separate dialog as of Add an add menu #1018
  • Moves the Choose Repository item from the File-menu into the View menu where I think it fits better. This has the added bonus of making the file menu a bit more focused on creation.
  • Moves the 'Show Branches' item from the Repository menu to the View menu and renames it to View -> Branches List
  • Move the Open Working Directory to the group where other open in... items live
  • Changes the title of Open Working Directory to Open in Explorer on Windows
  • Changes the title of Open Working Directory to Open in Finder on Mac (see Menu item/shortcut for 'Open working directory' #680 (comment))
  • Changes the title of 'Open in shell' to 'Open command prompt' on Windows
  • Changes the title of 'Open in shell' to 'Open in Terminal' on Mac

id: 'open-in-shell',
click: emit('open-in-shell'),
},
{

This comment was marked as spam.

This comment was marked as spam.

@niik niik mentioned this pull request Mar 23, 2017
@joshaber joshaber self-assigned this Mar 27, 2017

@joshaber joshaber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🖲

accelerator: 'CmdOrCtrl+2',
click: emit('select-history'),
},
{

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


// Special case space because no one would be able to see it
case ' ': return 'Space'
case ',': return 'Comma'

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@joshaber

Copy link
Copy Markdown
Contributor

🌴

@joshaber
joshaber merged commit ebac822 into master Mar 27, 2017
@joshaber
joshaber deleted the create-menu-item-love branch March 27, 2017 17:41
@shiftkey shiftkey mentioned this pull request May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants