Skip to content

Support toolbar in notebook outline pane entries - #207498

Merged
Michael Lively (Yoyokrazy) merged 7 commits into
mainfrom
milively/outline-toolbar
Mar 14, 2024
Merged

Michael Lively (Yoyokrazy) merged 7 commits into
mainfrom
milively/outline-toolbar

Conversation

@Yoyokrazy

@Yoyokrazy Michael Lively (Yoyokrazy) commented Mar 12, 2024 •

Copy link
Copy Markdown
Collaborator

re #206308

Contributes a toolbar to the outline entry items in the notebook outline pane. Toolbar continues some or none of the following actions:

  • Run Cells in Section
  • Run Cell
  • Fold Section

Future thoughts:

  • Fold Section wording
    • This technically performs a "toggle folding range" action, but I'm hesitant to use the word toggle as it only controls the notebook editor view state, not the outline view state. Maybe an item for the future.
    • Could be more fitting to have two separate actions, one for Fold Section and one for Expand Section. Would be easy to have the actions only show depending on the cell's folding state via a context key.
  • Add a minimum time to the spinner in the outline view, similar to the cell execution status item in the cell status bar (think this was 500ms?)

@rebornix Peng Lyu (rebornix) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run notebook section from outline Jupyter notebook, run a section Add "play" button to Outline for jupyter notebooks

3 participants