nextcloud / nextcloud/talk-android
Code blocks should always be LTR regardless of the message text direction
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
In accordance with https://github.com/nextcloud/spreed/issues/15362
Is your feature request related to a problem? Please describe.
It has always been the case that a message written in RTL language (Arabic) would have the code block rendered in RTL as well. Along with Nextcloud 10 and complete RTL support, I would have assumed this case would have been considered and code blocks would have been rendered in LTR always.
Describe the solution you'd like
Code blocks should always render in LTR.
Describe alternatives you've considered
N/A
Additional context
Example of how code blocks are rendered in RTL:
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
The issue does not name a file, test, or entry point. Start by reproducing the example with an Arabic message containing a code block and locate the Android message-rendering code responsible for its text direction. Done means code blocks render left-to-right even when the surrounding message is right-to-left.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- internationalization, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100