makers.bolt.fun icon indicating copy to clipboard operation
makers.bolt.fun copied to clipboard

Create notifications for makers

Open barefoot-88 opened this issue 3 years ago • 4 comments

Notify makers when:

  • Someone comments on your story
  • Someone replies to a comment on your story
  • Someone upvotes your story
  • Someone upvotes your comment
  • Someone adds you to a Product/Project team
  • Someone accepts your request to be added to a product team
  • Someone removes you from a product team (if possible)
  • Someone tags you in a post
  • Someone tags you in a comment

Control Notifications can get annoying. We should allow makers to have control over what notifications they receive.

barefoot-88 avatar Aug 01 '22 08:08 barefoot-88

Proposal

Start off with a very simple notification component which notifies users when:

  • Someone comments on a story you have published
  • Someone replies to a comment you have made on a story

In the future, it would be great to explore other notification types. For example, if someone references you or tags you in a comment/post by your maker profile name. E.g @barefoot-88

barefoot-88 avatar Aug 04 '22 14:08 barefoot-88

@barefoot-88 are these notifications in app or sending to some external system like email, or discord?

johnsBeharry avatar Aug 09 '22 13:08 johnsBeharry

There is a new PR #222 that adds a very basic version of notifications until we build the full version. This basic version sends notification to a discord channel on bolt.fun server each time:

  • A new story gets created
  • Someone comments on a story

Of course as I mentioned, this is only a basic version, but it should push us enough until we have the time capacity to design & develop a full notifications system

MTG2000 avatar Jan 11 '23 07:01 MTG2000

@MTG2000 I've setup BullMQ to use as a queue. Have to figure out how to interact with it though. Then background workers can process the jobs once they're sent from the API (we hook into the create event) so that we can reply immediately with a 200 status.

johnsBeharry avatar Jan 11 '23 14:01 johnsBeharry