kaoto-ui
kaoto-ui copied to clipboard
Refactor: investigate consolidation of synced source code and source code state
Please describe the task that needs to be done
Currently there is the "syncedSourceCode" state set and used in Visualization and SourceCodeEditor, for the local source code storage - useful when comparing the updated source coded in editor and providing the user warning.
Investigate and refactor in case this is not needed any more, as there is another state used for storage of "sourceCode".
see https://github.com/KaotoIO/kaoto-ui/pull/1927 discussion for more information.