wordpress-mobile / wordpress-mobile/WordPress-Android

Prepublishing Nudges : Contributor mode statuses disabled

Open
#12,190 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug groundskeeping Post Settings Prepublishing Nudges
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

The Status options on the Prepublishing Nudges and the Post Settings that aren't available to contributors should be disabled.

Actual behavior
  • The disabled contributor Status options on the Prepublishing Nudges can't be selected but they are available for selection.
  • The disabled contributor Status options in the Post Settings can be selected but when persisted they are not saved. You will see the previous PostStatus that existed.
Steps to reproduce the behavior
Prepublishing Nudges
  1. Ensure that you log into the app with a user that has the contributor role.
  2. Create a new post.
  3. Click the Status and Visibility option.
  4. Try to click Publish or Private and realize you can't.
Post Settings
  1. Ensure that you log into the app with a user that has the contributor role.
  2. Create a new post.
  3. Click the Post Settings.
  4. Click the Status and Visibility option.
  5. Try to click Publish or Private and realize you can but it won't be saved.

Tested on Google Pixel 4 XL, Android 10, WPAndroid develop ()

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

Reproduce the contributor-role behavior in the Prepublishing Nudges and Post Settings status controls described in the issue. Trace the status and visibility UI and persistence behavior; done when unavailable statuses are visibly disabled in both places and contributor selections cannot be saved.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.