-
Notifications
You must be signed in to change notification settings - Fork 107
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
Open examples in Processing #618
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for java-processing-faf822 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
||
const OpenWithButton = ({ pdes }) => { | ||
const main = pdes[0] | ||
let sketchURL = `pde://sketch/base64/${stringToBase64(main.code)}?pde=` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesnt this leave an extra ?pde=
at the end of the URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary? Could we avoid it?
I made some changes to the styling and content of the tooltip and made it dismissable by clicking outside of it. @Stefterv: my code may not be the cleanest so feel free to make edits. 2025-03-27.14.41.28.mp4 |
The newest beta supports a new schema for opening Sketches in Processing from a link.
This PR adds an
Open With Processing
button to all the examples on the website.2025-03-26.10.48.20.mp4