acdc-digital / solomon-electron

Solomon-Electron is a developing full-service Workstation for proactively managing projects at scale. Project content is vectorized and can be utilized by the in-app assistant for quick contextual retrieval combining the developing technologies of AI and intuitive Dashboard Management.
GNU General Public License v3.0
1 stars 0 forks source link

Sidebar Collapse New Folders #15

Open acdc-digital opened 3 months ago

acdc-digital commented 3 months ago

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).

acdc-digital commented 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.

acdc-digital commented 3 months ago

I think we can add a new icon to the sub-folder directories in projects, with lucide-icon folder-open.