Skip to content
Snippets Groups Projects
Commit ac2bad1d authored by bl00dymarie's avatar bl00dymarie
Browse files

Merge branch '376-consider-rename-mucus-into-cervical-mucus' into 'master'

Specifying mucus as cervical mucus

Closes #376

See merge request bloodyhealth/drip!222
parents 138f1d28 8e57febf
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ More information about how the app calculates fertility status and bleeding pred ...@@ -92,7 +92,7 @@ More information about how the app calculates fertility status and bleeding pred
## Adding a new tracking icon ## Adding a new tracking icon
1. We use [fontello](http://fontello.com/) to create icon fonts for us. You need to upload the complete set of tracking icons (bleeding, mucus, ...) including the new icon you wish to add, all in SVG. 1. We use [fontello](http://fontello.com/) to create icon fonts for us. You need to upload the complete set of tracking icons (bleeding, cervical mucus, ...) including the new icon you wish to add, all in SVG.
2. Download webfont from fontello 2. Download webfont from fontello
3. Copy both the content of `config.json` and `font.tff` into `assets/fonts`, replacing it with the current content of `config-drip-icon-font.json` and `drip-icon-font.tff`. 3. Copy both the content of `config.json` and `font.tff` into `assets/fonts`, replacing it with the current content of `config-drip-icon-font.json` and `drip-icon-font.tff`.
4. Now run the following command in your console: 4. Now run the following command in your console:
......
...@@ -11,6 +11,7 @@ import { getCycleDay } from '../../db' ...@@ -11,6 +11,7 @@ import { getCycleDay } from '../../db'
import cycleModule from '../../lib/cycle' import cycleModule from '../../lib/cycle'
import styles from '../../styles' import styles from '../../styles'
import * as labels from '../../i18n/en/cycle-day' import * as labels from '../../i18n/en/cycle-day'
import { headerTitles as symptomTitles } from '../../i18n/en/labels'
import AppText from '../app-text' import AppText from '../app-text'
import DripIcon from '../../assets/drip-icons' import DripIcon from '../../assets/drip-icons'
...@@ -180,7 +181,7 @@ export default class CycleDayOverView extends Component { ...@@ -180,7 +181,7 @@ export default class CycleDayOverView extends Component {
<ScrollView> <ScrollView>
<View style={styles.symptomBoxesView}> <View style={styles.symptomBoxesView}>
<SymptomBox <SymptomBox
title='Bleeding' title={symptomTitles.bleeding}
onPress={() => this.navigate('BleedingEditView')} onPress={() => this.navigate('BleedingEditView')}
data={this.getLabel('bleeding')} data={this.getLabel('bleeding')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -188,7 +189,7 @@ export default class CycleDayOverView extends Component { ...@@ -188,7 +189,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Temperature' title={symptomTitles.temperature}
onPress={() => this.navigate('TemperatureEditView')} onPress={() => this.navigate('TemperatureEditView')}
data={this.getLabel('temperature')} data={this.getLabel('temperature')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -196,7 +197,7 @@ export default class CycleDayOverView extends Component { ...@@ -196,7 +197,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Mucus' title={symptomTitles.mucus}
onPress={() => this.navigate('MucusEditView')} onPress={() => this.navigate('MucusEditView')}
data={this.getLabel('mucus')} data={this.getLabel('mucus')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -204,7 +205,7 @@ export default class CycleDayOverView extends Component { ...@@ -204,7 +205,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Cervix' title={symptomTitles.cervix}
onPress={() => this.navigate('CervixEditView')} onPress={() => this.navigate('CervixEditView')}
data={this.getLabel('cervix')} data={this.getLabel('cervix')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -212,7 +213,7 @@ export default class CycleDayOverView extends Component { ...@@ -212,7 +213,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Desire' title={symptomTitles.desire}
onPress={() => this.navigate('DesireEditView')} onPress={() => this.navigate('DesireEditView')}
data={this.getLabel('desire')} data={this.getLabel('desire')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -220,7 +221,7 @@ export default class CycleDayOverView extends Component { ...@@ -220,7 +221,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Sex' title={symptomTitles.sex}
onPress={() => this.navigate('SexEditView')} onPress={() => this.navigate('SexEditView')}
data={this.getLabel('sex')} data={this.getLabel('sex')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -228,7 +229,7 @@ export default class CycleDayOverView extends Component { ...@@ -228,7 +229,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Pain' title={symptomTitles.pain}
onPress={() => this.navigate('PainEditView')} onPress={() => this.navigate('PainEditView')}
data={this.getLabel('pain')} data={this.getLabel('pain')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -236,7 +237,7 @@ export default class CycleDayOverView extends Component { ...@@ -236,7 +237,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Mood' title={symptomTitles.mood}
onPress={() => this.navigate('MoodEditView')} onPress={() => this.navigate('MoodEditView')}
data={this.getLabel('mood')} data={this.getLabel('mood')}
disabled={dateInFuture} disabled={dateInFuture}
...@@ -244,7 +245,7 @@ export default class CycleDayOverView extends Component { ...@@ -244,7 +245,7 @@ export default class CycleDayOverView extends Component {
> >
</SymptomBox> </SymptomBox>
<SymptomBox <SymptomBox
title='Note' title={symptomTitles.note}
onPress={() => this.navigate('NoteEditView')} onPress={() => this.navigate('NoteEditView')}
data={this.getLabel('note')} data={this.getLabel('note')}
iconName='drip-icon-note' iconName='drip-icon-note'
......
...@@ -32,7 +32,7 @@ export const headerTitles = { ...@@ -32,7 +32,7 @@ export const headerTitles = {
License: settingsTitles.license, License: settingsTitles.license,
bleeding: 'Bleeding', bleeding: 'Bleeding',
temperature: 'Temperature', temperature: 'Temperature',
mucus: 'Mucus', mucus: 'Cervical Mucus',
cervix: 'Cervix', cervix: 'Cervix',
note: 'Note', note: 'Note',
desire: 'Desire', desire: 'Desire',
...@@ -109,12 +109,12 @@ export const fertilityStatus = { ...@@ -109,12 +109,12 @@ export const fertilityStatus = {
infertile: 'infertile', infertile: 'infertile',
fertileUntilEvening: 'Fertile phase ends in the evening', fertileUntilEvening: 'Fertile phase ends in the evening',
unknown: 'We cannot show any cycle information because no period data has been added.', unknown: 'We cannot show any cycle information because no period data has been added.',
preOvuText: "With NFP rules, you may assume 5 days of infertility at the beginning of your cycle, provided you don't observe any fertile mucus or cervix values.", preOvuText: "With NFP rules, you may assume 5 days of infertility at the beginning of your cycle, provided you don't observe any fertile cervical mucus or cervix values.",
periOvuText: "We have not been able to detect both a temperature shift and mucus or cervix shift. Please find more information on NFP rules here:", periOvuText: "We have not been able to detect both a temperature shift and cervical mucus or cervix shift. Please find more information on NFP rules here:",
postOvuText: tempRule => { postOvuText: tempRule => {
return ( return (
'We have detected a temperature shift (' + ['regular', '1st exception', '2nd exception'][tempRule] + 'We have detected a temperature shift (' + ['regular', '1st exception', '2nd exception'][tempRule] +
' temperature rule), as well as a mucus shift according to NFP rules. You may assume infertility, but always remember to ' + ' temperature rule), as well as a cervical mucus shift according to NFP rules. You may assume infertility, but always remember to ' +
'double-check for yourself. Make sure the data makes sense to you.' 'double-check for yourself. Make sure the data makes sense to you.'
) )
} }
......
...@@ -74,8 +74,8 @@ export default { ...@@ -74,8 +74,8 @@ export default {
}, },
useCervix: { useCervix: {
title: 'Secondary symptom', title: 'Secondary symptom',
cervixModeOn: 'Cervix values are being used for symptothermal fertility detection. You can switch here to use mucus values for symptothermal fertility detection', cervixModeOn: 'Cervix values are being used for symptothermal fertility detection. You can switch here to use cervical mucus values for symptothermal fertility detection',
cervixModeOff: 'By default, mucus values are being used for symptothermal fertility detection. You can switch here to use cervix values for symptothermal fertility detection' cervixModeOff: 'By default, cervical mucus values are being used for symptothermal fertility detection. You can switch here to use cervix values for symptothermal fertility detection'
}, },
passwordSettings: { passwordSettings: {
title: 'App password', title: 'App password',
......
import links from './links' import links from './links'
export const generalInfo = { export const generalInfo = {
chartNfp: `On the chart, you can track fertility signs. When both a valid temperature shift and a mucus or cervix shift have been detected, an orange line will be displayed on the chart. This indicates the end of the peri-ovulatory and the beginning of the post-ovulatory phase.`, chartNfp: `On the chart, you can track fertility signs. When both a valid temperature shift and a cervical mucus or cervix shift have been detected, an orange line will be displayed on the chart. This indicates the end of the peri-ovulatory and the beginning of the post-ovulatory phase.`,
curiousNfp: `If you are curious to learn more about the sympto-thermal method that is used for fertility tracking within the app, you can visit ${links.wiki.url}.`, curiousNfp: `If you are curious to learn more about the sympto-thermal method that is used for fertility tracking within the app, you can visit ${links.wiki.url}.`,
cycleRelation: `It may be influenced by or have an impact on your menstrual cycles and its hormonal changes.`, cycleRelation: `It may be influenced by or have an impact on your menstrual cycles and its hormonal changes.`,
excludeExplainer: `You can exclude these values, so they won't be taken into account for any fertility calculation.`, excludeExplainer: `You can exclude these values, so they won't be taken into account for any fertility calculation.`,
...@@ -85,9 +85,9 @@ From lowest to best quality: ...@@ -85,9 +85,9 @@ From lowest to best quality:
· S = (no OR wet feeling + creamy texture), · S = (no OR wet feeling + creamy texture),
· S+ = (any feeling + egg white texture) OR (slippery feeling + any texture). · S+ = (any feeling + egg white texture) OR (slippery feeling + any texture).
On the chart, mucus is colored in blue: the darker the shade of blue the better the quality of your mucus. On the chart, cervical mucus is colored in blue: the darker the shade of blue the better the quality of your cervical mucus.
Please note that drip does not yet support "parenthesis values": According to NFP rules, you can qualify a mucus value by putting parentheses around it, to indicate that it doesn't fully meet the descriptors of one of the five categories, and instead is in between. This functionality will be supported in the future. Please note that drip does not yet support "parenthesis values": According to NFP rules, you can qualify a cervical mucus value by putting parentheses around it, to indicate that it doesn't fully meet the descriptors of one of the five categories, and instead is in between. This functionality will be supported in the future.
${generalInfo.chartNfp} ${generalInfo.chartNfp}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment