I have carefully gone through all the pages in a normal Drupal 8 installation, and identified the remaining RTL issues (some minor, some clearly broken).
These issues could not have been fixed earlier, since there were heavy changes and refactoring in the CSS and base themes up to the RC freeze.
The changes are mostly non-disruptive. They are only in the CSS, and clearly only affect RTL languages.
I have uploaded screenshots for LTR, RTL (before patch), and RTL (after patch) for every fix, but to prevent the issue summary from getting too long, will only embed the RTL (Before patch) ones in the summary.
Two notes for reviewers:
- You don't need to add a separate language, or modify any settings to test the fixes (except the ckeditor toolbar one). All you have to do is modify the
dir="ltr"
on the<html>
tag to"rtl"
(using firebug or the browser's developer tools). - When a CSS specificity issue happens between a module's CSS and a theme's CSS, the fix is added to the theme. So, some of the rules might seem out-of-place (not adjacent to their equal LTR rule), but this is a more appropriate fix.
So, here are the issues (starting with a weird one):
1. Display Tabs in Views Admin
2. Link Icons in Module Descriptions in Modules Admin Page
3. Requirements List in Modules Uninstall Page
4. List of Links in Module Help Pages
5. Content Type Manage Display
6. Notification Messages
7. Content Types' Manage Form Display
8. Add Article (Save and Publish Button)
9. Password Strength Notes in User Create/Add
10. Bartik Main Menu (Front Page) (460px < width < 900px)
11. Bartik Secondary Menu
12. Text Formats - CKEditor Toolbar Settings
13. Action Buttons in Views Admin Page
14. Views Admin Modal Dialogs
15. Filters in Views Admin Modal Dialogs
Comment | File | Size | Author |
---|---|---|---|
#13 | remaining_rtl_fixes_for-2587549-13.patch | 12.22 KB | herom |
#13 | interdiff-2587549-2-13.txt | 1.32 KB | herom |
#9 | remaining-rtl-issues-15.png | 26.65 KB | prestonso |
#9 | remaining-rtl-issues-14.png | 19.05 KB | prestonso |
#9 | remaining-rtl-issues-13.png | 10.56 KB | prestonso |
Comments
Comment #2
herom CreditAttribution: herom commentedAnd here is the patch.
Comment #3
herom CreditAttribution: herom commentedAdded numbering to the issues referenced in the summary.
Comment #4
herom CreditAttribution: herom commentedFixed a tag. Also, the uploaded screenshots did not show up in the issue summary (Files section), but they are available in the Files block at the bottom of the page.
Comment #5
herom CreditAttribution: herom commentedRaising to Major as in "Major for RTL (Farsi/Hebrew/Arabic) Sites". Feel free to revert if not appropriate.
Comment #6
prestonso CreditAttribution: prestonso commentedThanks for the comprehensive IS, @herom! I was able to reproduce all of these issues on a clean install at HEAD.
Reviewing the patch now.
Comment #7
prestonso CreditAttribution: prestonso commentedThese are extraordinarily minor points so I will move straight into testing.
Nice catch!
Spelling: "specificity" instead of "specificty"
Spelling: "specificity" instead of "specificty"
Comment #8
prestonso CreditAttribution: prestonso as a volunteer commentedResults of testing: All good to go apart from the minor points mentioned in #7.
For bullet no. 12 below, replacing class
cke_ltr
withcke_rtl
, as will normally happen to CKE on a RTL localization, eliminated the text indent/overflow issue, though the screenshot does not reflect this.1. Display tabs in Views admin
2. Link icons in module descriptions in modules admin page
3. Requirements list in modules uninstall page
4. List of links in module help pages
5. Content type manage display
6. Notification messages
7. Content types manage form display
8. Add article save and publish button
9. Password strength notes in user creation
10. Bartik main menu on front
11. Bartik secondary menu
12. CKEditor toolbar settings
13. Views admin page action buttons
14. Views admin modal dialogs
15. Filters in Views admin modal dialogs
Comment #9
prestonso CreditAttribution: prestonso as a volunteer commentedComment #10
prestonso CreditAttribution: prestonso as a volunteer commentedComment #11
prestonso CreditAttribution: prestonso as a volunteer commentedPassing back to @herom.
Comment #12
prestonso CreditAttribution: prestonso as a volunteer commentedComment #13
herom CreditAttribution: herom commentedThanks for the great review, @prestonso.
The points are fixed.
Comment #14
prestonso CreditAttribution: prestonso as a volunteer commentedNo regressions in the code or in functionality; RTBC. Nice work @herom!
Comment #15
xjmDiscussed with the D8 committers and we agreed with making this an rc target.
Comment #16
webchickWOW! I just want to say a HUGE thanks for the extremely thorough job on screenshots. Makes this patch hugely easier to review.
This is changing CSS, which is technically frozen, but it's fixing legit bugs, and will help translators, so woop woop.
Committed and pushed to 8.0.x. Thanks!
Comment #18
herom CreditAttribution: herom commentedYAAAAAAAYYYYY!!! Thanks everyone.
Let's Party Let's Party