block-pattern-explorer icon indicating copy to clipboard operation
block-pattern-explorer copied to clipboard

Improve the loading state

Open ndiego opened this issue 3 years ago • 0 comments

Prior to version 0.3.0, the button that launches the Block Pattern Explorer (BPE) was disabled while pattern category types are fetched from block-pattern-explorer/v1/pattern-category-types. Category types are an enhancement unique to the BPE. On slow sites, this "wait" was noticeable and jarring. We opted to remove the disabled state on the button in 0.3.0 but a better solution is needed.

Now if the use clicks the button too quickly, the default state of the explorer leaves a lot to be desired.

image

ndiego avatar Jan 13 '22 20:01 ndiego