[LEBV-193] Improve MobbScan integration
🎯 Summary
Lot of new stuff:
- Separate button to start a scan
- Now a scan can be retrieved anytime.
- MobbScan timeouts are handled and an user could retry the scan.
- Messages under the webcam viewport are gone!
- Now a loader indicator appears in the webcam viewport during the document detection.
🧪 How to test
Proposed scenarios:
- Normal scan using buttons.
- Retry scans (back and/or front sides).
- Wait some time without showing a document, and after some time an error should appear. After that, you can retry that side and if the side is detected correctly the message will dissapear.
🧠 Considerations
Placeholder images remain clickable, but their behaviour is the same that the buttons one.
🧐 Checklist
- Changes work in Google Chrome
- Changes work in Safari
- UI is responsive