0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client
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
..
adapters Remove CSRF from client 2014-07-01 11:39:01 +02:00
assets Remove CSRF from client 2014-07-01 11:39:01 +02:00
components Check the end of notification fade-out animation 2014-07-13 15:00:25 +01:00
controllers Fix validations on user settings page 2014-07-14 18:12:57 +00:00
fixtures Merge pull request #2967 from szelpe/settings-apps 2014-06-22 09:04:14 +01:00
helpers Implements character count helper. 2014-06-23 20:02:09 +00:00
html New HTML email template 2014-07-07 22:47:34 +02:00
initializers Fix direct access to settings/user 2014-07-02 17:45:21 +02:00
mixins Fire NProgress on User, Post, and Settings save 2014-07-13 14:19:27 -06:00
models Fix validations on user settings page 2014-07-14 18:12:57 +00:00
routes Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
serializers Calls to POST API have include=tags 2014-06-28 03:13:31 -04:00
templates Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
transforms Changed ember models to use moment for dates 2014-06-05 10:30:28 -06:00
utils Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
validators Fix validations on user settings page 2014-07-14 18:12:57 +00:00
views Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
.jshintrc Removing old "user settings" screen and putting in new MU "users settings" screen and updating functional test cases. 2014-07-05 11:33:03 -04:00
app.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
router.js Removing old "user settings" screen and putting in new MU "users settings" screen and updating functional test cases. 2014-07-05 11:33:03 -04:00