grafana / play-thema

https://grafana.github.io/play-thema/
4 stars 1 forks source link

Replace Console component with basic text output #47

Closed Clarity-89 closed 1 year ago

Clarity-89 commented 1 year ago

The output Console while adds a nice visual touch, can also be distracting for the users who want to see the results of their schema validation faster. But more importantly, it adds some technical challenges, like using the window object to communicate between components, which introduces extra technical complexity.

I suggest this component to be simplified to just a text output which immediately shows the result of the validation operations. Additionally, visually the error and success outputs could be split into two separate boxes.

joanlopez commented 1 year ago

Sounds good! Let's discuss it with Joseph and look for ideas how it should look like.

Clarity-89 commented 1 year ago

Done as part of https://github.com/grafana/play-thema/pull/57.