Skip to content

Conversation

@olorin99
Copy link
Contributor

@olorin99 olorin99 commented Apr 23, 2025

For lemmy just uses lemmy api to mark as read.
For all other account types read status is stored in a sembast store.
Posts are marked on read when opened or through swiping or the menu.
Also added feed actions to quickly show/hide read posts in the feed.
Closes #105

olorin99 and others added 4 commits April 23, 2025 10:12
Add option in behaviour settings to hide read posts.
Add swipe action to toggle read status of post.
Add option to content_menu to toggle read status of post.
Copy link
Member

@jwr1 jwr1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks nice! I did end up having a lot of comments this time though.

Remove redundant `post_id` parameter from lemmy api mark_as_read.
Change isRead query to use composite filter.
Make Post read parameter non-nullable.
Delete associated read posts from db on account deletion.
Switch content_menu markRead text between "Mark as Read" and "Mark as Unread" depending on read status.
Add new setting to feed actions screen for hideReadPosts.
Move hideReadPosts from behaviour screen to feed defaults screen.
@olorin99 olorin99 requested a review from jwr1 April 24, 2025 04:31
@jwr1 jwr1 merged commit 7748cc3 into main Apr 24, 2025
2 checks passed
@jwr1 jwr1 deleted the read_posts branch April 24, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark threads/microblogs as read support

3 participants