jacopocolo / p5-sketchplugin

A plugin for using p5.js code inside Sketch
http://www.jacopocolo.com/p5sketchplugin/
GNU Lesser General Public License v2.1
220 stars 12 forks source link

Suggestion: 'Artboard changed' visual indicator UI #21

Closed songcarver closed 6 years ago

songcarver commented 6 years ago

Although the console would provide heavier debugging abilities, I find myself just turning on and off something to see if p5 actually ran or not (since sometimes changing code can produce no result, or negligible). Some simple visual indicator for 'the artboard changed' might be useful for this.

Thanks!

jacopocolo commented 6 years ago

That's a great idea. I didn't think it was possible but… I just tried and it's actually very simple. I’m not working a lot on this plugin lately but expect a tiny update in few days!

jacopocolo commented 6 years ago

@songcarver maybe something like this? I’m catching errors and displaying a notification — otherwise it just works. It seems better than having a success notification every time you run your code.

error-message

jacopocolo commented 6 years ago

Implemented error handing in release 1.1.1. @songcarver, it's not exactly what you asked but let's see if it helps. I’m still considering a more subtle success message but it's not part of this release.

songcarver commented 6 years ago

Implementation works great for me.