wordpress-mobile / wordpress-mobile/WordPress-Android

Local drafts shown on all tabs of post list (self-hosted sites only)

Open
#10,359 0 comments 0 reactions 0 assignees View on GitHub

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.

DEMO

Steps to reproduce the behavior
  • use self hosted site
  1. Turn on airplane mode
  2. Create a draft and exit the editor by pressing back button
  3. Check the post list, notice the local draft is shown on all tabs

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.