Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds 'save' shortcut to settings screens #4438

Merged
merged 1 commit into from
Nov 13, 2014
Merged

Conversation

naz
Copy link
Contributor

@naz naz commented Nov 12, 2014

closes #4414

  • adds ctrl/cmd+s shortcuts to settings/general screen
  • adds ctrl/cmd+s shortcuts to settings/user/xx screen
  • extracts ctrlOrCmd variable to separate module for reuse

@novaugust
Copy link
Contributor

This is looking good. I've got one request - would you move the two tiny shortcuts creation code into their respective route? The editor route only has its own shortcuts file because it's huge, but for smaller code like that it'll be easier if everything's in one place.

closes TryGhost#4414
- adds `ctrl/cmd+s` shortcuts to `settings/general` screen
- adds `ctrl/cmd+s` shortcuts to `settings/user/xx` screen
- extracts `ctrlOrCmd` variable to separate module for reuse
@naz
Copy link
Contributor Author

naz commented Nov 13, 2014

Updated with proposed improvements 😏

@novaugust
Copy link
Contributor

👍

novaugust added a commit that referenced this pull request Nov 13, 2014
Adds 'save' shortcut to settings screens
@novaugust novaugust merged commit 68b93cf into TryGhost:master Nov 13, 2014
@naz naz deleted the 4414 branch November 20, 2014 21:11
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.

Add "save" shortcut to settings screens
2 participants