flatironinstitute / stan-playground

Run Stan models in the browser
Apache License 2.0
36 stars 1 forks source link

Feature: select from recent projects #137

Open magland opened 4 months ago

magland commented 4 months ago

It would be nice if the user could select from recent previously loaded projects, especially considering that the query string of the URL disappears on opening (so you can't easily bookmark things).

Here's one way this could be implemented:

In the "load project" dialog, have a new section that allows user to either proide a URI to the project (e.g., Gist) or select from a list of previously loaded projects. The list of projects would be maintained in browser localStorage and would include the URI for the project plus the title. Important to keep track of and display the titles because Gist URI strings are not very helpful for human inspection.