This PR adds a button to the Marlowe Editor that copies to the clipboard a link that will load the current contract in the Marlowe Editor when clicked. The button only works for correct contracts with no holes, since it has to be encoded as JSON.
Pre-submit checklist:
Branch
[ ] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated
This PR adds a button to the Marlowe Editor that copies to the clipboard a link that will load the current contract in the Marlowe Editor when clicked. The button only works for correct contracts with no holes, since it has to be encoded as JSON.
Pre-submit checklist: