tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.07k stars 524 forks source link

Remove bluebird dependency #2725

Closed bedhub closed 3 years ago

bedhub commented 3 years ago

With our new supported browser policy we can now remove bluebird as a dependency. We already removed it from the native desktop client part and we should change the flow typing.


Test notes:

charlag commented 3 years ago

Regarding Promise.map:

https://github.com/sindresorhus/p-map

charlag commented 3 years ago

.catch() is now unsafely typed, it is not bound to the type of the promise (R) and we probably don't want to change the type of the chain in catch():

https://github.com/tutao/tutanota/blob/80937efa35353e16b4213e67e5b5dcfac3404f30/flow/api/libs.js#L51-L59

johnbotris commented 3 years ago

Moving multiple mails from different mailboxes is not possible in search

The folder button still remains but the dropdown is empty. Not sure if this exists on production already