Skip to content

Conversation

@aerodeval
Copy link
Contributor

This PR introduces automatic text direction detection for the TextEditor component & Email content to improve user experience for Arabic users and mixed-language content. When a user types Arabic text, the editor switches to right-to-left (RTL); for English or other left-to-right (LTR) content, it defaults to LTR.

Before:
Screenshot 2026-01-31 at 10 02 49 PM

After:
Screenshot 2026-01-31 at 10 01 34 PM

This fix improves text alignment and enhances context for Arabic users when viewing content.

For more context, read the following https://rtlstyling.com/posts/rtl-styling/

for solving issue #2671

@codecov
Copy link

codecov bot commented Jan 31, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 50.56%. Comparing base (a4f7a00) to head (c98551f).
⚠️ Report is 103 commits behind head on develop.

Files with missing lines Patch % Lines
helpdesk/www/helpdesk/index.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2958      +/-   ##
===========================================
+ Coverage    49.67%   50.56%   +0.88%     
===========================================
  Files          124      122       -2     
  Lines         5401     5403       +2     
===========================================
+ Hits          2683     2732      +49     
+ Misses        2718     2671      -47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aerodeval aerodeval marked this pull request as ready for review January 31, 2026 16:43
@aerodeval aerodeval marked this pull request as draft February 1, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant