Create notifications for makers
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.
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 are these notifications in app or sending to some external system like email, or discord?
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 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.