Commit Graph
100 Commits
Author SHA1 Message Date
Julia Friesel 5371e5c85c Attempt to recreate with CSS 2018-08-09 21:23:14 +02:00
Julia Friesel f5b3716191 Merge branch '118-bug-export-is-missing-file-extension' into 'master'
Resolve "bug: export is missing file extension"

Closes #118

See merge request bloodyhealth/drip!47
2018-08-07 08:57:42 +00: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 355bcbe809 Extract labels 2018-08-06 13:37:35 +02:00
Julia Friesel 4b971a1f23 Merge branch '91-clean-up-line-length-warnings' into 'master'
Resolve "clean up line length warnings"

Closes #91

See merge request bloodyhealth/drip!43
2018-08-06 11:27:35 +00:00
Julia Friesel 364daee488 Fix import 2018-08-06 13:15:48 +02: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 e1fa656b8f Shorten line length in temperature 2018-08-06 13:10:59 +02:00
Julia Friesel da29c2751b Shorten line lengths in home 2018-08-06 13:10:59 +02:00
Julia Friesel c525812a0e Reduce line lengths 2018-08-06 13:10:59 +02:00
Julia Friesel 310683c5f8 Programmatically add props to cycle day views 2018-08-06 13:10:59 +02:00
Julia Friesel e51a99b8af Clean up line lengths in calendar 2018-08-06 13:10:59 +02:00
Julia Friesel 01d40a6d21 Merge branch 'upgrade-reaxct-native' into 'master'
Upgrade to RN 56 and gradle 3

See merge request bloodyhealth/drip!45
2018-08-06 11:01:21 +00:00
Julia Friesel ebb628c6b9 Move export logic to separate module 2018-08-06 09:51:12 +02:00
Julia Friesel 9e8005960e Handle special characters in strings 2018-08-06 09:27:28 +02:00
Julia Friesel f8007fac14 Use db schema to make column names 2018-08-04 09:57:20 +02:00
Julia Friesel 831e99351d Add toCSV function 2018-08-04 07:54:12 +02:00
Julia Friesel 03fe92750d Set up export button to export a simple file 2018-08-03 19:32:56 +02:00
Julia Friesel 315bdf3a02 Fix babel/register for mocha 2018-08-03 17:12:08 +02:00
Julia Friesel 79379276a7 Upgrade to RN 56 and gradle 3 2018-08-03 16:21:50 +02:00
Julia Friesel 125fe03678 Fix test file name spelling 2018-08-02 15:52:32 +02:00
Julia Friesel 3ab918abd9 Merge branch '99-take-out-invalid-mucus-change' into 'master'
Resolve "Take out invalid mucus change"

Closes #99

See merge request bloodyhealth/drip!37
2018-08-02 09:26:42 +00:00
Julia Friesel 8bbf122d12 Ignore 0 -> 1 mucus shift 2018-08-02 11:12:01 +02:00
Julia Friesel 6ac642b91c Merge branch '95-bug-ignore-mucus-values-in-irrelevant-phase' into 'master'
Resolve "bug: ignore mucus values in irrelevant phase"

Closes #95

See merge request bloodyhealth/drip!42
2018-08-02 08:36:04 +00:00
Julia Friesel 574e7ed854 Ignore highest quality after end of eval 2018-08-01 16:45:41 +02:00
Julia Friesel 2950abf047 Merge branch '70-implement-note-2' into 'master'
Resolve "implement note"

Closes #70

See merge request bloodyhealth/drip!33
2018-07-25 09:14:58 +00:00
Julia Friesel d44b6c348e Add note symptom view 2018-07-25 11:11:57 +02:00
Julia Friesel 2d3c74db02 Merge branch '73-implement-nfp-logic-for-mucus-mode' into 'master'
Resolve "implement NFP logic for mucus mode"

Closes #73

See merge request bloodyhealth/drip!20
2018-07-25 08:56:34 +00:00
Julia Friesel e3b8e5d717 Fix label, replace old property 2018-07-24 17:52:44 +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 5468c8051d Merge branch 'master' into 73-implement-nfp-logic-for-mucus-mode 2018-07-23 19:00:49 +02:00
Julia Friesel cac2e4b6e9 Merge branch '90-show-mucus-on-chart' into 'master'
Resolve "show mucus on chart"

Closes #90

See merge request bloodyhealth/drip!30
2018-07-23 16:44:54 +00:00
Julia Friesel 201a0d0ae1 Re-add delete all button 2018-07-23 12:59:40 +02:00
Julia Friesel f52401d05d Add button to add dummy data 2018-07-23 12:22:27 +02:00
Julia Frieselandemelko 32c08c8df7 Fix cycle day overview categories inline 2018-07-20 18:58:30 +02:00
Julia Friesel c184485c1d Add mucus icon to chart 2018-07-20 12:52:10 +02:00
Julia Friesel fc014f3ee2 Merge branch '89-make-symptom-views-vertically-scrollable' into 'master'
Resolve "make symptom views vertically scrollable"

Closes #89

See merge request bloodyhealth/drip!29
2018-07-20 10:08:11 +00:00
Julia Friesel 2a2f91fc55 Make everything scrollable 2018-07-20 11:54:47 +02:00
Julia Friesel 48aba2bbaf Merge branch '66-add-local-time-to-temp' into 'master'
Resolve "add local time to temp"

Closes #66

See merge request bloodyhealth/drip!26
2018-07-20 05:58:09 +00:00
Julia Friesel 44c31b197e Use time picker for time field 2018-07-19 18:27:46 +02:00
Julia Friesel b63a9560df Draw horizontal line only during temp measuring phase 2018-07-19 07:51:28 +02:00
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 8afbaa485c Only activate save button when time is a valid one 2018-07-18 16:51:49 +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 ce87dda091 Make time field visible for new temps also 2018-07-16 19:01:45 +02:00
Julia Friesel e3ddcaa0b1 Save time when first entering temp 2018-07-16 18:54:09 +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
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
Julia Friesel f1f9c7773a Expect cycle days, not numbers, in getTemperatureStatus 2018-07-05 12:10:18 +02:00
Julia Friesel 537b8c7647 For 3 following values, look at mucus days, not cycle days 2018-07-05 09:51:54 +02:00
Julia Friesel 2f8054c1fa Add mucus shift detection 2018-07-05 09:39:08 +02:00
Julia Friesel e4bae38d13 Introduce facade for sympto 2018-07-05 09:39:08 +02:00
Julia Friesel fb990b5a4b Fix tests to fit new sympto api 2018-07-05 09:39:08 +02:00
Julia Friesel 9c1876e876 Change sympto module structure 2018-07-05 09:39:08 +02:00
Julia Friesel 1c791df5ad Hook up fertility temp status to app 2018-07-05 09:39:08 +02:00
Julia Friesel 03a0f1fb75 Implement second exception rule 2018-07-05 09:39:08 +02:00
Julia Friesel 8db92e96f3 Add tests for invalid shifts 2018-07-05 09:39:08 +02:00
Julia Friesel 1eb3f4a14a Change API so it doesn't return unnecessary info 2018-07-05 09:39:08 +02:00