blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Create a Warnings codelab

Open BeksOmega opened this issue 3 years ago • 0 comments

Category

  • Codelabs

Is your feature request related to a problem? Please describe.

We had requests at the 2022 Blockly Summit for more info about Warnings and setWarningText. It seemed like many people hadn't discovered it, but thought it would be a cool feature to add to their application once they had seen it.

Describe the solution you'd like

A codelab explaining what warnings are, and giving an example of how to use them. The example should probably either apply warnings based on validators or move events (since those are the situations we normally see warnings being applied in).

Describe alternatives you've considered

Some docs about warnings, but I'm not sure where they would go.

Additional context

@maribethb I think this relates to the work you're doing wrt docs.

BeksOmega avatar May 05 '22 16:05 BeksOmega