wordpress-mobile / wordpress-mobile/WordPress-Android
Feature Request: discard local changes
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behaviour
It should be possible to revert local changes for Pages viewed or modified on the WordPress Android app.
Actual behaviour
When viewing a page (even without making changes), the page is marked as "Local changes".
There is no way to revert those local changes, short of deleting and re-adding the site from the app.
Steps to reproduce the behaviour
- Connect to a WordPress blog with Pages.
- Open one of the pages in the editor (you don't need to change anything.)
- Go back. The page will be marked as "local changes"
- Try to revert those changes, there's no option to do so.
Tested on [device], Android [version], WPAndroid [version]
Samsung Galaxy S5, Android 9, WPAndroid 15.2.1
Additional note:
This is very similar to issue #5681, except that one applies only to Posts, and not Pages.
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 tracing the WordPress Android Pages editor and the local-changes handling described in the reproduction steps. Compare the behavior with issue #5681, which covers the analogous Posts case. Done means opening a Page without editing does not mark it changed, and a marked Page can be reverted without deleting and re-adding the site.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100