Commit Graph

197 Commits

Author SHA1 Message Date
Julia Friesel 4b5f4f905a Extract styles and move vertical line a bit so it's completely visible 2018-07-19 07:29:54 +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 67ebacfdd7 Fix whitespace 2018-07-18 16:39:52 +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 1fb6c24629 Update directories to be linted 2018-07-18 13:31:44 +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
bl00dymarie 5725739d4e Merge branch '67-implement-mucus' into 'master'
Resolve "implement mucus"

Closes #67

See merge request bloodyhealth/drip!22
2018-07-16 10:43:31 +00: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
Julia Friesel 7dee497431 Merge branch 'refactor' into 'master'
Refactor markup

See merge request bloodyhealth/drip!25
2018-07-16 09:26:38 +00:00
Julia Friesel 8639208018 Style radio button row 2018-07-15 23:01:10 +02:00
Julia Friesel eba5837350 Simplify markup and move symptom screens to symptom dir 2018-07-15 22:38:41 +02:00
Julia Friesel 9eb1ad6af1 Simplify home screen markup 2018-07-15 22:35:33 +02:00
Julia Friesel 0c92c85baf Simplify overview page markup 2018-07-15 22:32:47 +02:00
Julia Friesel cdbc42ea3a Move format and labels to cycleday component dir 2018-07-15 22:31:44 +02:00
Julia Friesel ec18bd7862 Introduce generic saveSymptom 2018-07-15 22:30:04 +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 125fd84d59 Add another test 2018-07-13 09:09:12 +02:00
Julia Friesel f4aca1f412 Use RN-compatible assert 2018-07-13 09:07:38 +02:00
Julia Friesel b3467005e1 Fix line length linter warnings 2018-07-13 07:20:52 +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
Julia Friesel 9e645ddd8e Add more tests for combinations of fhm and mucus peak 2018-07-11 13:00:16 +02:00
Julia Friesel a1306cd7c5 Use assert for args check 2018-07-10 17:18:50 +02:00
Julia Friesel 60c6189466 Shorten pre-ovu phase when early mucus 2018-07-10 17:04:54 +02:00
Julia Friesel d027c6e9c4 Throw if args are wrong 2018-07-10 16:37:38 +02:00
Julia Friesel 81b7b46b23 Use explicit dates with gaps and fix bugs that this uncovers 2018-07-10 14:22:40 +02:00
Julia Friesel 0de009335f Handle pre-ovulatory = current 2018-07-10 13:22:34 +02:00
Julia Friesel 51bd75fb0f Extract fixtures 2018-07-10 13:10:53 +02:00
Julia Friesel 672235a475 Detect all 3 phases 2018-07-10 13:03:19 +02:00
Julia Friesel f7e1152fdc Implement 5-day-rule 2018-07-10 12:35:40 +02:00
Julia Friesel 0179c4588e Detect pre- and postovulatory phase with no previous higher measurement 2018-07-10 10:56:33 +02:00
Julia Friesel 77ad491d30 Return evaluation completed day from mucus eval 2018-07-10 10:55:33 +02:00
Julia Friesel 9102bce7ce Return cycle phase starts 2018-07-05 14:28:21 +02:00
Julia Friesel 836bea778c Combine temp and mucus evaluation 2018-07-05 13:53:06 +02:00