ontyj / nusion

Nuke/Fusion Node Converter
3 stars 1 forks source link

show conversion report for users #13

Open ontyj opened 4 years ago

ontyj commented 4 years ago

After a user converts a node, the site should display a user-friendly conversion report in case there was an attribute that could not be converted, even though the rest of the node converted successfully.

Potentially a toast, although it might get missed?

Example:

"Conversion successful"

Warnings:

"Attribute 'note_font_size' on node 'Blur1' could not be converted: Fusion does not support this feature."

ontyj commented 4 years ago

convert() function will return:

{
    "output": "<converted node>",
    "report": [
        {
            "severity": 1,
            "response": "Error message or warning goes here"
        }
    ]
}