Skip to content

[WIP] Track cells which depend on a value that's changed#648

Open
jeremyrsmith wants to merge 2 commits intomasterfrom
track-outdated
Open

[WIP] Track cells which depend on a value that's changed#648
jeremyrsmith wants to merge 2 commits intomasterfrom
track-outdated

Conversation

@jeremyrsmith
Copy link
Contributor

Puts a yellow border around a cell when a cell that defined one of its inputs has been re-executed.

Caveats:

  • It doesn't do this transitively; it wouldn't be hard but I think it might get annoying?
  • This information isn't really persisted into the notebook, so it only works while the notebook remains open on the server (works across simple reloads though)
  • It doesn't check whether the inputs actually changed... it would be difficult to do this reliably (maybe it would work for simple scalars and such, but we don't really want to be equality-checking on other things... maybe in the future we could use static analysis to determine if the definition of the things have changed)

@jeremyrsmith
Copy link
Contributor Author

In the future we would have a button to re-run all the outdated cells maybe?

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

Successfully merging this pull request may close these issues.

1 participant