ReadYouApp / ReadYouApp/ReadYou

refresh list of entries

Open
#958 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
7.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

1. Environment

  • Device: [Pixel 7]
  • OS: [Android 15]
  • APP: [0.11.1]

2. Describe the bug

I am testing with a local feed, and the app does not refresh when new entries are added.

I set-up the app and it correctly shows the two entries with the original feed:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">John Doe Blog</title>
  <updated>2025-02-09T17:38:42+01:00</updated>
  <id>urn:uuid:fbe283fe-6c1d-4f5e-b5e9-f1058952ab1c</id>
  <author>
    <name>John Doe</name>
    <uri>https://example.org</uri>
    <email>johndoe@example.org</email>
  </author>
  <category term="blog posts"/>
  <link href="https://vivobook.lan/feed.atom" rel="self" type="application/atom+xml"/>
  <rights type="text">Copyright (c) 2025, John Doe</rights>
  <generator uri="https://example.org/feed-generator" version="v0.0.1-alpha"/>
  <entry>
    <title type="text">TITLE 1</title>
    <updated>2025-02-09T17:38:42+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:59592fc2-0a7d-47fb-aceb-7d4a7bd6985b</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 1</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
  <entry>
    <title type="text">TITLE 2</title>
    <updated>2025-02-09T17:38:42+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:ce2bcd3c-6a18-41ac-9f4f-4d5cd8c14bcd</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 2</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
</feed>

Afterwards, I added a new third entry, and try to refresh the list, but it does not show up. The new feed is:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">John Doe Blog</title>
  <updated>2025-02-09T17:40:26+01:00</updated>
  <id>urn:uuid:fbe283fe-6c1d-4f5e-b5e9-f1058952ab1c</id>
  <author>
    <name>John Doe</name>
    <uri>https://example.org</uri>
    <email>johndoe@example.org</email>
  </author>
  <category term="blog posts"/>
  <link href="https://vivobook.lan/feed.atom" rel="self" type="application/atom+xml"/>
  <rights type="text">Copyright (c) 2025, John Doe</rights>
  <generator uri="https://example.org/feed-generator" version="v0.0.1-alpha"/>
  <entry>
    <title type="text">TITLE 3</title>
    <updated>2025-02-09T17:40:26+01:00</updated>
    <published>2025-02-09T17:40:26+01:00</published>
    <id>urn:uuid:ce2bcd3c-6a18-41ac-9f4f-4d5cd8c14abc</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 3</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
  <entry>
    <title type="text">TITLE 1</title>
    <updated>2025-02-09T17:40:26+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:59592fc2-0a7d-47fb-aceb-7d4a7bd6985b</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 1</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
  <entry>
    <title type="text">TITLE 2</title>
    <updated>2025-02-09T17:40:26+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:ce2bcd3c-6a18-41ac-9f4f-4d5cd8c14bcd</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 2</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
</feed>

However, when I "clear" the articles and then refresh, the third article does show up.

I do not know what I should do on the server (I have tried playing around with cache-control, and etags, etc, but to no avail).

Here is a screenrecording illustrating the issue.

https://github.com/user-attachments/assets/1db29dba-39c5-441d-b32a-cd795652820e

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Android 15 using the local Atom feed shown in the report, then compare a normal refresh with clearing articles before refreshing. Trace the app's feed refresh and caching behavior; done means a newly added third entry appears after refreshing without clearing existing articles.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.