kreneskyp / ix

Autonomous GPT-4 agent platform
MIT License
1.01k stars 121 forks source link

Clicking back and forth between nodes loses edits. #410

Closed kreneskyp closed 9 months ago

kreneskyp commented 9 months ago

Description

Another tab related state issues: Clicking back and forth between nodes loses edits.

OnNodeDragStop handler was updating with stale data. This would result in nodes reverting to the state from when they were initially loaded from the API. Changes were reflected in the database, but UI was stale.

Changes

OnNodeDragStop now uses updated state

How Tested

[Explain how you tested this pull request. Include any relevant steps or scripts.]

TODOs

[List any outstanding TODOs or known issues that still need to be addressed.]