microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

Yellow border on Adaptive cards tab

Open RabebOthmani opened this issue 2 years ago • 1 comments

There is a little yellow rectangle that looks like a border? IT's just next the copy button and can be confusing to users as it might look like a button border

RabebOthmani avatar Aug 10 '22 16:08 RabebOthmani

This one is from the Monaco editor that is used to show the JSON here. It's not finding a schema for the JSON supplied and marking a warning, see the squiggly under the opening brace, along with a corresponding mark in the gutter. image

I did some investigation and found that we can turn on the ability to load schema, but then I got a fetch failure. Might be simplest to disable validation or set the schemaRequest issue to off from the default of warning.

Codesandbox exploring validation options: https://codesandbox.io/s/simple-usage-forked-plqtsf?file=/src/App.js

gavinbarron avatar Aug 10 '22 20:08 gavinbarron