Skip to content

Add playground#29

Merged
jeffpaul merged 10 commits intodevelopfrom
feature/add-playground
Aug 28, 2024
Merged

Add playground#29
jeffpaul merged 10 commits intodevelopfrom
feature/add-playground

Conversation

@thrijith
Copy link
Copy Markdown
Member

Description of the Change

  • This adds blueprint to for enabling live preview on wp.org playground

Closes #27

How to test the Change

Changelog Entry

Added - Enable playground for Plugin.

Credits

Props @jeffpaul, @thrijith

Checklist:

Copy link
Copy Markdown
Collaborator

@dkotter dkotter left a comment

Choose a reason for hiding this comment

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

So this works (well it will work once the plugin is on .org) but it just lands you on a blank edit screen. I'd suggest for a better experience, we actually create a page that has the Figma Block, with an actual Figma URL already set in the block. This will be a better preview experience than forcing someone to add the block themselves

@jeffpaul jeffpaul added this to the 0.3.0 milestone Aug 19, 2024
@thrijith thrijith requested a review from dkotter August 20, 2024 17:31
@jeffpaul jeffpaul removed their request for review August 20, 2024 17:47
}
},
{
"step": "importFile",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

importFile has been deprecated and this should be importWxr instead

"step": "importFile",
"file": {
"resource": "url",
"url": "https:\/\/raw.githubusercontent.com\/10up\/figma-block\/05a11e7ed51038173610e543cb02fc56024f0c1f\/.wordpress-org\/blueprints\/demo-data.xml"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We'll probably want to ensure this URL get's updated to point to develop before this is merged

@thrijith thrijith requested a review from dkotter August 21, 2024 08:37
@jeffpaul jeffpaul merged commit 35ce589 into develop Aug 28, 2024
@jeffpaul jeffpaul deleted the feature/add-playground branch August 28, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add WordPress Playground integration

3 participants