aaronpk / Monocle

Monocle is a reader app that talks to a Microsub server
https://monocle.p3k.io
MIT License
49 stars 8 forks source link

Mark all as read #38

Closed mcleodchris closed 5 years ago

mcleodchris commented 5 years ago

Implementing #12.

It works by taking the value of the hidden "last-id" input, feeding it to a POST request to the Microsub server as "last_read_entry", as per the spec.

JavaScript will visually mark the entries as read and refresh the channel list, in line with the existing mark_read function.

UI is implemented for both desktop and mobile.

aaronpk commented 5 years ago

This is great, thanks!

The only thing I'm not sure about is whether the checkmark makes sense in the label of the dropdown menu on desktop, but I don't have a better suggestion right now so let's give this a shot and see how it feels!