Skip to content

Conversation

@joeycozza
Copy link

adding "dir" for rlt support. Made sure to check typeof languageDir so if an app gets this update without the corresponding snow update, they won't be broken.

@joeycozza joeycozza requested a review from redbugz March 7, 2023 18:10
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<%= simpleLocale %>">
<html dir="<%= typeof languageDir !== 'undefined' ? languageDir : 'ltr' %>" lang="<%= simpleLocale %>">
Copy link

Choose a reason for hiding this comment

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

@kyle-west would it be better to always have dir, and have it be ltr, or do we just add dir="rtl" when it's not the default and omit dir for ltr?

@redbugz
Copy link

redbugz commented Mar 16, 2023

Have we done any manual validation of this code yet?

@joeycozza
Copy link
Author

Have we done any manual validation of this code yet?

Yes, we tested this frontier-app-react. We added this, and the snow change directly into node_modules and then we manually tested changes.

@joeycozza joeycozza merged commit e79558d into frontierMaster Mar 17, 2023
@joeycozza joeycozza deleted the languageDirectionSupport branch March 17, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants