rafaelmardojai / forge-sparks

Get git forges notifications
MIT License
61 stars 7 forks source link

Option to keep read notifications #29

Open puresick opened 4 months ago

puresick commented 4 months ago

Sometimes I read notifications but want to keep them to visit them at a later point in time. It would be helpful to have the read notifications stay visible with a manual "dismiss" action button. This could be something configurable in the settings to keep the current behaviour intact aswell.

Would something like this be in scope for Forge Sparks or is this something against this projects goal? :)

rafaelmardojai commented 3 months ago

I think GitHub (Gitea too I think) would mark the notification as read when you open the link.

That would require some mechanism in the app to mark the notification as unread.

puresick commented 3 months ago

Yes. GitHub has also a dedicated "Mark as done" functionality which removes the notification item from their notification area.

Looking at Forgejo they only have read and unread states.

rafaelmardojai commented 3 months ago

Yes. GitHub has also a dedicated "Mark as done" functionality which removes the notification item from their notification area.

Yes, but their API doesn't have any way to list "not done" notifications, only read and unread.