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 fails to collapse in Electron App #2

Open acdc-digital opened 3 months ago

acdc-digital commented 3 months ago

The toggle seems to work fine in LocalHost, however, when opened in the Electron App, the collapse for the Sidebar Menu doesn't appear to work- which is concerning.

  1. I've added a console.log("Toggling sidebar"); which doesn't provide any answers (seems to be working correctly(.
  2. We're going to wait a bit before proceeding with debugging. For now, we've set the default Expanded State as 'true' so that we can see contents as they're being added.
acdc-digital commented 3 months ago

While it appears to prevent to collapse on Button-press, it also appears to shrink to the appropriate size when the window is manually sized via the User.

That appears wrong. Now that we've added some more components/ elements to the sidebar, it doesn't resize correctly. So we're going to have to continue investigating the state management.