sheodox / alexandrite

A beautiful and convenient desktop-first alternate web UI for Lemmy.
https://alexandrite.app
GNU Affero General Public License v3.0
233 stars 21 forks source link

Mark post as read on view #27

Closed Pronian closed 1 year ago

Pronian commented 1 year ago

Calling the Lemmy Server API to get the post is already marking the post as read, so we can just update the read property on success.

Previously, the post would get visually marked as read only on the second time of opening it (because Lemmy doesn't update the read status in the response of the initial call )

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sx-lemmy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2023 2:16pm
sheodox commented 1 year ago

Thanks! I have no idea how I didn't notice that before. I must have broken it recently!