Add action hints to cervix and mucus views

Issue: 178
This commit is contained in:
Birgitta B
2019-01-13 11:18:41 +01:00
committed by birgitta410
parent 2e95300166
commit 971c99ad9f
3 changed files with 8 additions and 3 deletions
+2
View File
@@ -10,6 +10,7 @@ import { cervix as labels } from '../../../i18n/en/cycle-day'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section'
import { ActionHint } from '../../app-text'
export default class Cervix extends Component {
constructor(props) {
@@ -81,6 +82,7 @@ export default class Cervix extends Component {
/>
</SymptomSection>
</ScrollView>
<ActionHint>{labels.actionHint}</ActionHint>
<ActionButtonFooter
symptom='cervix'
date={this.props.date}
+2 -1
View File
@@ -11,7 +11,7 @@ import computeNfpValue from '../../../lib/nfp-mucus'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section'
import { ActionHint } from '../../app-text'
export default class Mucus extends Component {
constructor(props) {
@@ -70,6 +70,7 @@ export default class Mucus extends Component {
/>
</SymptomSection>
</ScrollView>
<ActionHint>{labels.actionHint}</ActionHint>
<ActionButtonFooter
symptom='mucus'
date={this.props.date}
+4 -2
View File
@@ -14,7 +14,8 @@ export const cervix = {
position: {
categories: ['low', 'medium', 'high'],
explainer: 'How high up in the vagina is the cervix?'
}
},
actionHint: 'Choose values for at least "Opening" and "Firmness" to save.'
}
export const mucus = {
@@ -26,7 +27,8 @@ export const mucus = {
categories: ['nothing', 'creamy', 'egg white'],
explainer: "Looking at and touching your cervical mucus, which describes it best?"
},
excludeExplainer: "You can exclude this value if you don't want to use it for fertility detection"
excludeExplainer: "You can exclude this value if you don't want to use it for fertility detection",
actionHint: 'Choose values for both "Feeling" and "Texture" to save.'
}
export const desire = {