Skip to content

Commit

Permalink
feat: [CGC-40] Code Restructuring (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv authored Mar 22, 2024
1 parent 2815659 commit 8fa4a97
Show file tree
Hide file tree
Showing 46 changed files with 439 additions and 441 deletions.
2 changes: 1 addition & 1 deletion cypress/component/ChartSelector/ChartSelector.cy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react';
import { ChartSelector } from '../../../src/Components/GrowthChartSelector';
import { useChartDataForGender } from '../../../src/utils/DataFetching/Sorting/useChartDataForGender';
import { ChartSelector } from '../../../src/components/GrowthChart/GrowthChartSelector';

describe('ChartSelector', () => {
const TestComponent = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { ChartSelectorDropdown } from '../../../../src/Components/GrowthChartSelector/ChartSelectorDropdown';
import { ChartSelectorDropdown } from '../../../../src/components/GrowthChart/GrowthChartSelector/ChartSelectorDropdown';

describe('ChartSelectorDropdown', () => {
const TestComponent = () => {
Expand Down
42 changes: 18 additions & 24 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-03-18T10:17:19.228Z\n"
"PO-Revision-Date: 2024-03-18T10:17:19.228Z\n"
"POT-Creation-Date: 2024-03-21T19:28:47.462Z\n"
"PO-Revision-Date: 2024-03-21T19:28:47.462Z\n"

msgid "Date"
msgstr "Date"
Expand All @@ -17,18 +17,6 @@ msgstr "Height"
msgid "Weight"
msgstr "Weight"

msgid "Year"
msgstr "Year"

msgid "Years"
msgstr "Years"

msgid "Month"
msgstr "Month"

msgid "Months"
msgstr "Months"

msgid "Growth Chart"
msgstr "Growth Chart"

Expand All @@ -38,20 +26,17 @@ msgstr "There was an error fetching the config for the growth chart."
msgid "Please check the configuration in Datastore Management and try again."
msgstr "Please check the configuration in Datastore Management and try again."

msgid "Months"
msgstr "Months"

msgid "Weeks"
msgstr "Weeks"

msgid "Head circumference (cm)"
msgstr "Head circumference (cm)"

msgid "Length (cm)"
msgstr "Length (cm)"

msgid "Height (cm)"
msgstr "Height (cm)"
msgid "Head circumference"
msgstr "Head circumference"

msgid "Weight (kg)"
msgstr "Weight (kg)"
msgid "Length"
msgstr "Length"

msgid "Head circumference for age"
msgstr "Head circumference for age"
Expand Down Expand Up @@ -82,3 +67,12 @@ msgstr "Boy"

msgid "Girl"
msgstr "Girl"

msgid "Year"
msgstr "Year"

msgid "Years"
msgstr "Years"

msgid "Month"
msgstr "Month"
141 changes: 0 additions & 141 deletions src/Components/GrowthChart/GrowthChartBuilder/GrowthChartBuilder.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/Components/GrowthChart/GrowthChartOptions/index.ts

This file was deleted.

Loading

0 comments on commit 8fa4a97

Please sign in to comment.