Ghost/core/client/tests/integration/components
Matthew Beale 402b27c7e9 Unify mobile state in JS, drop resize
In `gh-content-view-container` the visibility of another DOM node was
being used to detect if a given view was mobile or not. This means the
UI needed to have layout forced (and DOM rendered) before the content
view container would render a second time. This is slow interaction with
the DOM (forcing layout) and slow for Ember's renderer (it needs to
render the container once with a default, then again when the value
changes).

Additionally there were two ways resize was being observed. The
`Window.matchMedia` API was used for some styles and the `ember-resize`
addon used to detect other changes. Here I've unified around just the
`Window.matcheMedia` API but abstracted it behind a service.

Sizes are exposed as properties that can be bound to or used directly in
templates.
2015-11-25 11:54:08 -05:00
..
gh-alert-test.js Avoid duplicate alerts, clear alerts on successful retry or sign-in 2015-10-12 19:21:30 +01:00
gh-alerts-test.js Avoid duplicate alerts, clear alerts on successful retry or sign-in 2015-10-12 19:21:30 +01:00
gh-cm-editor-test.js Routable tags 2015-10-27 12:48:41 +00:00
gh-navigation-test.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
gh-navitem-test.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
gh-navitem-url-input-test.js Email error message cleanup 2015-10-16 12:07:09 +02:00
gh-notification-test.js Avoid duplicate alerts, clear alerts on successful retry or sign-in 2015-10-12 19:21:30 +01:00
gh-notifications-test.js Avoid duplicate alerts, clear alerts on successful retry or sign-in 2015-10-12 19:21:30 +01:00
gh-profile-image-test.js Finish changes in #5807 (debounced gravatar load in gh-profile-image) 2015-10-29 11:30:30 +00:00
gh-tag-settings-form-test.js Routable tags 2015-10-27 12:48:41 +00:00
gh-tags-management-container-test.js Unify mobile state in JS, drop resize 2015-11-25 11:54:08 -05:00
gh-validation-status-container-test.js Fix gh-validation-settings-container throwing error on tag settings page 2015-10-14 14:29:04 +01:00