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

Autoscaling/sizing Block previews #16113

Closed
wants to merge 27 commits into from
Closed

Autoscaling/sizing Block previews #16113

wants to merge 27 commits into from

Conversation

jasmussen
Copy link
Contributor

@jasmussen jasmussen commented Jun 12, 2019

This PR is a work in progress. It starts work on improving the preview component to be way more useful. GIF:

better previews

The key thing that makes this work, is to calculate what the scale value should be, and the way to calculate that is relatively trivial.

In fact, the component itself can be reauthored to receive a source width and a source height attribute, and it will take care of itself.

For example, if you want a landscape preview, you could do this:

<BlockPreviewContent srcWidth={ 400 } srcHeight={ 300 } ... />

and we could create JS to fill in the blanks. Specifically that math is outlined here:

https://github.com/WordPress/gutenberg/compare/try/better-previews?expand=1#diff-15792e4bd87a6bedb42355c3fd500733R67

Imagine the block you're previewing is an SVG. It has to have an explicit width and height, and then it can be scaled down perfectly according to the intrinsic aspect ratio that creates. In the code shown above, we use a 4:3 landscape aspect ratio, so the block is rendered at 400x300.

The next step is to calculate the scale value based on where the thumbnail will be shown. Right now the style variation previews are 124px wide, so the math looks like this:

Math.min( 124 / 400 ), which comes to 0.31. And sure enough, when we apply transform: scale(0.31) the preview looks perfect:

Screenshot 2019-06-12 at 13 07 26

The only missing piece here is that the container needs some responsive magic as well. It's here:
https://github.com/WordPress/gutenberg/compare/try/better-previews?expand=1#diff-15792e4bd87a6bedb42355c3fd500733R41

The height is 0, but a padding-top: 75% is applied. This padding provides the aspect ratio of the div to scale as a responsive container (see also this for more details). Where does that value come from? Simple: srcHeight / srcWidth * 100. So for our case, it's 300 / 400 * 100 = 75.

So for example if you wanted a portrait 9:16 preview thumbnail, you might provide these dimensions:

<BlockPreviewContent srcWidth={ 450 } srcHeight={ 800 } ... />

This would provide a padding value of 177%. And if shown as a 200px wide thumbnail, the scale factor would be 0.25.

@youknowriad does the above make sense? If you have time feel free to take a look at the PR. Otherwise I'll explore improving the component as my next step. Right now the most difficult piece for me is that the padding-top has to be applied to the container of the preview, and the dimensions and scale factor has to be applied to the child of the container. So I might end up creating additional markup inside the preview component to make this happen.

Terminology

The following screenshots helps to disambiguate some of the terms used to identify the different types of preview.

Annotation on 2019-08-01 at 12-58-27

To Demo

Show Quote style before and after (big padding and large typography makes it overflow now)

Todo

  • Test @jorgefilipecosta e2e test fix and implement here
  • Get more input on Unit tests and fix
  • Review Riad's comment about buttons and fix as required

@jasmussen jasmussen self-assigned this Jun 12, 2019
@jasmussen jasmussen changed the title First stab at a proof of concept. First stab at improving the preview component Jun 12, 2019
@senadir
Copy link
Contributor

senadir commented Jun 12, 2019

@jasmussen I'm working on an unreleased PR that handles some bugs in the preview scrolling or panel on general (see issue #16028), those styles will affect the overall structure of the element (a new div has to be created) also I'm switching the alignment of preview panel from absolute to using flex on the parent, I will try to test your changes with mine later this day and see how we can incorporate them both

@jasmussen
Copy link
Contributor Author

Worth noting that next steps for this PR likely includes adding an additional wrapper regardless, because we need 1 outer wrapper for container aspect ratio padding, and an inner wrapper that holds the content and is scaled down. So that might be fine.

@jasmussen
Copy link
Contributor Author

jasmussen commented Jun 13, 2019

Alright, I've pushed a fair bit of polish to the component. The PR is now 95% complete.

What's happened:

  • The CSS has been moved to the appropriate places, i.e. to the preview compoment rather than the block switcher where it was before.
  • Lots of comments, lots of code cleanup.
  • New variables for srcWidth and srcHeight that can be passed to the compoment — these are the dimensions at which the item to preview would be rendered at 100% size.
  • A new destWidth variable, which indicates the dimensions of the size the thumbnail should be shown at. I'll get back to this in a minute.
  • The scale factor necessary to scale down the thumbnail perfectly based on its source dimensions and destination dimensions.

