0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/routes
Matt Enlow 153f76aa7c Refactor settings routing and mobile interactions
Closes #3254, closes #3138, closes #3245
 ### Settings Routing and View refactoring
- Refactored `SettingsView` to handle transitions between mobile and desktop layouts
- `SettingsRoute` will only transition to `settings.general` if the screen is large enough to show both the menu and the content
- Added `SettingsIndexView` to handle showing the settings menu on mobile screens
- Added `SettingsContentBaseView` to be inherited by any settings view that is not index.
- Updated Settings templates appropriately to work with new views
- Removed extraneous `active` class from `settings-content`
- Changed settings menu to use `gh-activating-list-item`
- Retooled settings tests

 ### Mobile Utils
- Renamed file to `mobile.js`, since it's inside of `utils/`
- Added `mobileQuery` MediaQueryList to help detect layout changes
- Removed unused `hasTouchScreen`, `device.js` should be used instead.
- Removed unused `smallScreen` function
- Moved FastClickInit to codemirror-mobile
2014-07-14 17:36:48 -06:00
..
editor Fix up route parameter validation 2014-07-02 14:13:07 +00:00
posts Fix up route parameter validation 2014-07-02 14:13:07 +00:00
settings Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
application.js Fix mobile sidebar menu 2014-07-07 08:55:22 -06:00
content.js
debug.js oAuth 2014-06-30 14:58:10 +02:00
error404.js Add error template, route and controller 2014-06-24 23:33:02 +01:00
forgotten.js Re-implementing the loading indicator for the Ember admin 2014-06-23 10:01:33 -04:00
posts.js oAuth 2014-06-30 14:58:10 +02:00
reset.js Re-implementing the loading indicator for the Ember admin 2014-06-23 10:01:33 -04:00
settings.js oAuth 2014-06-30 14:58:10 +02:00
setup.js Redirect setup if authenticated 2014-07-01 12:57:44 +02:00
signin.js Redirect signin if authenticated 2014-07-01 11:21:05 +02:00
signout.js oAuth 2014-06-30 14:58:10 +02:00
signup.js Allow user to accept invitation 2014-07-03 17:06:07 +02:00