wordpress-mobile / wordpress-mobile/WordPress-Android

Prevent editor's notes block from displaying on post view

Open
#16,102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Gutenberg Reader
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

Content from /editor's-notes block should not display when viewing the post.

Actual behavior

Content from /editor's-notes block is displayed when viewing the post. See pbxNRc-1fJ-p2 for an example.

Post content highlighted in pink square is the /editor's-notes block content and should not be displayed.

Screenshot_20220314-080700

Steps to reproduce the behavior
  1. Open WordPress app on Android device
  2. Login
  3. View post with /editor's-notes block
  4. Content from /editor's-notes block is visible
Tested on Pixel 3, Android 12, WPAndroid alpha-347

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 WordPress Android app using a post containing an /editor's-notes block, then trace the post-view rendering path for that block. Done means the block's content is absent from the post view while the rest of the post remains visible; add or update a regression test if the relevant test area is found.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.