wordpress-mobile / wordpress-mobile/WordPress-Android
Post deeplinks should open the correct post in the Editor
Open
Nobody has claimed this yet.
[Pri] Medium
[Type] Bug
Deeplinks
Posting/Editing
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When clicking on a deeplink like wordpress://post?blogId=X&postId=Y I expect the given post to be opened in the editor.
Actual behavior
The editor opens for a new post instead.
Steps to reproduce the behavior
- Make sure you're logged in with a site with remote id X and a post with remote ID Y.
- Create a URL like
wordpress://post?blogId=X&postId=Yand use it in the followingadbcommand:
adb shell am start \
-W -a android.intent.action.VIEW \
-c android.intent.category.BROWSABLE \
-d "wordpress://post?blogId=X&postId=Y"
- Notice that the editor is opened for the correct site but that instead of loading the correct post, it is empty, as if a new post was being written.
Tested on Pixel 3XL, Android 11, WPAndroid alpha-291
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 wordpress://post?blogId=X&postId=Y deeplink with the provided adb shell am start command, then trace Android deeplink handling into the editor launch. Done means the editor opens the specified post for the matching site instead of an empty new-post editor.
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
- 42/100