0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/views
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 Reach Editor parity with Ember 2014-06-13 18:12:03 -04:00
settings Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
application.js Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
content-list-content-view.js Add shadows to PostsListView and the adjacent HTML Preview; Fix preview render 2014-06-08 12:53:54 -04:00
content-preview-content-view.js Add shadows to PostsListView and the adjacent HTML Preview; Fix preview render 2014-06-08 12:53:54 -04:00
editor-save-button.js Make exports consitent. 2014-06-09 13:58:35 -04:00
item-view.js Make exports consitent. 2014-06-09 13:58:35 -04:00
post-item-view.js Better editor entry 2014-06-23 10:15:06 -06:00
post-settings-menu-view.js Added popover component 2014-05-31 17:23:41 -06:00
post-tags-input.js Fixes incomplete tags showing when switching to edit a different post 2014-06-24 15:09:11 +02:00
posts.js Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00
settings.js Refactor settings routing and mobile interactions 2014-07-14 17:36:48 -06:00