cheng-kang / wildfire

πŸ”₯From a little spark may burst a flame.
https://wildfire.js.org
GNU General Public License v3.0
178 stars 18 forks source link

feature_request(e-mail): e-mail notifications #47

Open Kristinita opened 5 years ago

Kristinita commented 5 years ago

1. Summary

It would be nice, if Wildfire will support automatically e-mail notifications.

I don't find, how I can do it in Wildfire documentation.

2. Argumentation

Site owners must quickly get comments, that:

Another users must automatically get reminders, if reply or mention; they don't must manually update page pending comment.

It a critical feature for comments services as Wildfire.

3. Steps to reproduce

I setup Firebase database and add Wildfire to my site β†’ I post comment β†’ I reply to comment from different account:

Reply to comment

Records in Firebase console:

Firebase console

4. Expected behavior

Successful e-mail notification.

5. Actual behavior

No e-mail notification.

I try:

I check Spam folder.

Thanks.

momocow commented 5 years ago

@Kristinita There is not yet email support since the logic purely exists in the front-end and firebase is only for storage.

To view those notification, you can find those notifications in the notification center on your site as the following image.

image

And there are your notifications!

image

Kristinita commented 5 years ago

@momocow , status: question

Thanks, I know about it. Is any method, that user automatically find out that a new notification has appeared in notification center?

Thanks.

momocow commented 5 years ago

@Kristinita Apparently, there's no such way for an user to find out that he has new notifications unless he checks it out in the notification center himself. (at least in the master version)

What do you expect that this behavior should be?


IMO, I've noticed that when someone successfully posts his/her comment, a message box is shown up as the following image.

image

Maybe the message box can also be applied to inform a new notification. However, since the message box will dismiss itself after several seconds, the information still can be ignored by the user.

How about the FaceBook-like badge counter? image

momocow commented 5 years ago

Maybe you can try the beta version (#37) and make a plugin to implement the expected behavior?

Kristinita commented 5 years ago

@momocow , type: replies

How about the FaceBook-like badge counter?

For this site visitors must visit web-page again. They don't have to do this solely that manually check notifications.

and make a plugin to implement the expected behavior?

I think, automatical notifications β€” critical feature. This should be the default, not by plugin.

Thanks.

momocow commented 5 years ago

For this site visitors must visit web-page again. They don't have to do this solely that manually check notifications.

Agree, however the function requires a back-end service support, which is currently unavailable. See https://stackoverflow.com/questions/37642845/sending-an-email-from-the-browser-using-js.

As a workaround, therefore I suggest using the plugin to implement this until official support.

I think, automatical notifications β€” critical feature. This should be the default, not by plugin.

I'm not an authority for this and I respect @cheng-kang's plan for the project.

You can still keep this feature request, as I'm also looking forward to get email notification supported!