breadboard-ai / breadboard

A library for prototyping generative AI applications.
Apache License 2.0
106 stars 21 forks source link

Visual Editor `HistoricProvider` #2419

Open Mearman opened 2 weeks ago

Mearman commented 2 weeks ago

When opening a board from a URL e.g. https://breadboard-ai.web.app/?board=https://exadev.github.io/boards/exam-coach.bgl.json. Retain the reference in the visual editor so previously opened boards can be browsed and opened.

paullewis commented 2 weeks ago

We already offer this in the Recent Boards list when you close the board or you open https://breadboard-ai.web.app/ – I'd prefer to not have an ever-growing list of previously opened boards, though, as I think there's a point at which the UX becomes counter-productive.

Mearman commented 2 weeks ago

Ah nice. I hadn't spotted the recent boards section. Though it feels a bit limited compared to handling it like its own provider. You could then allow the user to configure the provider with a max age or number of items, allow items to be deleted, and even fork/copy them to their browser store

paullewis commented 2 weeks ago

Well for that we have the Save As option for folks opening boards they don't have write access to, like the examples or a remote board, and that would allow them to add it to whichever provider they want. I think we should avoid adding another provider here as I don't think it adds enough value for the additional complexity. Happy to be wrong, but I'd like to see things play out a bit first.