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

Use logical style for NcHeaderMenu #4965

Merged

Conversation

ahangarha
Copy link
Contributor

☑️ Resolves

The current styles used in NcHeaderMenu makes it hard to make NextCloud work fine in RTL mode automatically. In order to be able to add bidirectional text support to NextCloud (server), we need to use logical styles here, so the if the layout of the dashboard is RTL, the menu automatically moved to the right.

These changes shouldn't have any visible impact in the current state of NextCloud server. To test the impact, manually set the body to use dir="RTL".

There will be another PR on NextCloud server. It will depend on this PR to get merged. It will be linked to this PR as soon as it is opened.

🖼️ Screenshots

🏚️ Before 🏡 After
image image

🚧 Tasks

Nothing remained

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

@ahangarha ahangarha force-pushed the use-logical-style-for-header-menu branch from cca1d1f to 41a0023 Compare December 15, 2023 11:42
@ShGKme ShGKme added bug Something isn't working feature: header-menu labels Dec 15, 2023
@ShGKme ShGKme added this to the 8.3.1 milestone Dec 15, 2023
Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

Great, thank you!

Tested.

Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
@ahangarha ahangarha force-pushed the use-logical-style-for-header-menu branch from e0ce16f to 9d122d0 Compare December 15, 2023 19:39
@susnux
Copy link
Contributor

susnux commented Dec 15, 2023

We should do so for all components

@susnux susnux disabled auto-merge December 15, 2023 20:26
@susnux susnux merged commit b9bb3fe into nextcloud-libraries:master Dec 15, 2023
11 checks passed
@ahangarha
Copy link
Contributor Author

@susnux
I am working with a group of passionate developers to fix all these issues.
This is just the beginning.

We are good to go with other fixes as soon as we finish the PR for NextCloud Server.

I am happy to have a small share in the development and improvement of this project. I hope we can finish this all very soon.

@ahangarha ahangarha deleted the use-logical-style-for-header-menu branch December 15, 2023 21:10
@ShGKme ShGKme mentioned this pull request Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: header-menu
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants