microsoft / vscode-jupyter-slideshow

MIT License
18 stars 6 forks source link

Cannot Switch Slide Type Unless the JSON Metadata is Already Populated #2

Closed Mjvolk3 closed 2 years ago

Mjvolk3 commented 2 years ago

Cannot add slide type after typing or selecting from the available types.

image

Slide type only appears if I directly edit the JSON. After doing this I can select switch slide type and it allows me to switch.

image

When trying to switch slide type with the command palette I get the following error message.

image

VsCode Version: 1.71 OS: macOS Monterey Version 12.6

rebornix commented 2 years ago

@Mjvolk3 thank for the issue report, it should be fixed in next version.

rebornix commented 2 years ago

The root cause is for newly created cell, we didn't handle the missing metadata properly.