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

Indicate when feed is broken #1360

Open
LinAGKar opened this issue Jan 10, 2024 · 1 comment
Open

Indicate when feed is broken #1360

LinAGKar opened this issue Jan 10, 2024 · 1 comment
Labels

Comments

@LinAGKar
Copy link

If a feed has repeatedly failed to update (the server doesn't respond/returns unparsable content/whatever) the News web UI will make that clear by highlighting the feed in orange. In this app however, there is no indication, you just silently stop receiving items from the feed. It would be nice if the app warned you when a feed is failing to update.

@David-Development
Copy link
Member

@LinAGKar Good point! Thank you for bringing this topic to our attention! I wasn't aware of the change in the API but it looks like the API will give us information about the error count as well. The endpoint /feeds should be extended (thus the database schema needs to be extended). The fields pinned, updateErrorCount and lastUpdateError should be added (here). (The field pinned is used for something else but while we're editing the database schema we should already add it).

Reference: https://nextcloud.github.io/news/api/api-v1-2/#sanitation

The webapp displays the message after 50 failed updates

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

No branches or pull requests

2 participants