It works pretty well:

better previews

The missing piece here is to refactor away the destWidth variable. It is necessary in order to calculate the transform factor necessary to scale the thumbnail correctly. Rigth now it is hardcoded, but it would be really nice if we could calculate this, since we're already in the JS doing things.

@jasmussen
Copy link
Contributor Author

I tried applying your patch, but must've mangled it somehow, so I wasn't able to verify whether it worked as it should. Would definitely appreciate some code help. @gziolo my favorite :D do you have time for some feedback there?

@mtias
Copy link
Member

mtias commented Jun 18, 2019

Thanks for looking at these. They are a central piece for the experience.

@mtias mtias added [Feature] UI Components Impacts or related to the UI component system [Feature] Blocks Overall functionality of blocks labels Jun 18, 2019
@jasmussen jasmussen marked this pull request as ready for review June 27, 2019 07:28
@jasmussen
Copy link
Contributor Author

Alright friends, I think this is ready for review!

The code that was added by @getdave (thank you and props) works great. I added a few tweaks, some cleanup, and a stub README. As it stands, this now works well.

Remaining tasks are:

  • Code review
  • Figure out why the tests fail
  • I could use help with the README

@jasmussen
Copy link
Contributor Author

Here's a little GIF as a tease:

preview

@getdave
Copy link
Contributor

getdave commented Jul 12, 2019

@jasmussen I'm struggling with how best to manually test this in browser. Might sound silly but do you have a nice workflow to test?

@jasmussen
Copy link
Contributor Author

For now I've simply just verified that every piece of the editor that uses this component looks right. That is, open the block library and hover over a reusable block, or open the switcher or styles panel for a block that has variations, such as Quote or Button.

@mtias mtias added the [Priority] High Used to indicate top priority items that need quick attention label Jul 14, 2019
@mtias
Copy link
Member

mtias commented Jul 14, 2019

Can we address the pending comments and get this in?

getdave and others added 8 commits August 1, 2019 10:04
This reverts commit ea573f9.

The reason being that there is no benefit of using shadow DOM and it introduces additional complexity.
After much experimenting we’ve decided that attempting to reliably detect the visual size of the Block’s visual contents is impossible. This is due to inconsistencies in the DOM markup of each Block.

See #16113 (comment)
As discussed here #16113 (comment), there is little point in having thumbnail preview and large popover preview showing the same thing.

Update to introduce a prop to opt in to scaling the preview. By default the preview is no auto-scaled.

Apply `true` value to `BlockPreview` to ensure that Block Styles popover preview is scaled to fit.
@retrofox
Copy link
Contributor

retrofox commented Aug 1, 2019

@retrofox Ok - thanks for experimenting here. Is this based on any further information from @mtias as to why that would be a good idea?\

No, any extra information from Matias. What I did were learning and experimenting with shadow DOM for a short time since I hadn't clue how it works. After reading and playing with this, conclude that although it could be a very powerful resource to handle components previsualization it's clearly out of the scope of this approach.

I'm unclear as to why that would be desirable. We want to display the styles that come with the Block.

Being able to apply global and specific styles in a solid way to components.

The idea behind using this approach is selecting specific styles to visualize each component. Generally, need to use global styles for all components (current one), but sometimes it could be useful to isolate specific styles for each component. Shadow DOM handles this case in an extremely safe way.

Sorry by my mistake to not being 100% clear about experimenting around the shadow dom. Next time I'll create another branch.

@obenland
Copy link
Member

obenland commented Aug 1, 2019

Seems like there is a unit test failing currently:

FAIL packages/block-editor/src/components/block-preview/test/index.js (14.755s)
  ● BlockPreviewContent › renders a preview with suitable default dimensions

    Method “props” is meant to be run on 1 node. 0 found instead.
      26 | wrapper.update();
      27 |
    > 28 | const previewAspectRatioStyle = wrapper.find( '.editor-block-preview__container' ).first().prop( 'style' );
         | 		                                                                                           ^
      29 | const previewTransform = wrapper.find( '.editor-block-preview__content' ).first().prop( 'style' ).transform;
      30 | const previewScale = parseInt( previewTransform.match( /\d/ )[ 0 ], 10 );
      31 | 

