Friday, December 17, 2021
1 change
Code cleanup and technical improvements
The Sign app’s underlying JavaScript code was reorganized and modernized to make future improvements easier and safer to deliver. This is mainly an internal cleanup with minimal immediate change for users, though it may slightly improve maintainability and performance in signing flows.
Original PR description
This PR is one of the first in a series of PRs aiming to refactor the sign application until reaching OWL. It handles: - Migration to ES6 modules - Use new assets declaration and break js into multiple files instead of having one backend and one common file. - Overall cleaning of the code (merging common functions, removal of underscore.js, reduce jquery usage, implement arrow functions in order to reduce `const self = this`, linting files to keep consistency) The following PRs will address owl migration and further code cleaning. Since this PR changes the folder structure, many conflicts occur when a change in the JS code is done from another person. So it was decided to merge it ASAP to prevent this.