wordpress-mobile / wordpress-mobile/WordPress-Android
After changing Scheduled post back to Draft status, "Publish" button can cause confusion.
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
It should be possible to change the status of a scheduled post back to a draft.
Actual behavior
The post was published instead.
Steps to reproduce the behavior
- Create a new post and schedule it by giving it a future date
- Open the post in the mobile app and try to switch its status to draft
- Notice how it gets published
During one of my tests (not the one recorded below), I was able to switch the post to a draft by changing its date back to an older date, but this did not work consistently.
https://user-images.githubusercontent.com/4452464/143422107-c6f918f5-e764-4850-8ec4-987afa6a158e.mp4
Tested on [device], Android [version], WPAndroid [version]
App version: alpha-330
Device: One Plus Nord2 5G + OsygenOS V11.3
This is closely related to https://github.com/wordpress-mobile/WordPress-Android/issues/11393 and https://github.com/wordpress-mobile/WordPress-Android/issues/12344
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 scheduled-post status change using the Android app and the steps in the issue. Trace the status transition and Publish action to determine why switching to Draft publishes the post; done means a scheduled post can reliably return to Draft without being published.
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
- 35/100