Notebook Timeline does not reflect true state of notebook & does not work as expected #205634
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook
on-testplan
timeline
Timeline view issues
Milestone
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
Create xx.ipynb
edit
Insert Cell
The items in the time line are
edit
orInsert Cell
, seems to alternateUpdate Cell Metadata
as wellTimeline
for the cell inserted, hence timeline is now completely wrong.Problems
Create a new notebook and hit
Ctrl+Save
multiple times in quick succession and you'll end up with at least twoCreate xxx.ipynb
in the timeline.If we create 10 cells, I would expect to see 10 different entries in Timeline, this is not the case
By design, also see pushStackElement API in Notebook Editor Model needs to line up with Text Editor #207523
We seem to alternate between
edit
andInsert Cell
Fixed pushStackElement API in NB Model to be same as same API in Text Model #207525
Clicking on one of the items such as
edit
entry in Timeline displays a broken editor (The editor could not be opened due to an unexpected error....
)Filed here Unable to open notebook diff view from timeline (Leaking event listener) #207418
If one of the
edit
works, then clicking another fails.This is very flaky, sometimes the
edit
entry that worked, no longer works at all.Hitting save without making any changes results in either
edit
orUpdate Cell Metadata
appearing in the timeline (ensure notebook format is4.5
)Whats weird is the fact that SCM view shows now difference.
Create a notebok with a markdown cell
Possible the notebook metadata diffing works based on Object refs
Fixed Avoid unnecessary workspace edits #207377
Unwanted
Update Cell Metadata
entryThis seems to be related to attachment changes.
Also, for some reason this entry shows that the
metadata
is removed.When you add a md cell
We end up with one item
edit
and the diff view shows that themetadata
of the md cell is removed.When in fact we should have an entry for
Insert MD
as mentioned earlier.A few issues here (metadata getting removed in diff view and missing entries)
Fixed pushStackElement API in NB Model to be same as same API in Text Model #207525
Work on a notebook and add 10 cells and edit tyhem, etc
Eventually use the key
z
to remove all the added cells (i.e. undo them all)Next
Save
and you'll end up with anUndo / Redo
entryClicking this item results in a completely broken view.
The text was updated successfully, but these errors were encountered: