Ghost/core/client/app/routes
Kevin Ansfield 459f2c4355 Improve PaginationRoute mixin
no issue
- returns the promise/result from `loadNextPage` so that it's return value can be utilised in closure actions
- sets the `isLoading` property in `loadFirstPage` to match `loadNextPage` behaviour
- reset the `isLoading` property even if the request fails
- adds a `didReceivePaginationMeta` hook so that consumers of the mixin can use the metadata values without having to rely on observers
  - eg. pulling the `total` into a separate property that can be manipulated when items are added/removed but still reset to the sever's total value the next time a page is loaded
- renames the `pagination-route` mixin to simply `pagination` as it's not tied to routes and works equally well in other objects that need to paginate an API resource
2016-04-19 10:53:45 +01:00
..
editor Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00
posts improve 404 error handling in post route 2016-02-14 16:49:57 -06:00
settings Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00
setup cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
team Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00
about.js Restructure Configuration API endpoint 2016-02-19 18:49:23 +00:00
application.js deps: ember-data@2.3.2 2016-01-19 14:36:39 +00:00
authenticated.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
error404.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
mobile-index-route.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
posts.js Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00
reset.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
setup.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
signin.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
signout.js fix logging out from editor page 2016-02-16 20:07:03 -06:00
signup.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00