wordpress-mobile / wordpress-mobile/WordPress-Android
My Site Dashboard - Changes made offline to posts are not reflected in the Posts card
Open
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
- Create some draft posts so the Posts card is displayed in the "Home" tab of My Site Dashboard.
- Disable internet connection.
- Tap on any of the draft posts displayed within the Posts card.
- Edit the draft post and modify the title.
- Save the post.
- Go back to "Home" tab.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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