Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mansona/ember-cli-notifications
⚛ Atom inspired notification messages for ember-cli
https://github.com/mansona/ember-cli-notifications
alerts ember ember-addon ember-cli hacktoberfest notifications
Last synced: 7 days ago
JSON representation
⚛ Atom inspired notification messages for ember-cli
- Host: GitHub
- URL: https://github.com/mansona/ember-cli-notifications
- Owner: mansona
- License: mit
- Created: 2015-02-06T11:50:49.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T14:18:31.000Z (16 days ago)
- Last Synced: 2025-01-10T14:09:24.563Z (14 days ago)
- Topics: alerts, ember, ember-addon, ember-cli, hacktoberfest, notifications
- Language: JavaScript
- Homepage: https://ember-cli-notifications.netlify.app/
- Size: 5.65 MB
- Stars: 177
- Watchers: 8
- Forks: 94
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-cli-notifications
[![Download count all time](https://img.shields.io/npm/dt/ember-cli-notifications.svg)](https://www.npmjs.com/package/ember-cli-notifications)
[![NPM package](https://img.shields.io/npm/v/ember-cli-notifications.svg)](https://www.npmjs.com/package/ember-cli-notifications)
[![Build Status](https://travis-ci.org/mansona/ember-cli-notifications.svg?branch=master)](https://travis-ci.org/mansona/ember-cli-notifications)
[![Ember Observer Score](http://emberobserver.com/badges/ember-cli-notifications.svg)](http://emberobserver.com/addons/ember-cli-notifications)
[![Maintainability](https://api.codeclimate.com/v1/badges/2d7784a2ad1c27cb8250/maintainability)](https://codeclimate.com/github/mansona/ember-cli-notifications/maintainability)## Compatibility
* Ember.js v3.8 or above
- Embroider or ember-auto-import v2## Installation
```
ember install ember-cli-notifications
```## Usage
An [Ember](http://emberjs.com) addon that adds [Atom](https://github.com/atom/notifications) inspired notification messages to your app.
Interactive documentation can be found [here](https://ember-cli-notifications.netlify.app).
### Upgrading to 5.0.0
#### Icons and FontAwesome
As of 5.0.0 we no longer depend on Font Awesome so you can remove any configuration you have related to the icons:
```js
var ENV = {
'ember-cli-notifications': {
includeFontAwesome: true
}
}
```or
```js
var ENV = {
'ember-cli-notifications': {
icons: 'bootstrap'
}
}
```#### Service Name
We have also updated the name of the service to be simply `notifications` so you can now inject the notifications service with a much simpler inject statement:
```js
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';export default class MyController extends Controller {
@service notifications;
}
```#### Removing CSS modules
We have removed the use of CSS Modules so you can now override the styles more effectively without needing as many hacks. You can remove any strange hacks that you might have implemented in your app to override styles.
## Contributing
See the [Contributing](CONTRIBUTING.md) guide for details.