Skip to content

Conversation

@markmiro
Copy link
Contributor

@markmiro markmiro commented Sep 22, 2025

Added controls:

  • Run all cells
  • Restart and run all cells (placeholder for now, shows toast)
  • Stop all cells
  • Hide AI Cells
  • Clear all outputs
  • Delete all cells

Also showing blue badge when there's something active under the menu

Screen.Recording.2025-09-22.at.7.26.09.AM-for-gh.mov
Screen.Recording.2025-09-22.at.7.27.33.AM-for-gh.mov

Delete all cells shows an alert to confirm:

Screen.Recording.2025-09-22.at.7.34.41.AM.mov

Added some tweaks to communicate that AI cell filtering could break things:

Screenshot 2025-09-22 at 7 49 54 PM

@markmiro markmiro changed the title Nb-controls Notebook Controls Sep 22, 2025
@markmiro
Copy link
Contributor Author

@rgbkrk I added the AI cell toggle because sometimes that's useful. That context code was AI-generated

@markmiro markmiro changed the title Notebook Controls Notebook controls Sep 22, 2025
@markmiro markmiro marked this pull request as ready for review September 22, 2025 16:03
@markmiro markmiro requested a review from rgbkrk September 22, 2025 16:24
@markmiro
Copy link
Contributor Author

Added the "hide AI cells" for now to see if we want to keep it. It'll

@markmiro
Copy link
Contributor Author

I don't want to put in too much work into AI cell filtering yet. Every query in the UI that asks for cells will likely have to be looked at

name: "v1.MultipleExecutionRequested",
schema: Schema.Struct({
requestedBy: Schema.String,
cellsInfo: Schema.Array(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using cellsInfo is a bit awkward. I don't want to call it cells because it would be missing too many cell details

Copy link
Member

Choose a reason for hiding this comment

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

If you make this "v1.RunAllCells" then you don't have to pass so much in.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did that initially and then realized it wouldn't be deterministic because of the queueId. But your comment holds for the other ones. Others were AI-generated based on this example

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we need to stop using that field. Like, can we take it out?

})
),
}),
}),
Copy link
Member

Choose a reason for hiding this comment

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

I would just make this v1.CancellAllExecutions and then not have to pass in the cell IDs. Same for the others.

@markmiro markmiro marked this pull request as draft October 7, 2025 19:03
@markmiro
Copy link
Contributor Author

Closing in favor of #600

@markmiro markmiro closed this Oct 28, 2025
@rgbkrk rgbkrk deleted the nb-controls branch October 29, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants