Uppy 0.19: Tests, Informer details and better APIs
Hello! The 0.19
release is about internal fixes, optimizations and
refactoring, as well as some work on PRs that we’ll hopefully tell you about
soon!
Jest tests
Thanks to our contributer, @richardwillars, and following the example set by Uppy Server, we’ve switched to Jest for Uppy’s unit tests, and added a bunch of new tests as well. And even more are being added as we speak!
We're also happy to report that more tests have been added for Uppy Server.
Dashboard APIs
We’ve exposed show/hide/isOpen
APIs for the Dashboard UI plugin. Now you can
open and close the modal dialog programmatically:
const modal = uppy.getPlugin('Dashboard');
modal.show();
// ...
button.addEventListener('click', () => {
if (modal.isOpen()) {
modal.hide();
} else {
modal.show();
}
});
Check out the docs.