Commit Graph
79 Commits
Author SHA1 Message Date
emelko 855b69a349 Adds test for:
* latest valid cervix shift
* late and therefore invalid cervix shift
2018-10-01 08:57:22 +02:00
emelko a95f9c05cc Rendering icons on cycle day overview 2018-09-26 14:29:27 +02:00
emelko a56e6e999c Adding all the symptom icons, made with <3 by Paula 2018-09-26 14:29:06 +02:00
emelko fc514a793d Rename contraception option 'unprotected' in 'none' 2018-09-26 12:25:44 +02:00
emelko a13b03c7f8 Disables pain in future, bc this would make our user a prophet :) 2018-09-21 19:50:02 +02:00
emelko b973119321 Add 'unprotected' and 'diaphragm" to contraceptives 2018-09-20 22:36:21 +02:00
emelko 19d4743d0e Leaves out position value for db fixtures and test data 2018-09-20 21:00:43 +02:00
emelko 15ec2e9557 Merge branch 'master' into 170-adding-tests-to-cervix-temp-cases 2018-09-20 18:04:11 +02:00
emelko 0747a07aac Adding cervix-temp tests * when args are wrong * testing minus-8 rule 2018-09-19 10:43:56 +02:00
emelko cb953881a9 Adding secondarySymptom
* so calculating preOvuPhase with cervix is possible
2018-09-19 10:36:41 +02:00
emelko ef51dab423 Update fixtures for test dummy data in app 2018-09-18 11:24:48 +02:00
emelko 14989d81d5 Add better test as dummy cervix data 2018-09-13 10:49:42 +02:00
emelko 76056e1db0 Improving cervix:
* adding tempEvalEnd value to cervix tests
* more comments in code for cervix sympto
* better description in cervix temp tests
* take out cervix.value
2018-09-13 09:54:13 +02:00
emelko 3f5c86086d Renaming test cycles for cervix+temp to be more explicit abt what they do 2018-09-10 12:28:54 +02:00
emelko 2f42840faa Revert "Renaming test cycles to be more explicit abt what they do"
This reverts commit 969da1d163.
2018-09-10 12:09:37 +02:00
emelko 21dba52753 Renaming for more precision 2018-09-09 16:35:16 +02:00
emelko 1b0d04dfc0 Fixing cervix unit tests 2018-09-08 14:47:31 +02:00
emelko ab2dd76bf4 Liberating a forgotten .only from tests 2018-09-08 13:27:38 +02:00
emelko 969da1d163 Renaming test cycles to be more explicit abt what they do 2018-09-08 13:22:17 +02:00
emelko e1d6345434 Removing comment & making error comments even more helpful 2018-09-08 12:57:38 +02:00
emelko 9f5eb7c32e Adding when temp and secSymptom evaluation is over at the same day 2018-09-08 12:53:37 +02:00
emelko ef45fd9098 Deleting unused code 2018-09-08 12:45:58 +02:00
emelko d644c880d5 Deletes cervix out of chart 2018-09-07 20:10:32 +02:00
emelko 966af702b1 Merge branch 'master' into 83-implement-nfp-logic-for-cervix-mode 2018-09-07 19:59:55 +02:00
emelko 6192473e53 Merge branch '83-implement-nfp-logic-for-cervix-mode' of gitlab.com:bloodyhealth/drip into 83-implement-nfp-logic-for-cervix-mode 2018-09-07 19:54:29 +02:00
emelko 5cb4c01cec First 9 tests for cervix temp combination 2018-09-07 19:49:52 +02:00
emelko 0b856e298a Symptom values must have exclude: false for tests; consistency for defining functions 2018-09-07 19:49:03 +02:00
emelko e2c8292d7f secondarySymptom as default;
be more explicit for periOvuEnd calculation
2018-09-07 19:45:55 +02:00
emelko d16feb6d58 Renaming cervixPeak in cervixPeakBeforeShift bc it mustn't be the highest cervix value 2018-09-05 16:03:27 +02:00
emelko 809b0f438f Adding more error messages for better understanding of failing tests when arguments are wrong <3 2018-09-05 15:31:03 +02:00
emelko abee426337 Renaming nextDays in nextDaysAfterFhm when calculating temperatureShift 2018-09-05 15:30:38 +02:00
emelko 20dc238ea4 Replacing mucus default with secondarySymptom 2018-09-05 15:29:32 +02:00
emelko 1c2c45f8c6 Changes cervix value to check for opening and firmness value 2018-09-05 15:27:04 +02:00
emelko 21d6e24f23 Add more details to cervix-temp fixtures and to mucus-temp spec 2018-09-03 11:23:50 +02:00
emelko e81c30f7b9 Better naming for infertile cervix value, matching the actual labels 2018-09-03 11:18:04 +02:00
emelko 9e1393766a Split fixtures into temp & mucus and temp & cervix files
Add first blueprint for temp&cervix tests
2018-09-03 11:16:14 +02:00
emelko 4f3334bef7 cervix has 3 properties
cervix position is now optional;
no computed value needed, therefore no test
2018-09-03 11:14:07 +02:00
emelko 60d6e21c57 Detects cervix shift in one happy path; including test 2018-09-03 11:11:33 +02:00
emelko 3ff7dd7340 Merge branch 'master' 2018-09-03 10:55:27 +02:00
emelko 5acb6639ba Deletes old console.logs 2018-08-31 21:28:31 +02:00
emelko ea83d6eb6b Merge branch 'master' into 117-implement-pain 2018-08-31 20:59:23 +02:00
emelko a664b6dfa8 Fixing pain and sex label for entering "other" and "note", displayed as:
- Other 
or if note is true
- Other (This is a note.)
2018-08-31 20:55:51 +02:00
emelko 1c95ff3488 Adding autofocus to note when there is nothing entered yet 2018-08-31 19:49:15 +02:00
emelko 895057e2f6 Takes back updated package-lock.json 2018-08-31 12:02:58 +02:00
emelko 38b454fb0b Merge branch 'master' into 117-implement-pain 2018-08-31 11:58:57 +02:00
emelko ab4149373f If sex.other and/or pain.other gets a note, label will only display the note itself 2018-08-30 23:45:40 +02:00
emelko 9f62ab34f3 Deletes bundle file 2018-08-30 21:43:05 +02:00
emelko b5e58c176a Merge branch 'master' into 117-implement-pain 2018-08-30 21:40:37 +02:00
emelko 5cdf73cea6 Gets rid of line break in note "Enter" instead of "En-ter" 2018-08-30 21:39:53 +02:00
emelko 7c1cd18b1c SexLabel on cycle day overview now shows all the selected values 2018-08-30 21:39:21 +02:00
emelko 4dd1ae3f29 Adds migraine as pain item to the db 2018-08-30 21:38:37 +02:00
emelko 8e56fc0b23 Adds new set of labels for chosing intensity of a tracking category 2018-08-03 13:28:10 +02:00
emelko e42d25a087 Revert "Renames cervixPosition labels into more universal positionOrIntensity"
This reverts commit f7efadb08a.
2018-08-03 13:22:34 +02:00
emelko 30839b5589 Adds desire as a tracking category to our app;
no exclude, no fancy nothing else, only pure desire tracking.
2018-08-02 17:19:21 +02:00
emelko f7efadb08a Renames cervixPosition labels into more universal positionOrIntensity 2018-08-02 17:18:19 +02:00
emelko fb3b01a57d Rescues a forgotten console log 2018-08-02 17:17:17 +02:00
emelko 5f840aa669 For the sake of not exceeding max line length 2018-07-30 18:29:35 +02:00
emelko 20d1af4cdd Fix mucus.value instead of mucus.computedNfp; additional check for mucus.value 2018-07-30 16:39:10 +02:00
emelko 6855a905fe Small update of README 2018-07-25 11:59:58 +02:00
emelko edc701873e Adding missing android res files 2018-07-25 11:23:08 +02:00
emelko bae2192a60 Consistency of no space in {} 2018-07-23 18:16:22 +02:00
emelko bcc901c061 Fixing bleeding and temperature button label on cycle day overview 2018-07-23 18:15:57 +02:00
emelko 0f6f28e8e4 Implementing Julia's suggestion to remove repetition 2018-07-20 19:11:24 +02:00
emelko b8e99194d9 Reorganise labels for cylce day overview 2018-07-20 18:25:20 +02:00
emelko 4a2b99f9d5 Adds cervix to symptoms:
has 3 properties: opening, firmness and position (which is optional);
2018-07-20 18:24:04 +02:00
emelko 6f755c55dc Post refactor clean-up 2018-07-16 12:39:11 +02:00
emelko 0da3810aeb Better naming for bleedin labels 2018-07-16 11:58:55 +02:00
emelko d89e103843 Adding computed NFP mucus value to database and do cycle day overview 2018-07-16 11:58:42 +02:00
emelko 7e0456c10f Adding unit tests to all possible mucus feeling/texture combinations 2018-07-16 11:58:42 +02:00
emelko 9ab4bd0dfa If existing display mucus feeling and texture value on button 2018-07-16 11:58:42 +02:00
emelko bb27cb0983 Add disabled to check for feeling AND texture to be selected; needs state 2018-07-16 11:57:20 +02:00
emelko 2b5e6351f7 [WIP] first draft implementing mucus 2018-07-16 11:56:55 +02:00
emelko f2ad9f10c0 Disable save button for temp when no value entered 2018-06-13 12:25:58 +02:00
emelko 61e44ceb2f No values for day now don't display empty elements anymore but sets them to null 2018-06-12 13:30:33 +02:00
emelko d93164ae04 Bugfix parsing only value of temp toString 2018-06-12 11:30:36 +02:00
emelko 2f58db84c8 Edit temperature, save value to db, show on dayview 2018-06-11 13:40:04 +02:00
emelko 98b0a4c6e9 Set exclude correctly in state 2018-06-06 12:00:06 +02:00
emelko 4cd0984f0b Set home as main component, rename list 2018-05-30 12:33:19 +02:00
emelko ef9f2f2822 Update package-lock 2018-05-30 11:14:25 +02:00