Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-chart into eas/feat/CGC-51_ImplementationGuideInMarkdown
  • Loading branch information
edvinstava committed Mar 26, 2024
2 parents bdd30f1 + 3039d27 commit be98565
Show file tree
Hide file tree
Showing 62 changed files with 3,850 additions and 4,840 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
52 changes: 23 additions & 29 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-25T03:31:40.489Z\n"
"PO-Revision-Date: 2024-03-25T03:31:40.489Z\n"

msgid "Date"
msgstr "Date"
Expand All @@ -17,41 +17,20 @@ 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"

msgid "There was an error fetching the config for the growth chart."
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 +61,18 @@ msgstr "Boy"

msgid "Girl"
msgstr "Girl"

msgid "There was an error fetching the config for the growth chart."
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 "Year"
msgstr "Year"

msgid "Years"
msgstr "Years"

msgid "Month"
msgstr "Month"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"devDependencies": {
"@dhis2/cli-app-scripts": "^11.0.0",
"@testing-library/cypress": "^10.0.1",
"cypress": "^13.6.6",
"cypress": "^13.7.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react": "^7.34.1",
"react-scripts": "5.1.0-next.14",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
Expand Down
141 changes: 0 additions & 141 deletions src/Components/GrowthChart/GrowthChartBuilder/GrowthChartBuilder.tsx

This file was deleted.

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 be98565

Please sign in to comment.