wordpress-mobile / wordpress-mobile/WordPress-Android

RTL support on Category Parent Selection - Add Caegory Screen

Open
#15,591 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

While creating a new category, the User can select a parent category. The dialog box shown to the user for selecting the parent category doesn't support RTL configuration.

The above dialog is accessible through the flow

  1. Posts List -> Post -> Post Settings -> Categories -> Add Category -> Click At Parent Category
  2. Posts List -> Post -> Update -> Categories -> Add Category -> Click At Parent Category
Expected behavior

Screenshot_1636990208

Please note that the above screenshot is a reference for the correct behaviour of parent-child indentation of categories in the RTL configuration. And not the exact UI.

Actual Behaviour
Screen on LTR RTL layout
Screenshot_20211118-202106 Screenshot_1636988714
Steps to reproduce the behavior
  • Enable RTL
  • Go to any screen below
    1. Posts List -> Post -> Post Settings -> Categories -> Add Category -> Click At Parent Category
    1. Posts List -> Post -> Update -> Categories -> Add Category -> Click At Parent Category
  • Note that the Parent-child categories doesn't have indentation
  • Note that the Parent-child categories are on left side
Tested on [One plus Nord], Android [11], WPAndroid [18.5]

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

Enable RTL and reproduce the parent-category selection dialog through both listed Posts flows. Inspect the dialog reached from Add Category and compare its parent-child indentation and alignment with the expected RTL behavior; done when both flows display the hierarchy correctly in RTL.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.