3
votes
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
For my hobby project https://linklonk.com (a link aggregator with a trust system) I added a notification mechanism for comments - you can subscribe to get replies by email. You can subscribe at any level of the comment tree. And you can mute any subtree. If you would like to try it out, feel free to post test comments under this post where I announced the feature: https://linklonk.com/item/396040801387544576
I know, it is a complete overkill because there are so few comments posted, but it's been an interesting exercise. One challenge was to calculate whether a given user should be notified of a new reply. Each user can have multiple subscriptions and multiple mutes in the same tree, so you need to find the closest subscription/mute object to the new reply.
Another challenge is how to show it in the UI that is understandable and not too overwhelming. For now there one of the four button options:
Please let me know if you have any suggestions. Is any other tree-based system have something like it? Tildes/HN don't seem to have it. Reddit has "Follow" and "Followed" state (which are similar to "Subscribe"/"Subscribed"). Though I'm not sure if "Follow" applies to the whole subtree or only to direct replies.
Tildes seems to have a top-level "Ignore"/"Unignore" functionality. My understanding is that it is used in combination with your own comments - you get notified when someone responds to your comments in a tree unless you press "Ignore" on the whole tree. Is that right?
Rewording "subscribed" and "muted" to "unsubscribe" and "unmute" might be a bit more clearer to let people know hey, you can still click on this, but otherwise i don't know enough to give more feedback