0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/functional/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
..
app_test.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
content_test.js Setup hijacks owner user 2014-07-10 19:29:51 +02:00
editor_test.js PostSettingsMenu: Don't save new posts, reset values on failure 2014-07-02 15:29:15 -06:00
settings_test.js Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
setup_test.js Redirect setup if authenticated 2014-07-01 12:57:44 +02:00
signin_test.js Redirect signin if authenticated 2014-07-01 11:21:05 +02:00
signout_test.js Replace the old admin with the ember admin 2014-07-01 08:33:17 +01:00
signup_test.js Replace the old admin with the ember admin 2014-07-01 08:33:17 +01:00