observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Snapshot-handled Cloud Files for Public Notebooks #521

Open ciscorucinski opened 1 year ago

ciscorucinski commented 1 year ago

Is your feature request related to a problem? Please describe.

Cloud Files are currently not supported for Public notebooks due to the need to use OAuth.

Describe the solution you'd like

Observable has given the following workaround to using cloud files ...

Cloud files / Observable | Observable You can create a public notebook with the information from a cloud file if you first snapshot the cloud file to a regular file attachment.

However, Observable could take this one step further and handle snapshots to avoid the need for OAuth. The notebook owner can indicate that they want snapshots saved every x interval (maybe on-demand if possible via cloud file API??), and Observable would handle snapshotting of the needed data.

When a new user opens the Notebook, they get the most recent Snapshot of the data. When a user forks the Notebook, only the most recently handled Snapshot is available to that Notebook; I would assume Snapshotting would be disabled for forked notebooks.