wordpress-mobile / wordpress-mobile/WordPress-Android

My Site Dashboard - Changes made offline to posts are not reflected in the Posts card

Open
#16,384 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug /My site My Site Dashboard Offline Support
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

Changes made to posts while the app is offline should be reflected in the Posts card.

Actual behavior

Changes made to posts while the app is offline are not reflected in the Posts card.

Steps to reproduce the behavior

Preparation:
Since this issue is related to the Posts card, in order to

  1. Create some draft posts so the Posts card is displayed in the "Home" tab of My Site Dashboard.
  2. Disable internet connection.
  3. Tap on any of the draft posts displayed within the Posts card.
  4. Edit the draft post and modify the title.
  5. Save the post.
  6. Go back to "Home" tab.
  7. Observe that the title of the modified draft post doesn't reflect the change.
Tested on Samsung Galaxy S20 FE 5G, Android 11, WPAndroid 19.7-rc-1

https://user-images.githubusercontent.com/14905380/164737469-82b1db29-35a8-4a43-a4bf-3e970c9c11a4.mp4

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

Start by reproducing the offline edit flow in the My Site Dashboard Posts card: edit a draft title, save it, and return to the Home tab. Trace how the edited post is stored and how the Posts card refreshes its data. Done means the changed title appears in the card without restoring the internet connection.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.