codelab icon indicating copy to clipboard operation
codelab copied to clipboard

Create a fake console

Open kirjs opened this issue 6 years ago • 0 comments
trafficstars

What the issue is about

If the user breaks interactive exercise, there is an error in the console, but there is no user feedback: image

We should handle this use case better.

Many of existing online JS environments actually display a fake console, notifying the users of errors. image

We should probably do the same.

Where to start

Start by breaking something locally

While setting up runner to forward the errors would be a pretty advance task, it should be possible to define the component and APIs without wiring it up, and that would be a very valuable contribution.

kirjs avatar Oct 30 '19 20:10 kirjs