Ghost/ghost/admin/tests/unit
Kevin Ansfield 2a1584af16 🐛 fix duplicate server alerts + default alert bg color (#242)
closes https://github.com/TryGhost/Ghost/issues/7305

The `location` property of server-side notifications was being ignored by the client and so wasn't being used to de-duplicate alerts.

- adds `key` attribute to `Notification` model
- adds a serializer for notifications that renames the `location` key sent by the server to `key`
- set the default background color of alerts to white so that alerts with no `type` set do not inherit the background color (useful in Ghost Desktop which has a transparent background color set)
2016-09-01 11:01:54 -05:00
..
components fix cross-browser support (#164) 2016-08-06 09:04:06 +02:00
controllers theme management UI 2016-08-23 12:42:38 +01:00
helpers convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
mixins Introducing Concurrency (#147) 2016-08-11 07:58:38 +01:00
models convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
routes Improve uploader tests + test subscribers CSV import 2016-05-27 13:34:31 +01:00
serializers 🐛 fix duplicate server alerts + default alert bg color (#242) 2016-09-01 11:01:54 -05:00
services theme management UI 2016-08-23 12:42:38 +01:00
transforms convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
utils Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
validators fix cross-browser support (#164) 2016-08-06 09:04:06 +02:00
.gitkeep Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00