wordpress-mobile / wordpress-mobile/WordPress-iOS
Only three recent posts are kept on device
Open
@hassaanelgarem is already working on this.
Since Oct 13, 2023.
[Type] Enhancement
Posts + Pages
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
The current behaviour—where the app deletes older posts and only keep three on the device—seems a bit strange to me.
Expected behavior
Loaded posts should not be deleted after switching to the Home screen.
Actual behavior
Older posts are deleted after switching to the Home screen.
Steps to reproduce the behavior
- Navigate to Posts screen and create 6 or more draft posts.
- Go to the root of My Sites tab (or the Home screen on iPad).
- Scroll through the home screen, or pull to refresh. Wait for a couple of seconds.
- Go back to the Posts screen. At this point, you should only see 3 drafts displayed on screen, but quickly after all drafts are re-fetched and displayed.
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]
The trunk branch. 32404ca761a85800de6daa64637707df808a354c
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.
Assessment
This issue has not been assessed yet.