Workflow diff can not properly show changes of newly created workflow file

When a new workflow file is created, you can not see differences properly on workflow diff. It show full txt version of the workflow file like the following

Hi @aeb-dev

I think this is the expected behaviour, because the file was just created, so the first compare point is nothing at all.

Could you maybe share more insights into how you would see this work?

I don’t think this is expected.

The file is a xaml file which can be parsed like the following:

image

It should not matter whether the file existed before.
If the file never existed before (meaning it is a new file) just color everything as green to indicate everything is new

Indeed. We have registered it as a bug to be fixed in future releases.