Skip to content

Notebook execution model API (+ clear outputs side effects) #103713

@rebornix

Description

@rebornix

We implemented Clear Outputs command/action in the core and have it displayed in the cell toolbar. However the side effects of this command is not clear

  • ✅ it clear the outputs of the active cell, and emit the output change event
  • ❓ it does not clear the status
  • ❓ it does not clear the execution count, duration time, etc
  • ❓ it does interrupt the active execution
  • ❓ it does not make the document dirty

It's not clear to extension authors who should handle what: should the core modify the status when outputs are cleared? should the core make the document dirty? If the extensions are responsible for that, what events should they listen to?

cc @roblourens @DonJayamanne

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions