Skip to content

notebooks: compute blocks do not persist inputs after making requests

Administrator requested to merge rvt/persist-block-2 into main

Created by: rvantonder

Stacked on https://github.com/sourcegraph/sourcegraph/pull/33048.

Fixes an issue where previously, the notebook state would be persisted to the backend when we fire a server request. This had the effect where, if someone else visited the notebook (Thorsten in this case) the notebook would update and say they edited something, when really they did nothing. Now, the notebook only updates with something edited if one of the inputs change, irrespective of whether we request something from the server.

Test plan

Tested locally. Experimental.

Merge request reports

Loading