Open odkhang opened 1 month ago
This pull request refactors the sidebar functionality to allow it to move in and out using a button. Key changes include adding ref attributes to key elements, updating the toggleSidebar method to manipulate styles directly, and modifying CSS for smooth transitions. Additionally, several components were updated to ensure full height layout consistency.
Files | Changes |
---|---|
webapp/src/App.vue webapp/src/components/RoomsSidebar.vue webapp/src/components/MediaSource.vue |
Refactored sidebar functionality to use direct style manipulation and added a button for toggling the sidebar. |
webapp/src/components/Scrollbars.vue webapp/src/views/rooms/RoomHeader.vue webapp/src/views/rooms/item.vue webapp/src/views/schedule/index.vue |
Updated various components to ensure full height layout consistency. |
Yes, the moving in of the sidebar looks good, but how to handle the mobile view? This breaks the mobile view.
This PR:
Current view on production:
I think we could keep the way it currently works on mobile.
Summary by Sourcery
Implement a toggle functionality for the left sidebar, allowing it to move in and out with smooth transitions. Refactor the layout to use fixed positioning for the sidebar and adjust the main content area accordingly.
Enhancements: