Skip to content

Add validation for Carb Entry Absorption time (less than 999)#96

Merged
ps2 merged 1 commit into
LoopKit:devfrom
sharpfive:feature/absorption-validation
Feb 15, 2017
Merged

Add validation for Carb Entry Absorption time (less than 999)#96
ps2 merged 1 commit into
LoopKit:devfrom
sharpfive:feature/absorption-validation

Conversation

@sharpfive

Copy link
Copy Markdown
Contributor

Don't allow absorption time entries over 999. Basic validation from the Carb Entry Edit VC.

LoopKit/Loop#312

@ps2

@ps2

ps2 commented Feb 11, 2017

Copy link
Copy Markdown
Collaborator

I can see it popping up a window to suggest < 999 minutes for CA when I enter large values, but when I do enter a valid value, it doesn't seem to be saving.

@sharpfive

Copy link
Copy Markdown
Contributor Author

Fixed. There is code checking the sender of the Unwind Segue. If it's not the SaveButton it's assumed to be a Cancel.

@sharpfive sharpfive force-pushed the feature/absorption-validation branch from 798eb61 to a19da7b Compare February 14, 2017 20:19
@ps2 ps2 merged commit ef5ad2e into LoopKit:dev Feb 15, 2017
ps2 pushed a commit that referenced this pull request Aug 4, 2020
- https://tidepool.atlassian.net/browse/LOOP-1144
- Move StoredDosingDecision Codable from LoopKit to Loop to support error serialization
- Update DosingDecisionStore to store and retrieve generalized data
- Update decoding of optional properties to use decodeIfPresent
- Use static encoder and decoder for StoredSettings
- Add additional remote data service logging in MockService
- Update coding tests to check intermediate serialized data string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants