acdc-digital / solomon-Desktop

Solomon Desktop is a developing full-service workstation for proactively managing projects with artificial intelligence. Project content is vectorized and can be utilized by the in-app assistant for contextual data-analysis within an intuitive Dashboard.
GNU General Public License v3.0
1 stars 0 forks source link

State/ Context Management Fails in Electron App #4

Open acdc-digital opened 7 months ago

acdc-digital commented 7 months ago

So, it appears now that we're using state-management for both the Sidebar (expand/ collapse) and the Canvas sub-components (Admin/ Files/ Notes); that the Electron App is not rendering the appropriate states. Instead, it just loads the Default values and then refuses to switch to the new 'state' once the element is clicked.

The odd thing is that it continues to work appropriately in the Browser (localhost: 3000). We'll continue with development and plan to sort this out along the way. More research to follow.

acdc-digital commented 7 months ago

To note, it appears that the Routing still works appropriately. It's just State-Management that is not working, specifically for single-page renders.

acdc-digital commented 7 months ago

Quick note- in the Chat application, when typing is occurring in the textbox, the 'thumb' icons will change their state to an arrow icon (like the send email icon); except in the Electron app, because the state-management isn't work- this does not happen. So typing in the Chat works, but the icon does not change.

Just making a note to double check when debugging this issue.

acdc-digital commented 7 months ago

As development proceeds, the state-management for the Login button is defaulted to 'loading...' which doesn't allow the User to see the Login button at all/ login/ or be authenticated- which means there will be no routing to the Dashboard area from the Homepage until this is fixed.