wordpress-mobile / wordpress-mobile/WordPress-Android
Local drafts shown on all tabs of post list (self-hosted sites only)
Open
Nobody has claimed this yet.
[Type] Bug
Posts + Pages
Self-hosted
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
Local drafts should be shown only on the "Drafts" tab.
Actual behavior
Local drafts are shown on all tabs on self-hosted sites.
Steps to reproduce the behavior
- use self hosted site
- Turn on airplane mode
- Create a draft and exit the editor by pressing back button
- Check the post list, notice the local draft is shown on all tabs
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
Reproduce the issue on a self-hosted site with airplane mode enabled, then trace the Android post-list filtering for local drafts and the tab selection logic. Confirm the change by ensuring a local draft appears only on the Drafts tab and not on the other post-list tabs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100