Skip to content
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

Add RTL layout chat support #2317

Closed

Conversation

idomamia
Copy link
Contributor

@idomamia idomamia commented May 16, 2024

Pull Request Checklist

  • Target branch: Pull requests should target the dev branch.
  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for the changes?
  • Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description

Add support for RTL layout only for the chat. The user can now choose the preferred layout, LTR (left-to-right) or RTL (right-to-left), via the interface settings. The default is LTR.

Notice that code blocks will remain in LTR as it is considered the modern standard for programming languages.


Changelog Entry

Added

  • Option to switch the chat layout from LTR to RTL in the settings (LTR is the default).
  • English translation.
  • Chat direction was added to the settings store.

Changed

  • RTL layout support in the Chat components (except Code blocks).

Additional Information

@tjbck
Copy link
Contributor

tjbck commented May 16, 2024

Closing due to conflicts. Feel free to reopen the PR!

@tjbck tjbck closed this May 16, 2024
@idomamia
Copy link
Contributor Author

Closing due to conflicts. Feel free to reopen the PR!

I couldn't find a way to update this PR with my changes and reopen this PR so I created a new one here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants