Open href opened 9 years ago
Other thoughts:
I think alert boxes could benefit from a js api. I would recommend writing a react based component akin to the confirmation dialog. Something like this would then trigger an alert right away:
show_alert("My alert");
show_message("My alert", 'alert');
It's a bit of a rewrite of the server-side alerts but it's shouldn't be too much code. I think that's preferable to a full page reload.
As for localizing, a locale.js is missing anyway and its addition would make sense. Have a look at how seantis.reservation does locale.js for an example:
https://github.com/seantis/seantis.reservation/blob/master/seantis/reservation/js/locale.js
Even more improvements:
We should support more file types (I see it's easy to do) - like zip, xls, doc.The files view would be better if we used a list instead of a grid.