Open rssidlowski opened 8 years ago
Here is now things should now work: • When you first add a new sample the app behaves as it had and you need to enter personnel • At that point the personnel selected for the sample becomes the default list for the device and is persisted in local storage • From then on when you save a new sample, the stored personnel list is displayed in a message box that 'Would you like the following personnel to be associated with this sample?' o If you tap yes nothing happens in the UI except the message box closing. In the background the default personnel are assigned the new sample ID and info is posted to the database. If you then click on personnel and for some reason add or delete someone, that’s fine, the edit works like always, but that selection does not become your default list o If you tap no, you’re taken to the personnel page and make your selection as usual. That selection is then stored on the device and becomes your default list.
Tested and this works great. Let's proceed with getting this into production. After 4:30 is best.
Done in prod, sorry for the slight delay :-)
Verified in prod. Users to verify.
On a daily basis the same personnel do sampling. Would like the application to use the last personnel list so they don't have to enter it every time they do another sample.