-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Use Explicit Names for Flex Direction #2672
[Merged by Bors] - Use Explicit Names for Flex Direction #2672
Conversation
…tand what it means without having to decipher it first.
I agree; this is a nice simple improvement. |
I think that until we have a new UI system that doesn't rely as much on Flexbox, we're best sticking to the same terminology (css/flexbox) so that it's easier to google. There's even a featured snippet if you search directly "direction ltr". Docstrings would be good though |
The fact that this is searched so much only reinforces my point. You shouldn't have to search for "direction ltr" to understand what this does. Docstrings are definitely good and I'll plan on adding them for this section. I would argue two points:
|
IMO "Start" and "End" are better names. |
Start and End are relative. Certain languages "Start" on the right, whilst others Start in the left. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much nicer to me 👍
I'm sold on this. If it was anything more complicated than a rename I'd probably push back due to the impending ui refresh, but this is an easy clarity win. And being 100% aligned with web spec names isn't really a priority for me (relative to clarity). |
bors r+ |
# Objective - Clarify vague meaning of "Ltr" and "Rtl". For someone familiar with Flex Box, this is easy to understand, but being more explicit will help beginners or those unfamiliar, without the need to do research. ## Solution - Change three letter abbreviation to fully descriptive name.
Objective
Solution