@getdave
Copy link
Contributor

getdave commented Aug 2, 2019

The direction of this has pivotted and is now running over at #16873

@obenland
Copy link
Member

obenland commented Aug 2, 2019

Closing in favor of #16873.

@obenland obenland closed this Aug 2, 2019
@obenland obenland deleted the try/better-previews branch August 2, 2019 20:03
retrofox pushed a commit that referenced this pull request Aug 2, 2019
retrofox pushed a commit that referenced this pull request Aug 2, 2019
retrofox pushed a commit that referenced this pull request Aug 2, 2019
retrofox pushed a commit that referenced this pull request Aug 2, 2019
Was previously using React createRef.

Addresses #16113 (comment)
retrofox pushed a commit that referenced this pull request Aug 2, 2019
After much experimenting we’ve decided that attempting to reliably detect the visual size of the Block’s visual contents is impossible. This is due to inconsistencies in the DOM markup of each Block.

See #16113 (comment)
retrofox pushed a commit that referenced this pull request Aug 2, 2019
As discussed here #16113 (comment), there is little point in having thumbnail preview and large popover preview showing the same thing.

Update to introduce a prop to opt in to scaling the preview. By default the preview is no auto-scaled.

Apply `true` value to `BlockPreview` to ensure that Block Styles popover preview is scaled to fit.
obenland pushed a commit that referenced this pull request Aug 7, 2019
* First stab at a proof of concept.

* Attempt to programmatically determine dest dimensions

* Add README stub.

* Updates to use default args for width and height

Addresses #16113 (comment)

* Update class namespaces to match package

Addresses #16113 (comment)

* Add width and height as Effect Hook deps

Addresses #16113 (comment)

* Use correct `createRef` from @wordpress/element

Was previously using React createRef.

Addresses #16113 (comment)

* Revert "Update class namespaces to match package"

This reverts commit 24252fa887986548839e7d9a6fe2639807ed0bc6.

* Migrate to useRef hook

* Adds basic unit test

Still a WIP

* Refactor to avoid unecessary state and simplify implementation of scaling

* Add some padding to the preview

Avoids Blocks butting up against the edges of the preview, especially if the preview wrapper has rounded corners which can cause the Blocks to be clipped.

* Refactor to utilise JS template strings

* WIP: Adds zoom for small individual blocks

With small individual Blocks showing the preview at “actual size” (even when scaled to fit) is a bit odd. Everything still looks very zoomed out and far away.

Updates to check DOM for largest element within the Block and use that width to calculate a “zoomed” scale value so that the contents of the Block itself is shown zoomed in.

Still WIP

* Updates to target block contents more reliably and to calc entire box model in width

* block-preview: render scaled preview in a shadow dom

* try: setting styles to shadow dom elements

* Revert "try: setting styles to shadow dom elements"

This reverts commit ea573f9.

The reason being that there is no benefit of using shadow DOM and it introduces additional complexity.

* Removes attempt at auto zoom on Block contents

After much experimenting we’ve decided that attempting to reliably detect the visual size of the Block’s visual contents is impossible. This is due to inconsistencies in the DOM markup of each Block.

See #16113 (comment)

* Updates to remove scale by default in favour of opt in via prop

As discussed here #16113 (comment), there is little point in having thumbnail preview and large popover preview showing the same thing.

Update to introduce a prop to opt in to scaling the preview. By default the preview is no auto-scaled.

Apply `true` value to `BlockPreview` to ensure that Block Styles popover preview is scaled to fit.

* Adds scaleFactor prop to provide control for non dynamically scaled preview

* Adjust scaleFactor for Block Styles preview

* Fix to ensure hooks are called unconditionally to obey rules of Hooks

See https://reactjs.org/docs/hooks-rules.html

* Removes padding and border from preview on designer advice

* Only apply dimensions to preview content when dynamically scaling

* block-preview: a different approach attempt.

* Correct typo in util function name

* Seek the firstChild of the Block DOM node

* Tidy up effect timers and improve comments

* Dynamically calculate widths and offsets of preview container

Removes hardcoded values.

* Updates to account for widths of all Blocks passed into to preview

Preivously we only considered a single Block scenario. However, the recent addition of multi block support for Previews means we need to ensure we’re measuring the widths of _all_ Blocks.

* Revert class additions to Blocks

* Adds optional scope to DOM utils. Use to limit scope in Block width comparison.

* Update packages/block-editor/src/components/block-preview/index.js

Co-Authored-By: Riad Benguella <benguella@gmail.com>

* Allow prop based opt out from scaling

* Fix to ensure smallest Block is found even if smaller than container

Preivously we were default to the container width being the largest item. In fact we always want to determine the largest Block contents element and use that to determine the scale.

* Remove unecessary Math.min usage

* core/button: adjust dims of button wrapper

* apply vertical alignment

* set scale factor to 0.9

* rollback testing purpose comment

* cpre/button: keep adjusting styles for preview

* rename vars and css class names

* adjust rebase

* restore isScaled factor scale

* set the scale adjustment in the proper place

* update README file

* core/button: tidy edit preview styles

* coer/button: tweak button preview

* preview-block: ensure make the preview visible.

* block-preview: hide dropzone

* core/button: adjust preview for thumb and full sizes

* core/button: set same width for preview

* core/button: because it's !important

* core/button: set nowrap button in preview

* core/button: set nowrap onlu for button

* core/quote: adjust quote size

* Make previews overflow to the bottom.

Currently still has a bug where the large `.block-editor-block-switcher__preview` pane behaves like it's previewing a taller block, when it's not

* Revert "core/button: set nowrap onlu for button"

It breaks previews of long buttons

This reverts commit 758468c.

* Fix unit test

* core/button: apply nowrap only to buttons

* Try a fixed canvas width

* Fix blocks editor styles

* core/button: centering preview

* core/button: adjust only into teh styles preview

* block-preview: remove scaleAdjustment property

* block-preview: hide inserte element in preview

* block-preview: just pick up the first block to scale

* block-preview: fix set tall class. X position (wip)

* popover: remove commented lines

* Refactor the preview

* Remove debug code

* simplify preview resets

* Fix the preview recomputing

* Vertical alignining small blocks

* block-editor: restore viewportWidth as a property

* Update Readme docs

Props @marekhrabe.

* Remove tests for now

We'll revisit when we have a better idea what specifically we should be testing

* block-preview: simplify comparision

* Remove readme updates that break tests

* Update docs properly.

See 6f29c27
gziolo pushed a commit that referenced this pull request Aug 29, 2019
* First stab at a proof of concept.

* Attempt to programmatically determine dest dimensions

* Add README stub.

* Updates to use default args for width and height

Addresses #16113 (comment)

* Update class namespaces to match package

Addresses #16113 (comment)

* Add width and height as Effect Hook deps

Addresses #16113 (comment)

* Use correct `createRef` from @wordpress/element

Was previously using React createRef.

Addresses #16113 (comment)

* Revert "Update class namespaces to match package"

This reverts commit 24252fa887986548839e7d9a6fe2639807ed0bc6.

* Migrate to useRef hook

* Adds basic unit test

Still a WIP

* Refactor to avoid unecessary state and simplify implementation of scaling

* Add some padding to the preview

Avoids Blocks butting up against the edges of the preview, especially if the preview wrapper has rounded corners which can cause the Blocks to be clipped.

* Refactor to utilise JS template strings

* WIP: Adds zoom for small individual blocks

With small individual Blocks showing the preview at “actual size” (even when scaled to fit) is a bit odd. Everything still looks very zoomed out and far away.

Updates to check DOM for largest element within the Block and use that width to calculate a “zoomed” scale value so that the contents of the Block itself is shown zoomed in.

Still WIP

* Updates to target block contents more reliably and to calc entire box model in width

* block-preview: render scaled preview in a shadow dom

* try: setting styles to shadow dom elements

* Revert "try: setting styles to shadow dom elements"

This reverts commit ea573f9.

The reason being that there is no benefit of using shadow DOM and it introduces additional complexity.

* Removes attempt at auto zoom on Block contents

After much experimenting we’ve decided that attempting to reliably detect the visual size of the Block’s visual contents is impossible. This is due to inconsistencies in the DOM markup of each Block.

See #16113 (comment)

* Updates to remove scale by default in favour of opt in via prop

As discussed here #16113 (comment), there is little point in having thumbnail preview and large popover preview showing the same thing.

