-
Notifications
You must be signed in to change notification settings - Fork 1.3k
replace SideNav 'closed' class to 'open' #8389
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
base: development
Are you sure you want to change the base?
replace SideNav 'closed' class to 'open' #8389
Conversation
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 will conflict with #8365 and as that already has two approvals lets get that merged first, please also make sure this doesn't regress any of the RTL/LTR fixes in that pull request after it is merged:
- LTR channel name + LTR locale -> name is displayed LTR
- LTR channel name + RTL locale -> name is displayed LTR
- RTL channel name + LTR locale -> name is displayed RTL
- RTL channel name + RTL locale -> name is displayed RTL
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
The 'open' state now becomes the default for styling. This has three advantages: - This makes it consistent with the rest of the application logic (isOpen) - Simplifies styling. The open styles can now be done for desktop easily with a media query - Fixes FreeTubeApp#6091 [Bug]: Theme Settings > Expand side bar by default is affecting the bottom navigation for mobile devices
Head branch was pushed to by a user without write access
fc6476e to
0c38614
Compare
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
|
@absidue I have checked and it's working correctly, the only thing I have to change is remove the margin at the right I have also rebased my patch on top of the current development branch |
|
Feel free to change whatever you need to change to make it look and work the same (on all screen sizes) as it did before this PR, as the pull request description says that there shouldn't be any visual changes. |
Head branch was pushed to by a user without write access
|
@AndreJesusBrito is this ready to review again? |
|
@efb4f5ff-1298-471a-8973-3d47447115dc yes, sorry, I should have commented that was ready. |



Pull Request Type
Related issue
closes #6091
Description
This pull request is mostly a refactor and doesn't have any visual or functional effect besides fixing the mentioned issue.
The 'open' state now becomes the default for styling. This has three advantages:
Theme Settings > Expand side bar by defaultis affecting the bottom navigation for mobile devices #6091 [Bug]: Theme Settings > Expand side bar by default is affecting the bottom navigation for mobile devicesTesting
Ensure that the interface behaves as before when the app resolution (media queries), nav bar open toggle and the Theme > Hide Side Bar Labels option vary.
Desktop