Commit Graph

93 Commits

Author SHA1 Message Date
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 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
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
emelko 61e44ceb2f No values for day now don't display empty elements anymore but sets them to null 2018-06-12 13:30:33 +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
emelko d93164ae04 Bugfix parsing only value of temp toString 2018-06-12 11:30:36 +02:00
Julia Friesel d4633e0900 Get previous temperature and fill it as placeholder 2018-06-11 13:53:54 +02:00
emelko 2f58db84c8 Edit temperature, save value to db, show on dayview 2018-06-11 13:40:04 +02:00
tina 933b64056a Merge branch '54-check-what-happens-when-saving-bleeding-screen-with-nothing-selected' into 'master'
Resolve "check what happens when saving bleeding screen with nothing selected"

Closes #54

See merge request bloodyhealth/drip!11
2018-06-11 10:02:14 +00: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
tina 1f67d22a80 disable save button if no bleeding type was selected 2018-06-11 11:29:49 +02: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