Add action hints to cervix and mucus views
Issue: 178
This commit is contained in:
@@ -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 {
|
|||||||
/>
|
/>
|
||||||
</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'
|
|||||||
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 {
|
|||||||
/>
|
/>
|
||||||
</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 = {
|
|||||||
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 = {
|
|||||||
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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user