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

PLT-8277 - Add a button to copy to the clipboard a link to the current contract in the Marlowe editor #52

Merged
merged 2 commits into from
Oct 28, 2023

Conversation

palas
Copy link
Collaborator

@palas palas commented Oct 26, 2023

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.

image

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

@palas palas added the enhancement New feature or request label Oct 26, 2023
@palas palas requested a review from paluh October 26, 2023 18:07
@palas palas self-assigned this Oct 26, 2023
Copy link
Collaborator

@paluh paluh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@paluh paluh merged commit 8b10021 into main Oct 28, 2023
5 checks passed
@paluh paluh deleted the PLT-8277 branch October 28, 2023 08:59
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

Successfully merging this pull request may close these issues.

2 participants