Dependent cells are not invalidated upon cell removal
Amazing work, thanks for sharing! I've been thinking about something similar, but nodebook is an interesting alternative (and it demonstrates how to invalidate cells in jupyter).
Here's one detail that could be perhaps improved. Consider the following 4 cells:
a = 0
a += 1
a += 2
print(a)
Now proceed as following:
- Evaluate all cells. The last one prints 3.
- Delete the second cell.
- Evaluate the last cell. It still prints 3.
If instead of deleting the cell one comments-out its contents, the behavior is as expected: the last two cells are invalidated, and upon evaluation 2 is printed. Would it be possible to do the same upon deletion? I guess that it might be tricky because of Jupyter's undo functionality.
Thanks @grothesque! I'd like to have this as a feature, but it would require tighter integration with the javascript frontend than I currently have in place.