Skip to content

Notebook toolbar execution section improvements #184194

@rebornix

Description

@rebornix

On the notebook toolbar we have multiple sections of actions, and the first two are core sections: insert and execution. The Insert section is very stable and it always contains two actions: insert code and insert markdown. However the execution section has actions from both VS Code core and Jupyter extension, and with a mix use of visibility and enablement, it is not user friendly and often leads to mis-clicks.

Jupyter kernels

Initial state

image

Start execution

image

Execution fails

image

Execution succeeds

image

Non Jupyter Kernels (e.g. Pyodide)

Initial state

image

Start execution

image

Execution fails

image

Execution succeeds

image

As shown above, currently only Clear all outputs is using enablement while all others are using visibility, which can lead to change of positions for the actions and often when users want to interrupt or restart the kernel, their position changes and users click on wrong actions. cc @roblourens

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions