wordpress-mobile / wordpress-mobile/WordPress-Android

Feature Request: discard local changes

Open
#12,505 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Posts + Pages
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
  1. Connect to a WordPress blog with Pages.
  2. Open one of the pages in the editor (you don't need to change anything.)
  3. Go back. The page will be marked as "local changes"
  4. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.