Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
Drip
Commits
971c99ad
Commit
971c99ad
authored
6 years ago
by
Birgitta B
Committed by
birgitta410
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/cycle-day/symptoms/cervix.js
+2
-0
2 additions, 0 deletions
components/cycle-day/symptoms/cervix.js
components/cycle-day/symptoms/mucus.js
+2
-1
2 additions, 1 deletion
components/cycle-day/symptoms/mucus.js
i18n/en/cycle-day.js
+4
-2
4 additions, 2 deletions
i18n/en/cycle-day.js
with
8 additions
and
3 deletions
components/cycle-day/symptoms/cervix.js
+
2
−
0
View file @
971c99ad
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
components/cycle-day/symptoms/mucus.js
+
2
−
1
View file @
971c99ad
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
i18n/en/cycle-day.js
+
4
−
2
View file @
971c99ad
...
@@ -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
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment