bug: Navigation bar display "Side (Icons)" is not respected in Classic UI
Created by: NyaomiDEV
💡 Summary
Setting the Navigation bar display mode to "Side (icons)" will not actually keep it collapsed on page reload, if you're using the Classic layout.
🥰 Expected Behavior
The navigation bar, when set to display as "Side (Icons)", should only show icons in all three layouts supported by Sharkey: Default, Classic, and Deck
🤬 Actual Behavior
The navigation bar correctly shows icons only on Default and Deck. On Classic mode it will revert to "Side", thus showing icons and text. It is possible to bug out the UI by setting "Side" and then "Side (Icons)" again, and clicking "Later" when prompted to reload the page, so that it will show an actual collapsed navigation bar, with only icons.
📝 Steps to Reproduce
- Have "Classic" as your UI
- Have "Side (Icons)" as your navigation bar layout
- Witness the bug
💻 Frontend Environment
* Model and OS of the device(s): Linux PC, Artix Linux rolling
* Browser: Firefox 121.0
* Server URL: woem.men
* Sharkey: v2023.12.0
🛰 Backend Environment (for server admin)
Not applicable, I am an user of that instance.
Do you want to address this bug yourself?
- Yes, I will patch the bug myself and send a pull request