nteract / nteract-next

Iterating on the next version of nteract
22 stars 0 forks source link

set up basic crud cell ops on the AppState #11

Closed rgbkrk closed 9 months ago

rgbkrk commented 9 months ago

The most basic of starts. Sets up a super basic App to create, update, and execute cells. Nothing fancy.

image

Introductory Structures

AppState

This is global app state for Tauri that allows us to create notebooks and run commands specific to a notebook that matches up to a window.

Each of these operations are set up as Tauri commands. I didn't check to see if I could declare these functions as the commands themselves. That would probably be cleaner and reduce the boilerplate.

Notebook