wordpress-mobile / wordpress-mobile/WordPress-Android

Media Library option unavailable when choosing feature image for post

Open
#9,870 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Status] Stale [Type] Bug Media Posting/Editing
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

With the storage permission not granted, adding a featured image to a post should show the tab below to choose an image from the media library.

Actual behavior

With the storage permission not granted, adding a featured image to a post does not show the tab below to choose an image from the media library but instead is requiring the permission be turned on before presenting the tabs.

Screen Shot 2019-05-15 at 11 08 20 AM
Steps to reproduce the behavior
  1. Ensure storage permission for WPAndroid app is not granted
  2. Create a new post or edit an existing post
  3. Navigate post settings and set a new featured image
  4. No option is available to use an image from the media library
Screen Shot 2019-05-15 at 11 08 20 AM
Tested on [device], Android [version], WPAndroid [version]

Blocking #9795 discussion - https://github.com/wordpress-mobile/WordPress-Android/pull/9795#discussion_r283755629

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 issue in the WPAndroid app with storage permission disabled, then trace the featured-image flow from post settings to the media library tabs. The change is done when the media library option is available without storage permission while the permission-dependent option remains appropriately gated.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.