Ghost/ghost/admin/tests/unit/components
Kevin Ansfield a5eeb1865b 🎨 Move "Update available" notification to the About screen (#894)
refs https://github.com/TryGhost/Ghost/issues/5071

Upgrade messages are now shown on the About screen rather than as alerts. Notifications that are marked as `top` or `custom` are still shown as alerts to allow for certain upgrade messages to be given more visibility.

- remove old `upgrade-notification` service
- update the `upgrade-status` service:
  - add a `message` property that contains an upgrade notification if any exists
  - add a `handleUpgradeNotification` method that accepts a Notification model instance and extracts the `notification.message` property into a html safe string for use in templates
- when loading server notifications during app boot, pass notifications that aren't marked as `top` or `custom` to the new `handleUpgradeNotification` method
- update the `about.hbs` template to pull the upgrade message from the `upgradeStatus` service
2018-01-09 14:23:36 +00:00
..
gh-alert-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
gh-app-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
gh-navitem-url-input-test.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-notification-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
gh-post-settings-menu-test.js Avoid leaking state in Ember objects 2017-11-25 09:49:49 +00:00
gh-url-preview-test.js deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
gh-user-active-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
gh-user-invited-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00