amelioro / ameliorate

A tool to help discuss and mutually understand tough problems.
https://www.ameliorate.app
MIT License
19 stars 5 forks source link

Add in-app notifications for comments #433

Closed keyserj closed 1 month ago

keyserj commented 1 month ago

Describe your issue

TBD

Solution you'd like

No response

Alternatives you've considered

No response

Additional context

No response

Technical ideas and questions

No response

keyserj commented 1 month ago

related to #238

keyserj commented 1 month ago

Design thoughts:

UX

Red is "need to have", blue is "nice to have". I'm leaning towards including Watches/Subscriptions right away (at least the structure, potentially the UX could be future), and read/unread as a future thing.

(if no watches/subscriptions right away, notifications would always be sent to the topic's creator and thread participants, with everyone given the option to turn off all Ameliorate emails).

User Drawer

image

/notifications Page

image

Email Notification (similar to GitHub's)

image

In-Topic UX

image

Technical Flow Pseudocode

API create comment route

Event "commentCreated" handler (synchronous, just separated for organization)

Schemas

UserConfig Schema

UserNotification Schema

Watch Schema

Subscription Schema

Questions