-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom HTML notifications #43
Comments
No this hasn't been discussed as of yet, did you have something in particular in mind? |
I already use your addon in my app and it works quite well. The only request is that sometimes I want to provide more context to the notification, which requires custom HTML. Either custom HTML, or:
I haven't looked at the internals of the plugin or the best way moving forward yet. |
Hmm... yea I think there are some customisations available but I don't think we have everything you need, and I don't know if we can actually provide everything you need directly. It might be a good idea to experiment with extending the actual plugin exactly like this: https://github.com/Blooie/ember-cli-notifications/blob/master/app/components/notification-message.js If you wanted I could put together a quick example if you haven't done something like this before? |
That would be great if you could put something together. |
Is there any chance that by implementing this we would be able to insert custom HTML links in the messages? I tried with the latest release and HTML snippets are ignored for now (i.e. markup is displayed as it is). |
I am planning to look into this over the weekend and I will keep this in mind @nightsh and let you know where my investigations bring me 👍 |
@mansona Did you happen to look at this last weekend at all? My goal is to have it customizable to look something like Pinterests notifications: Which at a minimum would mean:
|
@mansona any progress on this? Anything you need help with? I am willing to give it a try, but I'm also not a big fan of duplicating effort. |
Is anyone working on this issue? I'm just starting to integrate |
@spinlock99 That that I'm aware of. Would be great to see a PR for this! @mansona |
@ynnoj cool. I should have something in a few weeks (our schedule is crazy right now but this is on the list of things the eventually get done). One other piece of the API I'd like to change is how the Notifications Service is configured. It feels weird to configure it in the ApplicationRoute. I'd like to export the service from Thoughts? Let me know if I'm heading in the right direction. Thanks! |
Anyone working on this issue ? I need to replace the icon with a custom image |
@rinoldsimon Not as far as I'm aware ¯_(ツ)_/¯ |
I don't know if this will just be further noise, or helpful to someone - but I went the route of allowing a |
is there any workaround for this? |
I would like to start a discussion on providing the opportunity to create notifications with custom HTML. Has this been discussed yet, or is it on the roadmap?
The text was updated successfully, but these errors were encountered: