A1Liu / webb

WIP Local-first App Framework
MIT License
0 stars 0 forks source link

Widgets #12

Closed A1Liu closed 2 months ago

A1Liu commented 9 months ago

Similar to Robin's system, allow for widget cells which maybe have custom UI using iframe

Also maybe allow the widgets to be developed in the same sheet as theyre being displayed

Wanna stay functional-ish in the spirit of sheets, so for widgets the "return value" of a widget should be a two-way websocket interface or similar. When the return value changes we do the same chaining execution that a spreadsheet would do, but the idea is that the channel won't change frequently.

There's additional questions about reactivity when in lua or etc, we can deal with that later I guess.

Widget Ideas

A1Liu commented 8 months ago

For websocket output, you can create a "websocket" cell and have some cells which communicate over it using essentially pubsub.