Skip to content

Explore ways to show execution progress while the execute cell is out of the viewport  #130611

@miguelsolorio

Description

@miguelsolorio

Summary

When running a notebook that has a lot of cells, it can be hard to keep track of where the currently executing cell is. It becomes harder when the currently running cell is out of the viewport, so the user has to scan to notebook to find the correct one. See example below, where is the running cell?

CleanShot 2021-08-11 at 13 17 11@2x

Concepts

These are all a collection of different ideas that I've explored. We can combine some of these different ideas together or treat them as separate items.

Status bar item

A simple option would be to add a status bar item that says Running cell XX (8.2s) and clicking on it would take you to the running cell:

CleanShot 2021-08-11 at 12 54 28@2x

CleanShot 2021-08-11 at 12 54 52@2x

Adding indicators

In addition to this, we could also add indicators in the outline view and editor tab. This is helpful for when you have the outline view open or you are on a different tab and want to know if a notebook is still running.

CleanShot 2021-08-11 at 13 20 45@2x

Adding item in notebook toolbar

We could also add an action in the toolbar that will take you directly there, though we have to battle with the other actions to make this visible:

image

Alternatively, we could turn the kernel picker into a split action that and change the icon of the kernel into progress:

image

Notifications

For the cases where a notebook can take a while longer (+1min) we could look into showing a notification if the user has focus somewhere else (like anther notebook)

CleanShot 2021-08-11 at 13 29 59@2x

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersnotebook-executionIssues related to running cells in a notebookon-testplanuxUser experience issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions