mrusme / superhighway84

USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
https://xn--gckvb8fzb.com/superhighway84
GNU General Public License v3.0
714 stars 23 forks source link

Message read/unread status #22

Closed mrusme closed 2 years ago

mrusme commented 2 years ago

As mentioned here it would be great if there was a way to see which messages were read already.

The easiest solution would be to simply store that information somewhere on the local disk.

derricw commented 2 years ago

Conventional location is probably $XDG_DATA_HOME and if unset, ~/.local/share/superhighway84

mrusme commented 2 years ago

This has now been implemented in master as a basic color change in title.

apatheticposture commented 2 years ago

I noticed your change. A thing to consider is maybe the color should only change if I hit enter on an article and open it, or otherwise mark it manually. The issue is that if I want to key down and skip a few articles, but maybe read them later, by keying down over them it marks them as read.

Another possibility is what Outlook does, which is it only tags a mail as read if focus is on it for a specific length of time; usually a few seconds.

mrusme commented 2 years ago

@apatheticposture the timed mark as read makes sense, implemented that one.