Introduces Stats page redesign

This commit is contained in:
mashazyu
2020-04-22 21:41:25 +02:00
committed by Sofiya Tepikin
parent fe5f734cff
commit 9d6c0aa65c
5 changed files with 235 additions and 80 deletions
+5 -10
View File
@@ -61,19 +61,14 @@ export const menuTitles = {
}
export const stats = {
cycleLengthTitle: 'Cycle length',
cycleLengthExplainer: 'Basic statistics about the length of your cycles.',
emptyStats: 'At least one completed cycle is needed to display stats.',
//oneCycleStats: (number) => `You have documented one cycle of ${number} days.`,
oneCycleStats: 'You have documented one cycle of',
daysLabel: 'days',
//getBasisOfStats: (numberOfCycles) => `Stats are based on ${numberOfCycles} completed cycles.`,
basisOfStatsBeginning: 'Stats are based on',
basisOfStatsEnd: 'completed cycles.',
averageLabel: 'Average cycle length',
minLabel: 'Shortest cycle',
maxLabel: 'Longest cycle',
stdLabel: 'Standard deviation'
basisOfStatsEnd: 'completed\ncycles',
averageLabel: 'Average cycle',
minLabel: `Shortest`,
maxLabel: `Longest`,
stdLabel: `Standard\ndeviation`
}
export const bleedingPrediction = {