Update to introduce a prop to opt in to scaling the preview. By default the preview is no auto-scaled.

Apply `true` value to `BlockPreview` to ensure that Block Styles popover preview is scaled to fit.

* Adds scaleFactor prop to provide control for non dynamically scaled preview

* Adjust scaleFactor for Block Styles preview

* Fix to ensure hooks are called unconditionally to obey rules of Hooks

See https://reactjs.org/docs/hooks-rules.html

* Removes padding and border from preview on designer advice

* Only apply dimensions to preview content when dynamically scaling

* block-preview: a different approach attempt.

* Correct typo in util function name

* Seek the firstChild of the Block DOM node

* Tidy up effect timers and improve comments

* Dynamically calculate widths and offsets of preview container

Removes hardcoded values.

* Updates to account for widths of all Blocks passed into to preview

Preivously we only considered a single Block scenario. However, the recent addition of multi block support for Previews means we need to ensure we’re measuring the widths of _all_ Blocks.

* Revert class additions to Blocks

* Adds optional scope to DOM utils. Use to limit scope in Block width comparison.

* Update packages/block-editor/src/components/block-preview/index.js

Co-Authored-By: Riad Benguella <benguella@gmail.com>

* Allow prop based opt out from scaling

* Fix to ensure smallest Block is found even if smaller than container

Preivously we were default to the container width being the largest item. In fact we always want to determine the largest Block contents element and use that to determine the scale.

* Remove unecessary Math.min usage

* core/button: adjust dims of button wrapper

* apply vertical alignment

* set scale factor to 0.9

* rollback testing purpose comment

* cpre/button: keep adjusting styles for preview

* rename vars and css class names

* adjust rebase

* restore isScaled factor scale

* set the scale adjustment in the proper place

* update README file

* core/button: tidy edit preview styles

* coer/button: tweak button preview

* preview-block: ensure make the preview visible.

* block-preview: hide dropzone

* core/button: adjust preview for thumb and full sizes

* core/button: set same width for preview

* core/button: because it's !important

* core/button: set nowrap button in preview

* core/button: set nowrap onlu for button

* core/quote: adjust quote size

* Make previews overflow to the bottom.

Currently still has a bug where the large `.block-editor-block-switcher__preview` pane behaves like it's previewing a taller block, when it's not

* Revert "core/button: set nowrap onlu for button"

It breaks previews of long buttons

This reverts commit 758468c.

* Fix unit test

* core/button: apply nowrap only to buttons

* Try a fixed canvas width

* Fix blocks editor styles

* core/button: centering preview

* core/button: adjust only into teh styles preview

* block-preview: remove scaleAdjustment property

* block-preview: hide inserte element in preview

* block-preview: just pick up the first block to scale

* block-preview: fix set tall class. X position (wip)

* popover: remove commented lines

* Refactor the preview

* Remove debug code

* simplify preview resets

* Fix the preview recomputing

* Vertical alignining small blocks

* block-editor: restore viewportWidth as a property

* Update Readme docs

Props @marekhrabe.

* Remove tests for now

We'll revisit when we have a better idea what specifically we should be testing

* block-preview: simplify comparision

* Remove readme updates that break tests

* Update docs properly.

See 6f29c27
gziolo pushed a commit that referenced this pull request Aug 29, 2019
* First stab at a proof of concept.

* Attempt to programmatically determine dest dimensions

* Add README stub.

* Updates to use default args for width and height

Addresses #16113 (comment)

* Update class namespaces to match package

Addresses #16113 (comment)

* Add width and height as Effect Hook deps

Addresses #16113 (comment)

* Use correct `createRef` from @wordpress/element

Was previously using React createRef.

Addresses #16113 (comment)

* Revert "Update class namespaces to match package"

This reverts commit 24252fa887986548839e7d9a6fe2639807ed0bc6.

* Migrate to useRef hook

* Adds basic unit test

Still a WIP

* Refactor to avoid unecessary state and simplify implementation of scaling

* Add some padding to the preview

Avoids Blocks butting up against the edges of the preview, especially if the preview wrapper has rounded corners which can cause the Blocks to be clipped.

* Refactor to utilise JS template strings

* WIP: Adds zoom for small individual blocks

With small individual Blocks showing the preview at “actual size” (even when scaled to fit) is a bit odd. Everything still looks very zoomed out and far away.

Updates to check DOM for largest element within the Block and use that width to calculate a “zoomed” scale value so that the contents of the Block itself is shown zoomed in.

Still WIP

* Updates to target block contents more reliably and to calc entire box model in width

* block-preview: render scaled preview in a shadow dom

* try: setting styles to shadow dom elements

* Revert "try: setting styles to shadow dom elements"

This reverts commit ea573f9.

The reason being that there is no benefit of using shadow DOM and it introduces additional complexity.

* Removes attempt at auto zoom on Block contents

After much experimenting we’ve decided that attempting to reliably detect the visual size of the Block’s visual contents is impossible. This is due to inconsistencies in the DOM markup of each Block.

See #16113 (comment)

* Updates to remove scale by default in favour of opt in via prop

As discussed here #16113 (comment), there is little point in having thumbnail preview and large popover preview showing the same thing.

Update to introduce a prop to opt in to scaling the preview. By default the preview is no auto-scaled.

Apply `true` value to `BlockPreview` to ensure that Block Styles popover preview is scaled to fit.

* Adds scaleFactor prop to provide control for non dynamically scaled preview

* Adjust scaleFactor for Block Styles preview

* Fix to ensure hooks are called unconditionally to obey rules of Hooks

See https://reactjs.org/docs/hooks-rules.html

* Removes padding and border from preview on designer advice

* Only apply dimensions to preview content when dynamically scaling

* block-preview: a different approach attempt.

* Correct typo in util function name

* Seek the firstChild of the Block DOM node

* Tidy up effect timers and improve comments

* Dynamically calculate widths and offsets of preview container

Removes hardcoded values.

* Updates to account for widths of all Blocks passed into to preview

Preivously we only considered a single Block scenario. However, the recent addition of multi block support for Previews means we need to ensure we’re measuring the widths of _all_ Blocks.

* Revert class additions to Blocks

* Adds optional scope to DOM utils. Use to limit scope in Block width comparison.

* Update packages/block-editor/src/components/block-preview/index.js

Co-Authored-By: Riad Benguella <benguella@gmail.com>

* Allow prop based opt out from scaling

* Fix to ensure smallest Block is found even if smaller than container

Preivously we were default to the container width being the largest item. In fact we always want to determine the largest Block contents element and use that to determine the scale.

* Remove unecessary Math.min usage

* core/button: adjust dims of button wrapper

* apply vertical alignment

* set scale factor to 0.9

* rollback testing purpose comment

* cpre/button: keep adjusting styles for preview

* rename vars and css class names

* adjust rebase

* restore isScaled factor scale

* set the scale adjustment in the proper place

* update README file

* core/button: tidy edit preview styles

* coer/button: tweak button preview

* preview-block: ensure make the preview visible.

* block-preview: hide dropzone

* core/button: adjust preview for thumb and full sizes

* core/button: set same width for preview

* core/button: because it's !important

* core/button: set nowrap button in preview

* core/button: set nowrap onlu for button

* core/quote: adjust quote size

* Make previews overflow to the bottom.

Currently still has a bug where the large `.block-editor-block-switcher__preview` pane behaves like it's previewing a taller block, when it's not

* Revert "core/button: set nowrap onlu for button"

It breaks previews of long buttons

This reverts commit 758468c.

* Fix unit test

* core/button: apply nowrap only to buttons

* Try a fixed canvas width

* Fix blocks editor styles

* core/button: centering preview

* core/button: adjust only into teh styles preview

* block-preview: remove scaleAdjustment property

* block-preview: hide inserte element in preview

* block-preview: just pick up the first block to scale

* block-preview: fix set tall class. X position (wip)

* popover: remove commented lines

* Refactor the preview

* Remove debug code

* simplify preview resets

* Fix the preview recomputing

* Vertical alignining small blocks

* block-editor: restore viewportWidth as a property

* Update Readme docs

Props @marekhrabe.

* Remove tests for now

We'll revisit when we have a better idea what specifically we should be testing

* block-preview: simplify comparision

* Remove readme updates that break tests

* Update docs properly.

See 6f29c27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Feature] UI Components Impacts or related to the UI component system Needs Design Feedback Needs general design feedback. Needs Technical Feedback Needs testing from a developer perspective. [Priority] High Used to indicate top priority items that need quick attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants