Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark entry as seen #2706

Open
1 task done
parski opened this issue Jun 23, 2024 · 0 comments
Open
1 task done

Mark entry as seen #2706

parski opened this issue Jun 23, 2024 · 0 comments

Comments

@parski
Copy link

parski commented Jun 23, 2024

User Story

As a user I would like to scroll a feed of unseen entries and simultaneously have access to my read history with both of these states synced between my devices.

Problem

Currently clients implement a "scroll to mark as read" feature which lets you scroll a feed filtering out read entries. The problem with this approach is that there is no way to distinguish a seen entry from a read entry. You have to choose between always keeping your feed fresh and maintaining a read history.

Proposal

This could be solved in several ways but I think the best way might be to let clients use the Update Entry endpoint to pass a seen: Boolean member, like so:

PUT /v1/entries/888

{
    "seen": true
}

The seen state should then be reflected on the Entry object, for example on the Get Entry endpoint:

GET /v1/entries/888

{
    "id": 888,
    // . . .
    "url": "http://example.org/article.html",
    "seen": true,
    // . . .
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant