block-lab icon indicating copy to clipboard operation
block-lab copied to clipboard

Maybe consider alternative to deprecated DotTip

Open kienstra opened this issue 6 years ago • 1 comments

The DotTip for additional CSS classes, added in https://github.com/getblocklab/block-lab/pull/304, was recently deprecated in Gutenberg.

For now, I removed it in https://github.com/getblocklab/block-lab/pull/492/commits/440f50abd405e010193cec4258904fd5d686cd48. We got a report in the #support Slack channel of it causing an error.

Gutenberg suggests to use the Guide component instead.

But that doesn't look to have a way to disable the specific Guide in the future, like how the DotTip had a way to disable it.

And the Guide would appear for all users, even those who already disabled the specific DotTip.

We could probably implement something of our own, but it might be too complex.

kienstra avatar Jan 12 '20 17:01 kienstra

It looks like the Guide component can detect if all DotTips have been dismissed, like by clicking the 'disable tips' x from Luke's screenshot. But it can't detect if this specific tip was dismissed.

kienstra avatar Jan 12 '20 17:01 kienstra