Skip to content

Creating measurements faster

Bence Kovács requested to merge feature/createmeasurement_faster into develop

issue #90 (closed) Data creation has been parallelized so that it won't freeze the createmeasurement screen. Backup creation logic changed a bit, it has been changed to a debounce structure (using lodash debounce), in order not to have error-s when there is a bunch of parallel createBackup call. It is possible, that not after every creation will be a backup, but after every creating session, it is faster and doesn't make a lot of I/O operation. Notifications has been modified so that a 'data recording in progress' notification will be shown during save. Added dismissable notifications to the notification handler, a dismissTime prop tells the handler when to delete the notification, single setTiomeouts won't be necessary to hide one.

Fixed some cases when fast in-out navigation could cause app crash because of the notificationHandlers null reference.

Edited by Bence Kovács

Merge request reports