Commit Graph

111 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
tina c73d7cced6 Merge branch '76-change-day-view-layout' into 'master'
Resolve "change day view layout"

Closes #76

See merge request bloodyhealth/drip!17
2018-06-18 17:11:27 +00:00
tina feb642aa92 put view styles in styles.js 2018-06-18 14:06:32 +02:00
tina 4a5afd4662 change layouts of cycle-day, edit symptoms screens and home 2018-06-15 19:31:29 +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
tina cd3cc3c7ea Merge branch 'master' into '28-edit-temperature-screen'
# Conflicts:
#   home.js
2018-06-13 11:11:25 +00:00
tina 73c5785fc0 Merge branch '52-add-edit-symptoms-for-today-button' into 'master'
Resolve "add edit symptoms for today button"

Closes #52

See merge request bloodyhealth/drip!14
2018-06-13 11:06:21 +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
tina 30304bb1b5 button 'edit symptoms for today' actually goes to dayview of today 2018-06-13 12:28:23 +02:00
emelko f2ad9f10c0 Disable save button for temp when no value entered 2018-06-13 12:25:58 +02:00