Open acdc-digital opened 3 months ago
I tried adding a new ProjectItem prop to refresh/ collapse-all, but the href was causing some issues with the 'onclick' function. I didn't want to spend all day figuring it out, so instead I'm just going to make a new component with similar styling and add the component to the 'sidebar' so it simply appears the same and is in the right position. I'll do this sometime later.
I think we can add a new icon to the sub-folder directories in projects, with lucide-icon folder-open.
When the sidebar collapses, currently, the new menu-items are not collapsing (possibly need to truncate?/ couldn't figure it out earlier). Rather they're shrinking or stacking as the collapse happens, which causes them to overlap or look ugly. We need to hide these items on collapse; or find an prettier way to truncate.
On collapse, we need to hide the 'no projects' text, and move and/or hide the child-icons as well (both the folder and chevron icons).