Skip to content

feat(app): add minimal RTL support - #40372

Merged
Hona merged 1 commit into
devfrom
minimal-rtl
Aug 4, 2026
Merged

feat(app): add minimal RTL support#40372
Hona merged 1 commit into
devfrom
minimal-rtl

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • set the document direction to RTL for Arabic, Urdu, and Pakistani Punjabi (Shahmukhi), and restore LTR for every other locale
  • mirror the main and legacy sidebar/session shell with logical positioning, borders, corners, resize handles, and direction-aware transitions
  • let user and assistant prose determine direction automatically, with plaintext bidi handling for mixed-direction blocks
  • keep terminal, shell output, source/diff viewers, file trees, paths, inline code, and diff counts explicitly LTR and isolated
  • preserve all English copy and translation keys
  • add no tests, as requested

Validation

  • app typecheck
  • Session UI typecheck
  • UI typecheck
  • production app build with Bun/Vite
  • generated Tailwind output contains the RTL transform and logical corner/positioning utilities
  • git diff --check
  • verified no English dictionary changes
  • real-app session timeline smoke passed for English, Arabic, and Urdu at 1400 × 900
  • verified RTL document direction, automatic prose direction, and LTR code isolation; screenshots shared in Slack

Requested by: @Hona (Luke Parker via Slack)

@Hona
Hona enabled auto-merge (squash) August 4, 2026 05:03
@Hona
Hona merged commit 6c32991 into dev Aug 4, 2026
12 checks passed
@Hona
Hona deleted the minimal-rtl branch August 4, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant