180 Commits

Author SHA1 Message Date
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
tina 80cabee66b adds more meaningful messages to assertion errors 2018-09-03 13:07:40 +02:00
emelko 3ff7dd7340 Merge branch 'master' 2018-09-03 10:55:27 +02:00
tina 54a3db4096 Merge branch '98-function-to-get-predicted-bleeding-dates' into 'master'
Resolve "write function to get predicted bleeding dates (and use it in calendar)"

Closes #97 and #98

See merge request bloodyhealth/drip!60
2018-08-31 09:48:30 +00:00
Julia Friesel c5178ea441 If time has already passed, start notification tomorrow 2018-08-28 09:19:22 +02:00
Julia Friesel eb41ae354f Use rn-push-notifications and set up recurring notification 2018-08-28 09:19:22 +02:00
Julia Friesel b90fda113d First attempt at notifying at given time 2018-08-28 09:17:10 +02:00
tina e047440068 changs output of getpredictedmenses, adds days to calendar 2018-08-23 17:28:53 +02:00
tina 497a3a3ff5 adds more tests for period predictions, moves getcycleslength into cycle module 2018-08-23 11:36:57 +02:00
tina ea21fc92a2 moves getCycleLength to corresponding files, adds function to get next menses (not finished) with first tests 2018-08-22 18:21:57 +02:00
Julia Friesel b07a2c8a53 Move db operations back to db module 2018-08-16 08:26:08 +02:00
Julia Friesel 77bda6bf53 Make import errors prettier and actually handle them 2018-08-16 08:26:08 +02:00
Julia Friesel 88b0dba3b6 Clean up file structure 2018-08-16 08:26:08 +02:00
tina f2b8723fb9 resolves some of the suggested improvements, renames the term period with cycle 2018-08-09 18:31:14 +02:00
tina c99aa7509d improves functions and stats are displayed in a nicer format 2018-08-09 14:02:17 +02:00
tina 6135c92268 possible to get all cycle lengths, which get evaluated in stats 2018-08-08 16:10:09 +02:00
tina 897e99e6af adds stats button on home screen, and creates stats screen, length still needs to be calculated 2018-08-08 16:10:09 +02:00
Julia Friesel 1dd6649f27 Make file extension work and remove some unneeded stuff 2018-08-06 17:04:37 +02:00
Julia Friesel 7ea6a683ff Merge branch '113-add-button-to-export-to-settings-page' into 'master'
Resolve "Add button to export to settings page"

Closes #113

See merge request bloodyhealth/drip!46
2018-08-06 12:49:44 +00:00
Julia Friesel a2c428e991 Shorten line lengths in cycle 2018-08-06 13:10:59 +02:00
Julia Friesel 63154be24a Shorten line lengths in sympto 2018-08-06 13:10:59 +02:00
Julia Friesel 2f9b08fd8b Shorten line lengths in cycle 2018-08-06 13:10:59 +02:00
Julia Friesel ebb628c6b9 Move export logic to separate module 2018-08-06 09:51:12 +02:00
Julia Friesel 8bbf122d12 Ignore 0 -> 1 mucus shift 2018-08-02 11:12:01 +02:00
Julia Friesel 574e7ed854 Ignore highest quality after end of eval 2018-08-01 16:45:41 +02:00
tina 00a7de0faf little improvements and test for array of one element 2018-08-01 15:49:44 +02:00
tina 9664984e72 rounds period stats, adds tests 2018-08-01 15:19:59 +02:00
tina cceecc071d computes the stats about the period lengths, started tests 2018-07-31 15:06:16 +02:00
Julia Friesel a2400983cf Move status labels to cycle day labels 2018-07-24 14:30:20 +02:00
Julia Friesel 5ce6bc8cfc Handle cycle with mucus on first cycle day 2018-07-24 14:21:10 +02:00
Julia Friesel 955207ed8d Draw vertical and horizontal line in chart for completed sympto eval 2018-07-19 07:17:30 +02:00
Julia Friesel 58aa0c4b8d Remove assumeFertility from status, derive from phases instead 2018-07-18 14:18:04 +02:00
Julia Friesel ebf18dac22 Refactor getStatusAsString 2018-07-18 14:14:43 +02:00
Julia Friesel 42a96da69d Change cycle module API, add getCycleForDay, remove unused functions 2018-07-18 13:32:40 +02:00
Julia Friesel 52b6e5de0a Make previousCycle explicit in signature 2018-07-18 10:02:11 +02:00
Julia Friesel b455a030cc Label last day of post-ovu phase differently 2018-07-16 18:39:40 +02:00
Julia Friesel 79f17644d7 ComputedNfp => value 2018-07-16 18:21:58 +02:00
Julia Friesel c96d3d4550 Merge branch 'master' into 73-implement-nfp-logic-for-mucus-mode 2018-07-16 13:55:07 +02:00
emelko 7e0456c10f Adding unit tests to all possible mucus feeling/texture combinations 2018-07-16 11:58:42 +02:00
Julia Friesel 18d6a8c05a Cleanup 2018-07-13 12:14:08 +02:00
Julia Friesel 85e2703b2f Get previous cycles before detecting fertility status 2018-07-13 11:30:54 +02:00
Julia Friesel 8a8b131064 Use new smpto module in day view 2018-07-13 09:10:00 +02:00
Julia Friesel de2233f998 Fix assert for bleeding value === null 2018-07-13 09:09:45 +02:00
Julia Friesel 7382bff0dd Implement minus 8 day rule 2018-07-13 07:14:36 +02:00
Julia Friesel d5aa903da4 Check for fhm according to nfp, not just temp shift 2018-07-13 06:44:23 +02:00
Julia Friesel 93ff7a0f8f Set up failing test for minus 8 rule 2018-07-12 11:55:42 +02:00
Julia Friesel 19e880183e Accept previousCycles as array 2018-07-11 14:14:42 +02:00