Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #32330
Closed
Open
Issue created Dec 04, 2020 by Administrator@rootContributor10 of 20 checklist items completed10/20 checklist items

RTL: remaining tasks

Created by: ffoodd

Mostly around cheatsheet automation.

Questions

  • Move cheatsheet from examples to main docs?
    • Allow main docs to be passed a direction in the front matter and have that automatically toggle LTR to RTL CSS inclusion
    • The above items should resolve most of this, but... De-dupe the RTL CSS once moved
    • Convert page content to Markdown
    • And https://github.com/twbs/bootstrap/pull/30980#issuecomment-737096962 :
      • Does our doc layout need to be converted to RTL too?
      • Or do we only embed RTL content in our current LTR doc layout?
      • What about translations, if we manage to automate cheatsheet content?
  • consider to show utilities in the cheatsheet?

Need help

  • check and update Arabic translations in RTL cheatsheet and RTL examples → in progress in #33097
  • new example showing bidi content, as asked by @arafalov (comment)
    • That's a valid use case for <bdi> and <bdo>, I guess: HTML5Doctor.com content and MDN docs for bdi and bdo
  • Allow JS components to work in both directions in the same page? See #33076 #32446 #32913

Docs improvements

  • maybe mention specific how-tos? → #32771
    • wrapping outputs with .ltr / .rtl: https://github.com/twbs/bootstrap/issues/32666#issuecomment-753880015
    • rename / alias utilities: https://github.com/twbs/bootstrap/discussions/32402#discussioncomment-194697 (probably in our "Customize / Sass" or "Utilities / API" page?)
  • mention in our migration that if you had a RTL page styled using v4, you'd need to rename .ml-* to .me-* and .mr-* to .ms-*—basically the opposite of LTR. → #32771
  • Maybe explain more explicitly the single Sass souce and the need to run RTLCSS, in a custom build? See #32816 (closed) for example.
    • Also need to make it obvious that RTL and LTR are separate files that cannot be used at the same time, maybe in our "Approach" section?
  • RTL content in LTR docs require a <bdi dir="rtl"> wrapper? See @AqeelAT's comment above.

Chore

  • Add/enhance RTL JS tests: ping @twbs/js-review for help on this <3
  • for carousel directions → Done in #32436
  • for dropdowns / tooltips / popovers position, and for modals padding → Done in #30980

Personal note, as I'm getting exhausted by all those naming/aliasing/restoring utilities discussions:

  • fork v5 personally and simply add some $utilities override to provide a solid and oldish v5 using v4 utilities (and dropping RTL support).
Assignee
Assign to
Time tracking