Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pickling widgets for archival #13

Open
Vtec234 opened this issue May 4, 2023 · 0 comments
Open

Pickling widgets for archival #13

Vtec234 opened this issue May 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Vtec234
Copy link
Collaborator

Vtec234 commented May 4, 2023

A pickled widget is a widget module together with its Props serialized for the purpose of archival, for example on a static webpage via LeanInk.

We should provide a mechanism to pickle widgets, and a stub of the @leanprover/infoview module which pickled widgets would import. Some things obviously cannot work when there is no Lean server present, for example attempting an RPC call in the stub environment will fail, but as long as the widget Props contain sufficient data to display something informative, they can be archived.

@Vtec234 Vtec234 added the enhancement New feature or request label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant