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

(8P) FSE: Dynamic Previews: Technical Explorations #33729

Closed
obenland opened this issue Jun 7, 2019 · 3 comments
Closed

(8P) FSE: Dynamic Previews: Technical Explorations #33729

obenland opened this issue Jun 7, 2019 · 3 comments

Comments

@obenland
Copy link
Member

obenland commented Jun 7, 2019

Expand Gutenberg's Block Preview component to accept a list of blocks and editor settings, to render a preview of a page template.

As this is being worked on, please make sure to

  1. Document all problems as they arise, so they can be fixed in Gutenberg.
  2. Keep @youknowriad closely involved.

The goal here is to assess the current state of the Block Preview component and document the next steps necessary for us to be able to use it in the template selector. Ideally, it will result in a list of tasks with enough detail that they can be estimated and prioritized.

See paAmJe-sC-p2.
See WordPress/gutenberg#16033.

@obenland
Copy link
Member Author

obenland commented Jun 12, 2019

@jasmussen's proof of concept of how dynamically generated preview thumbnails could be created: https://codepen.io/joen/pen/KjKoYJ

More context: p1560249679008000-slack-gutenpages

@jasmussen
Copy link
Member

Wanted to share work started on improving the preview component itself:

WordPress/gutenberg#16113

When done, you can feed the component a width and a height and then it should handle the scaling.

@frontdevde
Copy link
Contributor

frontdevde commented Jul 15, 2019

I thought I'll keep a running list of tasks here that I'll update as I come across relevant tasks.

Gutenberg

  • Gutenberg: allow passing blocks as an array to BlockPreview

FSE/SPT

  • tbd

@getdave getdave changed the title FSE: Dynamic Previews: Technical Explorations (8P) FSE: Dynamic Previews: Technical Explorations Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants