Ghost/ghost/admin/app/serializers
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
..
application.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
notification.js 🐛 fix duplicate server alerts + default alert bg color (#242) 2016-09-01 11:01:54 -05:00
post.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
role.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
setting.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
subscriber.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
tag.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
user.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00