Closed joaorceschini closed 1 month ago
The changes in this pull request primarily focus on the Sidebar
component and its associated elements in the frontend application. Key modifications include adjustments to the CSS class logic for the sidebar's width, layout changes for the SidebarProfile
and SidebarCollapseButton
, and an update to the initial state of the toggle functionality in the SidebarSpaces
component. These alterations aim to enhance the visual alignment, usability, and overall user experience of the sidebar interface.
File Path | Change Summary |
---|---|
apps/frontend/src/components/Sidebar/... |
- Updated SidebarNav class name logic for collapsed state.- Adjusted layout of SidebarProfile and SidebarCollapseButton for horizontal alignment.- Increased icon sizes in SidebarCollapseButton from 12px to 16px.- Simplified button class names. |
apps/frontend/src/components/Sidebar/... |
- Modified SidebarProfile structure and styling, including fixed width and conditional active state styling.- Streamlined avatar rendering logic and user name display based on isCollapsed state. |
apps/frontend/src/components/Sidebar/... |
- Changed initial state of toggle from false to true in SidebarSpaces , affecting component's default display.- Adjusted useEffect hooks to reflect new default state. |
Objective | Addressed | Explanation |
---|---|---|
Improve icon visibility in the sidebar (MAR-282) | β | |
Ensure sidebar is expanded by default (MAR-282) | β | |
Simplify the interaction for first-time users with the sidebar (MAR-282) | β | Changes do not fully implement suggested interaction improvements. |
Sidebar
component.need for alpha launch
In the sidebar where we play,
Icons grow and dance today.
Collapsed or wide, itβs all a breeze,
A click to open, if you please!
With gaps and flex, the layout's bright,
Come explore, it feels just right! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
https://linear.app/marchhq/issue/MAR-282/sidebar-feedback
Summary by CodeRabbit
New Features
Improvements
Bug Fixes