wordpress-mobile / wordpress-mobile/WordPress-Android

Clicking on 'edit post' via frontend link will fail if said post is not synced on local device

Open
#12,903 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Enhancement Posting/Editing Posts + Pages
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Steps to reproduce
  1. Visit your site while logged in
  2. Click on the "Edit" link
  3. Choose the WordPress App to edit the post
Expected behavior

I would expect the mobile app to open that post in the editor. If the post is not available, I would expect the app to ask me to wait for a moment while it syncs.

Actual behavior

If the post is NOT available on the local device (i.e. is not synced) the app will throw a message asking me to update my posts and will offer me an empty new post instead.

Tested on

Chrome 85.0.4183.81
Android alpha-241

Screenshots

Screen Shot on 2020-09-07 at 17:40:47

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 reproducing the frontend Edit-link flow in the WordPress Android app with a post that is not synced locally, using the reported Chrome and Android versions as context. Trace how the link selects the post and handles the missing local copy; done means the correct post opens after syncing or the app clearly waits for synchronization instead of creating an empty post.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin, wordpress
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.