aprzn123 / TheThirdCan

A browser extension designed to improve https://twocansandstring.com
MIT License
7 stars 4 forks source link

Feature: User Mentions #14

Open aprzn123 opened 1 year ago

aprzn123 commented 1 year ago

Turn @ (e.g. @ tsarbomba instead of @ TSaR-BOMBA, basically just what is in the URL of the user's profile page) into a link to the page. Also, potentially implement some way of sending notifications to the user who was mentioned? That seems more advanced, but once we have the authentication and basic server infra down for the pronouns API, it's probably possible.

HumanoidSandvichDispenser commented 1 year ago

For sending notifications to that user, I would directly send a message to the user mentioned with a link to the thread, but I can see if that makes inboxes harder to manage.

aprzn123 commented 1 year ago

I was thinking that in the popup we could add a tab called "mentions" or something that would list user mentions (possibly a desktop notification, too?) This is why I say it'll be easier once we implement the authentication system.

roxwize commented 1 year ago

Seeing as, if I recall, extensions can create notifications for the user, it shouldn't be too difficult to make some sort of system for notifying the user of any mentions and creating a menu for it in the extension popup. We could figure out some sort of way to append an "unread notification" indicator to the extension icon like other extensions do (like how uBlock has a number on the icon that changes with how many ads are blocked) and have that act as an indicator for how many unread mentions you have. While we're at it, why not extend it for unread messages as well?

aprzn123 commented 1 year ago

Oh, that's a pretty neat idea too! Once we resolve #22 and #23 we can probably plan that out in more detail

aprzn123 commented 1 year ago

Come to think of it, I'm not even sure #23 is actually necessary for this, even. We'll cross that bridge when we get to it, though.