Move status labels to cycle day labels

This commit is contained in:
Julia Friesel
2018-07-24 14:30:20 +02:00
parent 5ce6bc8cfc
commit a2400983cf
3 changed files with 14 additions and 25 deletions
+12 -15
View File
@@ -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
} }
-8
View File
@@ -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 -1
View File
@@ -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,