# Feature request - execution progress

**URL:** <https://discourse.jupyter.org/t/feature-request-execution-progress/4414>\
**Category:** JupyterLab\
**Created:** [May 16, 2020, 2:20pm UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414 "2020-05-16T14:20:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HashRocketSyntax](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/hashrocketsyntax/32/2516_2.png) [@HashRocketSyntax](https://discourse.jupyter.org/u/HashRocketSyntax)\
**Post date:** [May 16, 2020, 2:20pm UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414/1 "2020-05-16T14:20:42Z")

</div>

When executing long notebooks, it would be nice to have a sense of the relative progress. Additionally, I find myself scrolling through the notebook to find the most recently executed cell.

Ideas:

- Minimally, this could be [x out of x] cells progress bar next to the ‘kernel busy’ icon.
- A little triangle next to the scroll bar to show you where in the notebook execution is taking place.
- Option to snap the DOM to the top of the cell being currently executed.

---

<div class="post-metadata">

**Author:** ![betatim](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/betatim/32/10_2.png) [@betatim](https://discourse.jupyter.org/u/betatim)\
**Post date:** [May 17, 2020, 9:19am UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414/2 "2020-05-17T09:19:20Z")

</div>

This sounds like an interesting and useful little tool to have.

Do you know if there is a way to get the number of “remaining cells to be executed”? I’m not sure who/which part of the notebook would know this.

A little icon along side the scrollbar that moves from the top of the window to the bottom and indicates the location of the currently executing cell would work without knowing how many cells remain. Yet suggest some form of “progress meter” to the user. So this would be pretty cool.

I wonder if there is a CSS trick that let us prototype this as a simple notebook extension (or even something you copy&paste into the devtools for real quick prototyping)

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [May 18, 2020, 8:12am UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414/3 "2020-05-18T08:12:48Z")

</div>

I’m not sure how JupyterLab implements these, but I think hooking up an event listener to execution requests on cells should be able to be notified on each started and completed execution. That should be enough info.

---

<div class="post-metadata">

**Author:** ![jasongrout](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jasongrout/32/371_2.png) [@jasongrout](https://discourse.jupyter.org/u/jasongrout)\
**Post date:** [May 18, 2020, 6:20pm UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414/4 "2020-05-18T18:20:49Z")

</div>

Would you mind opening an issue in the JupyterLab repo? That’s where we keep track of feature requests and development efforts: [https://github.com/jupyterlab/jupyterlab/issues/new](https://github.com/jupyterlab/jupyterlab/issues/new)

---

<div class="post-metadata">

**Author:** ![HashRocketSyntax](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/hashrocketsyntax/32/2516_2.png) [@HashRocketSyntax](https://discourse.jupyter.org/u/HashRocketSyntax)\
**Post date:** [May 18, 2020, 6:44pm UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414/5 "2020-05-18T18:44:10Z")

</div>

thanks @jasongrout

> <https://github.com/jupyterlab/jupyterlab/issues/8439>
>
> Forum admin recommended that I make a feature request in this thread:
> https://discourse.jupyter.org/t/feature-request-execution-progress/4414/2
> When executing long notebooks, it would be nice to have...

---

<div class="post-metadata">

**Author:** ![laurencew](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/laurencew/32/2090_2.png) [@laurencew](https://discourse.jupyter.org/u/laurencew)\
**Post date:** [May 19, 2020, 11:39am UTC](https://discourse.jupyter.org/t/feature-request-execution-progress/4414/6 "2020-05-19T11:39:46Z")

</div>

Reminds me of the [Table of Contents 2](https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/toc2/README.html) for notebooks.  
The Table of Contents is viewable alongside the main notebook and the current executing cell is highlighted (orange in progress, green successful, red failure) in the corresponding section of the Contents.

JupyterLab TOC does let you see where execution has got to if you show code cells, but it isn’t nearly as pleasant for that purpose. Expanding its capability in the same way as the notebook extension might be a quick and easy way to create this.
