Roguelike-Celebration / azure-mud

MIT License
185 stars 30 forks source link

Notification system #220

Open lazerwalker opened 4 years ago

lazerwalker commented 4 years ago

Let you know, outside of the chat scroll, when you get a DM (or get @-mentioned, or ???)

A few staged versions of this:

  1. Dismissable toasters in the corner of the screen. Click on a DM toaster to open the profile of the user that sent it.
  2. Support for the browser notification API. Clicking a notif deep-links you into that profile view
  3. A more robust notification window that shows you notif history on top of having an unread badge

This ticket should just cover (1) and (2) for now, for DMs. Another ticket will be made for @-mentioning, and thinking about a proper notification inbox is future work.

lazerwalker commented 3 years ago

Presumably first steps here would be:

  1. Either finding a React toast notification library, or using the native push notif API, whichever is simpler
  2. Displaying a notif every time yo receive a DM
  3. Clicking that notif pulls open the DM panel with that person