QuantumBadger / QuantumBadger/RedReader

Refreshing while offline should preserve cached posts

Open
#168 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

While browsing posts, hitting refresh while offline will display "Connection Error" and clear the posts view. However, re-selecting the current sort in the sorting options menu will re-populate the view with the cached data for the posts. To keep the behavior consistent, refreshing while offline should display the "Connection Error" message but not clear the content of the view.

Contributor guide

Open the contributing guide

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 by browsing posts, going offline, and refreshing the view. Done means the Connection Error message appears while the existing cached post content remains visible, consistent with re-selecting the current sort in the sorting options menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.