Move status labels to cycle day labels
This commit is contained in:
@@ -1,17 +1,14 @@
|
|||||||
const bleeding = ['spotting', 'light', 'medium', 'heavy']
|
export const bleeding = ['spotting', 'light', 'medium', 'heavy']
|
||||||
const mucusFeeling = ['dry', 'nothing', 'wet', 'slippery']
|
export const mucusFeeling = ['dry', 'nothing', 'wet', 'slippery']
|
||||||
const mucusTexture = ['nothing', 'creamy', 'egg white']
|
export const mucusTexture = ['nothing', 'creamy', 'egg white']
|
||||||
const mucusNFP = ['t', 'Ø', 'f', 'S', '+S']
|
export const mucusNFP = ['t', 'Ø', 'f', 'S', '+S']
|
||||||
const cervixOpening = ['closed', 'medium', 'open']
|
export const cervixOpening = ['closed', 'medium', 'open']
|
||||||
const cervixFirmness = ['hard', 'soft']
|
export const cervixFirmness = ['hard', 'soft']
|
||||||
const cervixPosition = ['low', 'medium', 'high']
|
export const cervixPosition = ['low', 'medium', 'high']
|
||||||
|
|
||||||
export {
|
export const fertilityStatus = {
|
||||||
bleeding,
|
fertile: 'fertile',
|
||||||
mucusFeeling,
|
infertile: 'infertile',
|
||||||
mucusTexture,
|
fertileUntilEvening: 'Fertile phase ends in the evening',
|
||||||
mucusNFP,
|
unknown: 'We cannot show any cycle information because no menses has been entered'
|
||||||
cervixOpening,
|
}
|
||||||
cervixFirmness,
|
|
||||||
cervixPosition
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
export const bleeding = ['spotting', 'light', 'medium', 'heavy']
|
|
||||||
|
|
||||||
export const fertilityStatus = {
|
|
||||||
fertile: 'fertile',
|
|
||||||
infertile: 'infertile',
|
|
||||||
fertileUntilEvening: 'Fertile phase ends in the evening',
|
|
||||||
unknown: 'We cannot show any cycle information because no menses has been entered'
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import getFertilityStatus from './sympto'
|
import getFertilityStatus from './sympto'
|
||||||
import cycleModule from './cycle'
|
import cycleModule from './cycle'
|
||||||
import { fertilityStatus } from '../labels/labels'
|
import { fertilityStatus } from '../components/cycle-day/labels/labels'
|
||||||
|
|
||||||
const {
|
const {
|
||||||
getCycleForDay,
|
getCycleForDay,
|
||||||
|
|||||||
Reference in New Issue
Block a user