[backport v4.32.0] feat: use ProofWidgets graphviz widget - #193
Conversation
|
Thanks a lot! I am still consolidating some relevant code, I think we should be able to land this hopefully in the next couple of days. |
522ab69 to
4c99b75
Compare
|
Hi @Vtec234, thanks for the PR. I played around with it a little. A few comments:
My main question is about how to store the info-tree data for Blueprint- and Verso-specific information. Before this commit deactivated it, I was using This was used, for example, to allow previews when clicking on pieces of data such as I see you are indeed using a custom Verso Blueprint infotree data. What should be the way forward here? Should we keep the Blueprint-specific Second: now that the widget has seen some much-needed love, I would like to reactivate the preview. How should we approach the UI aspect? Do you have any ideas or suggestions? Thanks! |
Indeed; sorry for the churn here. It was interesting what happened: the harness went sideways because of a corner case that I hadn't anticipated. My order to Codex was "rebase and build PR#193 locally with full artifacts", which I often do for testing with the large reference blueprints interactively. However, the PR was pulling a recent proofwidgets version, which bumped the global toolchain to 4.32. This won't work in our setting, the reference blueprints at the time required 4.31. Codex went into a hole backporting the widget code to 4.31, etc... It was way too eager, and created a mess. When I realized, I restored PR state manually, but forgot to fully revert the PR description. Of course, Codex wanted to add more harness code to detect this situation in the future (lake bumps effective toolchain via a dep), but I refused, enough harness inflation already! :D
The main case I was thinking of is showing a preview of a lemma when you are around
Indeed, this is exactly what I was thinking. I'll try to cook a vertical space below the widget. Do we have all the required web components already in ProofWidgets, or do you think we should add some more for this use case. |
ejgallego
left a comment
There was a problem hiding this comment.
Great stuff, thanks a lot!
I'll rebase on top of 4.33 branch, backport (using Codex, which should be the identity) and merge.

Summary
Backport #425 to
v4.32.0.Primary Review
Scope
v4.32.0.cherry-pick -x.Backport Delta