mozilla / scanjs

[DEPRECATED] Static analysis tool for javascript code.
Other
428 stars 38 forks source link

visual ui feedback #64

Closed mozfreddyb closed 10 years ago

mozfreddyb commented 10 years ago

I'd like to introduce a div tag to index.html that are styled to be well placed (i.e. top, center, overlay) to provide visual feedback for all sorts of UI interactions like "scan complete", "scan started", "file loading" etc.

This div tag shall have the alert and one of the alert-info (blue), alert-error (red) and alert-warning (yellow) classes attached to it whenever we call a function that triggers those visual clues.

Those classes should automatically be removed after a certain timeout, e.g. 1 second. I guess it's unlikely that one would want to display more than one of those things - otherwise we could just include three tags instead of one that is repurposed all the time.

Any comments, @pwnetrationguru? Otherwise I'll take this soonish :)

mozfreddyb commented 10 years ago

we have throbbers and badges now. closing.