Skip to content

Enable RTL layouts - #380

Merged
level09 merged 15 commits into
mainfrom
fix/rtl-layouts
Aug 7, 2026
Merged

Enable RTL layouts#380
level09 merged 15 commits into
mainfrom
fix/rtl-layouts

Conversation

@level09

@level09 level09 commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Makes the admin UI render correctly right-to-left. Split out of #377, which now carries string translations only.

Direction plumbing

  • current_language / current_direction context processor derived from the active locale via babel.Locale.character_order
  • <html lang dir> on all four layouts (main, login, security, setup wizard)
  • Vuetify locale option so its own components follow suit

Logical properties

  • location="right" -> location="end" on all 11 first-party navigation drawers plus the map drawer
  • ml-* / mr-* -> ms-* / me-* in the components that carried directional spacing
  • left-auto / right-0 split-view classes replaced with inset-inline-start-0 / inset-inline-end-0 utilities
  • Map visualization: viewport padding, drawer toggle position/radius, chevron and back-arrow icons all mirror
  • dir="auto" on notification title/message (user content can be either direction), dir="ltr" on the timestamp
  • Nav-bar logo moved into the app-bar prepend slot with a tightened SVG viewBox, so it sits next to the menu icon in both directions

Tests

tests/test_rtl.py: direction rendering for ar/en plus guards against reintroducing hardcoded location="right" and physical spacing in the swept files.

@level09
level09 requested a review from apodacaduron as a code owner July 25, 2026 10:14
@level09 level09 self-assigned this Jul 25, 2026
@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 35dd9fee-dea2-4ec2-ab3a-98d7dd5eff9c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rtl-layouts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@apodacaduron apodacaduron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some changes like the notification/avatar/language menu layering, notification panel RTL layout, entity/detail action spacing, floating visualization controls, media redactor/viewer RTL behavior, SplitView resizing, and related icon spacing issues.

Approved.

@level09
level09 merged commit 3aa64a2 into main Aug 7, 2026
11 checks passed
@level09
level09 deleted the fix/rtl-layouts branch August 7, 2026 19:37
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.

2 participants