Skip to content
Snippets Groups Projects
Commit 971c99ad authored by Birgitta B's avatar Birgitta B Committed by birgitta410
Browse files

Add action hints to cervix and mucus views

Issue: 178
parent 2e953001
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ import { cervix as labels } from '../../../i18n/en/cycle-day' ...@@ -10,6 +10,7 @@ import { cervix as labels } from '../../../i18n/en/cycle-day'
import ActionButtonFooter from './action-button-footer' import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group' import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section' import SymptomSection from './symptom-section'
import { ActionHint } from '../../app-text'
export default class Cervix extends Component { export default class Cervix extends Component {
constructor(props) { constructor(props) {
...@@ -81,6 +82,7 @@ export default class Cervix extends Component { ...@@ -81,6 +82,7 @@ export default class Cervix extends Component {
/> />
</SymptomSection> </SymptomSection>
</ScrollView> </ScrollView>
<ActionHint>{labels.actionHint}</ActionHint>
<ActionButtonFooter <ActionButtonFooter
symptom='cervix' symptom='cervix'
date={this.props.date} date={this.props.date}
......
...@@ -11,7 +11,7 @@ import computeNfpValue from '../../../lib/nfp-mucus' ...@@ -11,7 +11,7 @@ import computeNfpValue from '../../../lib/nfp-mucus'
import ActionButtonFooter from './action-button-footer' import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group' import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section' import SymptomSection from './symptom-section'
import { ActionHint } from '../../app-text'
export default class Mucus extends Component { export default class Mucus extends Component {
constructor(props) { constructor(props) {
...@@ -70,6 +70,7 @@ export default class Mucus extends Component { ...@@ -70,6 +70,7 @@ export default class Mucus extends Component {
/> />
</SymptomSection> </SymptomSection>
</ScrollView> </ScrollView>
<ActionHint>{labels.actionHint}</ActionHint>
<ActionButtonFooter <ActionButtonFooter
symptom='mucus' symptom='mucus'
date={this.props.date} date={this.props.date}
......
...@@ -14,7 +14,8 @@ export const cervix = { ...@@ -14,7 +14,8 @@ export const cervix = {
position: { position: {
categories: ['low', 'medium', 'high'], categories: ['low', 'medium', 'high'],
explainer: 'How high up in the vagina is the cervix?' explainer: 'How high up in the vagina is the cervix?'
} },
actionHint: 'Choose values for at least "Opening" and "Firmness" to save.'
} }
export const mucus = { export const mucus = {
...@@ -26,7 +27,8 @@ export const mucus = { ...@@ -26,7 +27,8 @@ export const mucus = {
categories: ['nothing', 'creamy', 'egg white'], categories: ['nothing', 'creamy', 'egg white'],
explainer: "Looking at and touching your cervical mucus, which describes it best?" 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 = { export const desire = {
......
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