Commit Graph
90 Commits
Author SHA1 Message Date
Julia Friesel 9938cc48c8 Display cycle day number along with date 2018-06-25 11:04:51 +02:00
Julia Friesel f87f676a99 Draw curve as FlatList instead of monolithic SVG 2018-06-24 22:31:35 +02:00
Julia Friesel fd672ad053 Handle clicks on day column through trasnparent rectangle 2018-06-24 14:57:31 +02:00
Julia Friesel c122344b0f Re-render when bleeding value changes 2018-06-22 15:53:03 +02:00
Julia Friesel c20cadf041 Re-render chart on temp change 2018-06-22 15:43:32 +02:00
Julia Friesel dc8306ff7b Display dot for each temp value 2018-06-22 12:09:58 +02:00
Julia Friesel 3420ac3f87 Move chart t to new component folder 2018-06-20 17:26:04 +02:00
Julia Friesel e39a731ddc Produce multiple curves for discrete cchunks of temps 2018-06-20 17:12:26 +02:00
Julia Friesel 26d6e7f4a1 Exclude data for future dates 2018-06-20 16:02:08 +02:00
Julia Friesel e85e1c0de9 Clean up 2018-06-19 16:17:36 +02:00
Julia Friesel cb21496e2f Make chart scrollable 2018-06-19 15:45:45 +02:00
Julia Friesel 7a9b3558cf Simple way to place bleeding symbol 2018-06-19 12:03:09 +02:00
Julia Friesel c09d681a9d Add key to column 2018-06-19 11:40:52 +02:00
Julia Friesel 84d693a261 Make things slightly prettier 2018-06-19 11:39:31 +02:00
Julia Friesel 7366f65c48 Make day columns clickable and render temp points in middle of column 2018-06-19 11:26:54 +02:00
Julia Friesel 7c6ceb06f5 WIP: Draw curve on current grid 2018-06-19 11:01:38 +02:00
Julia Friesel ea6341af79 Merge branch '77-bug-stale-cycle-day-number' into 'master'
Resolve "bug: stale cycle day number"

Closes #77

See merge request bloodyhealth/drip!16
2018-06-15 15:31:03 +00:00
Julia Friesel a46eb4421b Only remove component's listener, not all 2018-06-15 16:04:05 +02:00
Julia Friesel 1660db41e0 Merge branch '57-refactor-day-view-to-share-state-with-children' into 'master'
Resolve "refactor day view to share state with children"

Closes #57

See merge request bloodyhealth/drip!15
2018-06-15 11:00:24 +00:00
Julia Friesel c72e8d45a9 Rename screen in navigtor 2018-06-14 14:59:43 +02:00
Julia Friesel be0b9ba09e Rename showView callback 2018-06-14 14:49:57 +02:00
Julia Friesel 5041a45576 Rename cycle day container and overview component 2018-06-14 14:48:09 +02:00
Julia Friesel 547d3f7a12 Also navigate to day container from 'edit today' button 2018-06-14 14:11:10 +02:00
Julia Friesel 7dc78ff32c Only show cycle day label when there is a cycle day number 2018-06-14 14:05:14 +02:00
Julia Friesel 166c69581b Disable prop-types rule 2018-06-14 14:02:07 +02:00
Julia Friesel dd8b527f96 Remove navigate from temperature component 2018-06-14 12:08:46 +02:00
Julia Friesel 38b8507091 Remove superfluous listener remove 2018-06-14 11:18:20 +02:00
Julia Friesel 2a1c7fce7c Make bleeding view into a child component 2018-06-14 11:11:23 +02:00
Julia Friesel 7e66b4897f Merge branch '11-make-getcycleday-module' into 'master'
Resolve "Make getCycleDay module"

Closes #11

See merge request bloodyhealth/drip!5
2018-06-13 12:08:45 +00:00
Julia Friesel 94f148ed15 Merge branch 'master' into 11-make-getcycleday-module 2018-06-13 13:44:06 +02:00
Julia Friesel 949c0511e2 Merge branch '28-edit-temperature-screen' into 'master'
Resolve "edit temperature screen"

Closes #28

See merge request bloodyhealth/drip!12
2018-06-13 11:19:38 +00:00
Julia Friesel 0f92f3f87b Use removeAllListeners on unmount 2018-06-13 12:49:29 +02:00
Julia Friesel 05ea9b3ce2 Only require db when necessary 2018-06-13 12:49:29 +02:00
Julia Friesel 9922b2e7b8 Fix bug for just one bleeding day 2018-06-13 12:49:29 +02:00
Julia Friesel ab1ed96966 Change getCycleDayNumber signature and some PR improvements 2018-06-13 12:49:29 +02:00
Julia Friesel f98a60192b Remove listener on componentUnmount and clean up state 2018-06-13 12:49:29 +02:00
Julia Friesel a56ee7df38 Fix case for no previous bleeding day. Use new getCycleDay API 2018-06-13 12:49:29 +02:00
Julia Friesel 5b406848cb Change getCycleDay signature and process LocalDate 2018-06-13 12:49:29 +02:00
Julia Friesel 1430734874 Pass in dates as JS dates, not moment-wrapped 2018-06-13 12:49:29 +02:00
Julia Friesel 3bc85d74fc Get cycle day for day in any cycle, not just the current 2018-06-13 12:49:29 +02:00
Julia Friesel 1cf4087039 Add option for minimum cycle length 2018-06-13 12:49:29 +02:00
Julia Friesel 2b8569d6d0 Exclude excluded bleedings 2018-06-13 12:49:29 +02:00
Julia Friesel 3b2beabb9e Get cycle day number for several happy paths 2018-06-13 12:49:29 +02:00
Julia Friesel 6d37d4517e Merge branch '56-remove-nativescript-from-ci' into 'master'
Resolve "remove nativescript from CI"

Closes #56

See merge request bloodyhealth/drip!13
2018-06-13 08:44:44 +00:00
Julia Friesel d1f284bce5 Use node 8 image adn remove nativescript 2018-06-12 14:44:11 +02:00
Julia Friesel 724e73ad14 Fix getPreviousTemperature, only use temp dates 2018-06-12 13:10:42 +02:00
Julia Friesel cc9746a0ac Remove cycleDay from state 2018-06-12 12:45:32 +02:00
Julia Frieselandemelko d4633e0900 Get previous temperature and fill it as placeholder 2018-06-11 13:53:54 +02:00
Julia Friesel abb6b6c9d2 Merge branch 'save-as-localdate' into 'master'
Save date as localdate instead of JS date

See merge request bloodyhealth/drip!10
2018-06-11 10:00:49 +00:00
Julia Friesel be5ded0755 Merge branch '12-make-calendar-view' into 'master'
Resolve "Make calendar view"

Closes #12

See merge request bloodyhealth/drip!8
2018-06-11 09:48:03 +00:00
Julia Friesel d9083eb9da Merge branch '41-investigate-ismounted-warning-and-get-rid-of-it' into 'master'
Resolve "investigate isMounted() warning and get rid of it"

Closes #41

See merge request bloodyhealth/drip!9
2018-06-11 08:42:16 +00:00
Julia Friesel 75a97089f9 Remove listener when component unmounts 2018-06-09 15:06:13 +02:00
Julia Friesel 6bb6cc1144 Save date as local date string and make it the primary key 2018-06-08 20:55:03 +02:00
Julia Friesel 5243dec09f Ignore "isMounted" warning 2018-06-08 19:49:51 +02:00
Julia Friesel 80bf63adc2 Display differing shades of red depending on bleeding value 2018-06-08 19:05:03 +02:00
Julia Friesel 891b1d517d Rename calendar component 2018-06-08 18:57:19 +02:00
Julia Friesel e340e89a0d Update state with calendar format when bleeding days change 2018-06-08 18:56:00 +02:00
Julia Friesel 2bd0a144ec Add db change listener 2018-06-08 17:47:08 +02:00
Julia Friesel 291992f49a Replace datepicker with calendar 2018-06-08 16:25:32 +02:00
Julia Friesel 5c4959d4bb Add exclude switch 2018-06-06 07:41:42 +02:00
Julia Friesel 1c674b39c9 Add mock for getCycleDay 2018-06-05 18:40:04 +02:00
Julia Friesel a5265cb9a1 Add label in front of bleeding value 2018-06-05 18:36:03 +02:00
Julia Friesel a8c981ee3e Only show days with temperature in list 2018-06-05 18:29:12 +02:00
Julia Friesel c4f68e6065 Display persisted bleeding value in edit view 2018-06-05 18:18:57 +02:00
Julia Friesel 8ee53ba75f Extract labels and format date 2018-06-05 17:44:31 +02:00
Julia Friesel 090f4116d5 Add edit bleeding and persist it. 2018-06-05 16:37:06 +02:00
Julia Friesel ecc4acf366 Merge branch '6-hook-up-realm' into 'master'
Resolve "hook up realm"

Closes #6

See merge request bloodyhealth/drip!4
2018-06-01 15:41:06 +00:00
Julia Friesel b0d7cd4983 Store temperature values as double 2018-05-31 22:19:31 +02:00
Julia Friesel ef5fa16ef4 Rerender list on save 2018-05-31 22:10:11 +02:00
Julia Friesel 167f24b601 Introduce realm and persist temperatures 2018-05-31 21:38:39 +02:00
Julia Friesel 718573d31b Merge branch 'extract-navigator' into 'master'
Extract navigator

See merge request bloodyhealth/drip!3
2018-05-31 11:30:35 +00:00
Julia Friesel 04e4b3f151 Merge branch 'date-picker-page' into 'master'
Date picker page

See merge request bloodyhealth/drip!2
2018-05-31 11:23:52 +00:00
Julia Friesel 36ee9867be Merge branch '26-make-new-home-screen' into 'master'
Resolve "make new home screen"

See merge request bloodyhealth/drip!1
2018-05-31 10:58:50 +00:00
Julia Friesel 2fe554885d Extract navigator and make filenames lowercase, class names uppercase 2018-05-30 21:53:19 +02:00
Julia Friesel 9863da302e Add datepicker view as placeholder for calendar view 2018-05-30 21:35:08 +02:00
Julia Friesel 63b8049d32 Use react-navigation to navigate away from home screen 2018-05-30 13:27:21 +02:00
Julia Friesel c0fb909324 Add buttons to home screen 2018-05-30 13:06:21 +02:00
Julia Friesel 52b04a5115 Remove gitattributes 2018-05-30 12:34:54 +02:00
Julia Friesel 85c65784db Add hot reload instructions 2018-05-29 15:35:17 +02:00
Julia Friesel 31d151dcc2 Update readme 2018-05-29 15:30:39 +02:00
Julia Friesel bc10c9447f Add eslint react plugin 2018-05-29 15:02:10 +02:00
Julia Friesel 1ff3b175d1 Add gitlab CI 2018-05-29 14:57:51 +02:00
Julia Friesel 23e6458bb9 Add eslintrc 2018-05-29 14:57:51 +02:00
Julia Friesel 23437316e8 Add test dir 2018-05-29 14:57:51 +02:00
Julia Friesel 54136940fd Add eslint 2018-05-29 14:57:51 +02:00
Julia Friesel 444420899e Add unit test 2018-05-29 14:57:51 +02:00
Julia Friesel a43a5fd96e Update readme 2018-05-29 13:25:22 +02:00
Julia Friesel 8d0791c06f Update readme 2018-05-29 13:15:47 +02:00
Julia Friesel 4d3a4eb24a Update readme 2018-05-29 12:57:48 +02:00
Julia Friesel 15cf4523c1 Initial commit 2018-05-29 12:53:10 +02:00