Closed chphoom closed 1 year ago
this will probably require more backend then im ready for tbh
from chatgpt: Create an observable for the user's posts that emits a new value whenever a new comment is added. You can use Angular's HttpClient to make an HTTP request to the server to retrieve the user's posts, and then use RxJS's interval and concatMap operators to poll the server at a regular interval and emit new posts:
methinks i can just create a notification service in the frontend which checks the countdown (it already uses intervals) and then also do this^^^ i will reference my conversation w chat gpt
notificationService will then inject into the navigation bar, and then do things based on the user (that is, periodically create notifications)
there are two types of notifications:
the first is pretty narrow and specific the second is much more common
what the software dev equivalent of academic weapon? that me rn
backend implementation done
https://material.angular.io/components/menu/overview --> floating list that can appear on click https://material.angular.io/components/badge/overview --> show number of unread notifs