figma2html icon indicating copy to clipboard operation
figma2html copied to clipboard

Success/Error Feedback loop

Open sawyerclick opened this issue 2 years ago • 0 comments

Describe the problem

Figma2html doesn't currently display error/success messages. Many users who come to us with issues simply have malformatted YAML or something else wrong with their config file, but figma2html does not warn the user of this. Something is logged to the developer console, but it's not immediately obvious.

Describe the proposed solution

Hook into Figma's notify API and warn users when something goes wrong, and flag when something has gone right. Further, I think we could add an "error" page to print any error. This can live simply in place of the preview exported assets.

Alternatives considered

  • Push users to look at the log?

Importance

nice to have

Code of Conduct

  • [X] I agree to follow figma2html's Code of Conduct

sawyerclick avatar Sep 20 '23 17:09 sawyerclick