tidepool-org / uploader

An Electron app for uploading diabetes device data to Tidepool's backend
BSD 2-Clause "Simplified" License
118 stars 85 forks source link

[UPLOAD-1187][UPLOAD-1186][UPLOAD-1179] enforce patient limit #1611

Closed krystophv closed 7 months ago

krystophv commented 7 months ago

for UPLOAD-1187, UPLOAD-1186 - add UI that shows patient limit modal when attempting to add a patient that would put the clinic over their limit. This "borrows" a lot of the blip code for these things verbatim, which technically includes some dead code paths, but I think the benefit from keeping the relevant files in sync outweighs the drawback of having some unused code. (I'm not dead set on this and could probably be convinced otherwise if there's a good argument for it)

adds the two line fix for UPLOAD-1179 as it came up as an issue for me when doing verification