Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear recording in a more advanced way #2

Open
pdawyndt opened this issue Sep 16, 2023 · 0 comments
Open

Clear recording in a more advanced way #2

pdawyndt opened this issue Sep 16, 2023 · 0 comments

Comments

@pdawyndt
Copy link
Contributor

pdawyndt commented Sep 16, 2023

As soon as any change is made to the blocks, the entire recording is cleared. We might make this smarter by either not clearing the recording altogether or not clearing the entire recording.

Some actions should not trigger clearing the recording, because they do not actually change the (behavior) of the code or the part of the code that has been executed so far:

  • clean up block or manually dragging scripts to another location
  • adding/removing "pause" blocks
  • blocks added to, removed from or modified in a script that has not yet been executed
  • blocks added to, removed from or modified in a section of a script that has not yet been executed

Even when blocks aadded to, removed from or modified in a (section of a) script that has already been executed, we may only clear the recording up to the point where the added/removed block would start changing the execution of the code. This is the first point in the recording where the previous block was executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant