-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add WordPress Playground blueprint #78
Conversation
"pluginZipFile": { | ||
"caption": "Installing Remote Data Blocks", | ||
"resource": "url", | ||
"url": "https://github-proxy.com/proxy/?repo=Automattic/remote-data-blocks&release=ae7f58e&asset=remote-data-blocks.zip" |
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.
"url": "https://github-proxy.com/proxy/?repo=Automattic/remote-data-blocks&release=ae7f58e&asset=remote-data-blocks.zip" | |
"url": "https://github-proxy.com/proxy/?repo=Automattic/remote-data-blocks&release=latest&asset=remote-data-blocks.zip" |
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.
I wish, doesn't work
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.
Hmm... thought @stoph was using that somewhere.
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.
It's working for me, able to download the zip file with latest
in 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.
@mehmoodak But is the downloaded file non-empty or unzippable? I think @stoph was working on a fix.
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.
It's empty 😓
maybe worth tossing a step to set the site title to something non-generic? (in case of multiple open windows, for example)
|
@jarekmorawski is this happening on a particular remote block or all remote blocks? |
I synced quickly with Jarek, the issue happens when editing content via the Site Editor as opposed to the regular post editor. Will investigate |
This adds a working blueprint for WordPress Playground. This is not an alternative dev environment, since Playground still does not support cURL transport, object cache, etc. But it is a useful way to explore the capabilities of the plugin.
Try it with this link, which points to the
blueprint.json
in this PR:https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/Automattic/remote-data-blocks/8110ff9b3ed36823935bcfccabf0510c9a665051/blueprint.json
It works via #75, which ships a static example API that does not rely on HTTP transport. A single Remote Data Block is available, "Conference Event":
Screen.Recording.2024-09-19.at.15.32.48.mov