You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was about to start on this task but then I realized that there are some conceptual issues that need to be worked out. For this discussion, consider renaming a component. Any instances of this renamed component must also have their Base Type variable updated. Therefore, when changing a single component name, this can result in changes to other components and screens.
This isn't too bad by itself, but undo's become very complicated. Currently each Screen/Component has its own list of undo/redo history. If we undo a rename on a component, then that means we must undo the change on other components too. Should this actually be an undo/redo? Or should the undo just make the change, and then the normal refactoring logic should kick in?
If we use undo/redo, then that means that the undo must store the state of other screens/components so that it can be restored, which causes tons of problems.
If we rely on refactoring.....that might work. I need to think through refactoring to see if this introduces any problems...
Propagate changes:
Show preview of change (see above for details:
Undo should restore previous state for all propagated changes
The text was updated successfully, but these errors were encountered: