author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
288,366
18.08.2020 20:55:03
-28,800
a5f60b228ceccc7030b36c4498ec1c227897092a
feat(incidentscsv): fixes re
[ { "change_type": "MODIFY", "old_path": "src/incidents/list/ViewIncidentsTable.tsx", "new_path": "src/incidents/list/ViewIncidentsTable.tsx", "diff": "@@ -25,6 +25,8 @@ function ViewIncidentsTable(props: Props) {\n// filter data\nconst exportData = [{}]\n+\n+ function populateExportData() {\nlet firs...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(incidentscsv): fixes re #2292
288,255
19.08.2020 11:46:22
10,800
7b75fe01395ec44e3e95ea5866e78178313272e8
fix(sidebar): test improvements
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/Sidebar.test.tsx", "new_path": "src/__tests__/shared/components/Sidebar.test.tsx", "diff": "import { ListItem } from '@hospitalrun/components'\nimport { act } from '@testing-library/react'\n-import { mount } from 'enzyme'\n+impo...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(sidebar): test improvements
288,267
20.08.2020 02:22:47
-7,200
7f651742be76050b46a3360864aec4f516a44694
fix(labs): fix successfully updated lab message
[ { "change_type": "MODIFY", "old_path": "src/labs/ViewLab.tsx", "new_path": "src/labs/ViewLab.tsx", "diff": "@@ -69,7 +69,7 @@ const ViewLab = () => {\nToast(\n'success',\nt('states.success'),\n- `${t('labs.successfullyUpdated')} ${update.type} ${patient?.fullName}`,\n+ `${t('labs.successfullyUpdated...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(labs): fix successfully updated lab message
288,323
12.08.2020 23:08:38
18,000
0e296398ec12ca0c74621a5f5b476cb5465e6583
fix(allergies): fixes allergies tab not refreshing data after allergy has been added
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/hooks/useAddAllergy.test.tsx", "new_path": "src/__tests__/patients/hooks/useAddAllergy.test.tsx", "diff": "@@ -42,6 +42,6 @@ describe('use add allergy', () => {\nexpect(PatientRepository.find).toHaveBeenCalledTimes(1)\nexpect(PatientRepo...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(allergies): fixes allergies tab not refreshing data after allergy has been added
288,323
12.08.2020 23:12:14
18,000
dc2c607db43e87b376b0d56112c0c36d4bd2be47
chore: remove unused redux code
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/patient-slice.test.ts", "new_path": "src/__tests__/patients/patient-slice.test.ts", "diff": "-import { addDays, subDays } from 'date-fns'\n+import { addDays } from 'date-fns'\nimport { AnyAction } from 'redux'\nimport createMockStore fro...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: remove unused redux code
288,323
13.08.2020 22:23:33
18,000
6f741037e6bd8721a38d209078aef5ca5dfaa4b0
refactor: types for add care plan and add allergies
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -61,6 +61,8 @@ describe('Add Care Plan Modal', () => {\n})\nit('should save care plan when the save button is c...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor: types for add care plan and add allergies
288,407
19.08.2020 23:43:01
14,400
f2bc985fd90878d9b084598693afd817e77f855c
feat: incidents per month are now managed in state
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "@@ -9,62 +9,48 @@ const VisualizeIncidents = () => {\nconst searchFilter = IncidentFilter.reported\nconst searchRequest: IncidentSearchReque...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: incidents per month are now managed in state
288,407
20.08.2020 01:19:33
14,400
d3cdfa2ef370257ace3f8a0c495129b97594e9a8
style: cleaned up the code
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "@@ -25,33 +25,28 @@ const VisualizeIncidents = () => {\n0,\n])\n+ const getIncidentMonth = (reportedOn: string) =>\n+ // reportedOn: \"2020-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
style: cleaned up the code
288,407
20.08.2020 03:26:12
14,400
2b72f7ee5775256ebad5d1c72c72125b60f68498
feat: updated useEffect dependency and implemented map state of monthlyIncidents is accurately reflecting incident per month
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "@@ -9,6 +9,7 @@ const VisualizeIncidents = () => {\nconst searchFilter = IncidentFilter.reported\nconst searchRequest: IncidentSearchRequest...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: updated useEffect dependency and implemented map state of monthlyIncidents is accurately reflecting incident per month
288,396
20.08.2020 10:17:45
-7,200
6d9ca06443de91b5137a2495941b83ecefbd0979
fix(eslint rule and subsequent changes to the codebase): eslint rule no-console added added eslint rule no-console to throw errors whenever calls to the console object are made and subsequently removed all calls OR allowed them on file level for specific cases fix
[ { "change_type": "MODIFY", "old_path": ".eslintrc.js", "new_path": ".eslintrc.js", "diff": "@@ -57,7 +57,7 @@ module.exports = {\n'no-param-reassign': ['error', { props: false }],\n'import/prefer-default-export': 'off',\n'import/no-cycle': 'off',\n- 'no-console': 'off',\n+ 'no-console': 'error',\n'e...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(eslint rule and subsequent changes to the codebase): eslint rule no-console added added eslint rule no-console to throw errors whenever calls to the console object are made and subsequently removed all calls OR allowed them on file level for specific cases fix #2307
288,396
20.08.2020 13:05:13
-7,200
a331d621b274e795ae26f5471a669b076c7a8b06
feat(new scripts and contributing.md): added scripts to init and cleanup couchdb Added couchdb-init.sh to initialize couchdb and couchdb-cleanup.sh to cleanup couchdb according to instructions in CONTRIBUTING.md. I also updated the instructions in CONTRIBUTING.md to use those scripts.
[ { "change_type": "MODIFY", "old_path": ".github/CONTRIBUTING.md", "new_path": ".github/CONTRIBUTING.md", "diff": "@@ -18,14 +18,14 @@ root of this project to launch CouchDB. Below are the steps:\n1. Start [Docker](https://docs.docker.com/get-docker/). Install it if you don't have it yet.\n2. Install...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(new scripts and contributing.md): added scripts to init and cleanup couchdb Added couchdb-init.sh to initialize couchdb and couchdb-cleanup.sh to cleanup couchdb according to instructions in CONTRIBUTING.md. I also updated the instructions in CONTRIBUTING.md to use those scripts.
288,396
20.08.2020 13:17:00
-7,200
ce5acd18ba699402bec906cc05a8fb8ddcf1d1e5
docs(contributing.md): made it clear that couchdb scripts can only be used on UNIX systems
[ { "change_type": "MODIFY", "old_path": ".github/CONTRIBUTING.md", "new_path": ".github/CONTRIBUTING.md", "diff": "@@ -18,14 +18,14 @@ root of this project to launch CouchDB. Below are the steps:\n1. Start [Docker](https://docs.docker.com/get-docker/). Install it if you don't have it yet.\n2. Install...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
docs(contributing.md): made it clear that couchdb scripts can only be used on UNIX systems
288,407
20.08.2020 12:32:39
14,400
56ae1b844fb881bf1c29cc826cb2a80099cde545
feat: linegraph component now renders dynamic data stored in state
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "-import { LineGraph } from '@hospitalrun/components'\n+import { LineGraph, Spinner } from '@hospitalrun/components'\nimport React, { useEffe...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: linegraph component now renders dynamic data stored in state
288,396
20.08.2020 21:13:07
-7,200
ab2bcaca536fff8910103ac1a801e6a20335fae2
docs(contributing.md): updated the instructions for initalizing and cleaning the couchdb database The instructions now refer to the new scripts in couchdb.
[ { "change_type": "MODIFY", "old_path": ".github/CONTRIBUTING.md", "new_path": ".github/CONTRIBUTING.md", "diff": "@@ -18,14 +18,14 @@ root of this project to launch CouchDB. Below are the steps:\n1. Start [Docker](https://docs.docker.com/get-docker/). Install it if you don't have it yet.\n2. Install...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
docs(contributing.md): updated the instructions for initalizing and cleaning the couchdb database The instructions now refer to the new scripts in couchdb.
288,407
20.08.2020 15:21:09
14,400
bb4b9fb682b0d1bac90094acbf32795708bcf97e
feat: use of Array.fill in monthlyIncidents useState
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "@@ -11,21 +11,7 @@ const VisualizeIncidents = () => {\nconst { data, isLoading } = useIncidents(searchRequest)\nconst [incident, setIncident...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: use of Array.fill in monthlyIncidents useState
288,366
23.08.2020 20:03:42
-28,800
1fb36c97f16760ba8867e61d3413f34b3611a7be
feat(incidentscsv): made functions more abstract made getcsv and downloadlink functions re
[ { "change_type": "MODIFY", "old_path": "src/incidents/list/ViewIncidentsTable.tsx", "new_path": "src/incidents/list/ViewIncidentsTable.tsx", "diff": "import { Spinner, Table, Dropdown } from '@hospitalrun/components'\nimport format from 'date-fns/format'\n-import { Parser } from 'json2csv'\nimport R...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(incidentscsv): made functions more abstract made getcsv and downloadlink functions re #2292
288,294
25.08.2020 23:32:18
14,400
c0ee7428bf582af8dfd763a9f7b6c264c9da9bcf
feat(imaging): link image with visit
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/ViewImagings.test.tsx", "new_path": "src/__tests__/imagings/ViewImagings.test.tsx", "diff": "@@ -28,6 +28,7 @@ describe('View Imagings', () => {\nid: '1234',\ntype: 'imaging type',\npatient: 'patient',\n+ fullName: 'full name',\nstatus: ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(imaging): link image with visit (#2309)
288,286
25.08.2020 23:35:25
14,400
e558c2778effa743411f647b3ac5ab83074b9ad1
feat(diagnosis): link diagnosis with visit
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/diagnoses/DiagnosisForm.test.tsx", "new_path": "src/__tests__/patients/diagnoses/DiagnosisForm.test.tsx", "diff": "@@ -6,6 +6,7 @@ import { act } from 'react-dom/test-utils'\nimport DiagnosisForm from '../../../patients/diagnoses/Diagnos...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(diagnosis): link diagnosis with visit (#2321) Co-authored-by: Matteo Vivona <matteo.vivona@me.com>
288,294
26.08.2020 10:24:28
14,400
0baf3af504c1cc0b9512c1d1be4d0b1eeb268f49
feat(patient): add panel to display useful patient information fix
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/patients/view/ImportantPatientInfo.test.tsx", "diff": "+import * as components from '@hospitalrun/components'\n+// import { act } from '@testing-library/react'\n+import format from 'date-fns/format'\n+import { mount } from 'enzyme'...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(patient): add panel to display useful patient information fix #2259
288,407
31.08.2020 00:44:29
14,400
e06fbc3e1746ea36d6de1f3d4837cc92f2c40bdb
feat: added label for visualize and fixed title
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "import { LineGraph, Spinner } from '@hospitalrun/components'\nimport React, { useEffect, useState } from 'react'\n+import useTitle from '../...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: added label for visualize and fixed title
288,323
31.08.2020 22:20:28
18,000
9c2baf3ee0652d6cad71c55eea296bf822c6990c
refactor(imaging): add useImagingRequest hook
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/imagings/hooks/useImagingRequest.test.tsx", "diff": "+import { renderHook, act } from '@testing-library/react-hooks'\n+\n+import useImagingRequest from '../../../imagings/hooks/useImagingRequest'\n+import ImagingRepository from '.....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(imaging): add useImagingRequest hook
288,323
31.08.2020 22:29:07
18,000
7fe842fc39d538d718088710896b37e66b6077ee
refactor(imaging): add useImagingSearch hook
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/imagings/hooks/useImagingSearch.test.tsx", "diff": "+import { act, renderHook } from '@testing-library/react-hooks'\n+\n+import useImagingSearch from '../../../imagings/hooks/useImagingSearch'\n+import ImagingRepository from '../.....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(imaging): add useImagingSearch hook
288,323
31.08.2020 22:55:47
18,000
502a113e4c92cb8a721158f5f4ce75d239720d72
refactor(imaging): add useRequestImaging hook
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/imagings/hooks/useRequestImaging.test.tsx", "diff": "+/* eslint-disable no-console */\n+\n+import useRequestImaging from '../../../imagings/hooks/useRequestImaging'\n+import { ImagingRequestError } from '../../../imagings/util/vali...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(imaging): add useRequestImaging hook
288,382
01.09.2020 01:12:12
14,400
caa77b8f80aed545e0801dbeaa1dad6f3ff78b92
refactor(patient): refactor notes to use react query
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/patients/hooks/useAddPatientNote.test.ts", "diff": "+/* eslint-disable no-console */\n+\n+import useAddPatientNote from '../../../patients/hooks/useAddPatientNote'\n+import * as validateNote from '../../../patients/util/validate-no...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(patient): refactor notes to use react query (#2348)
288,268
01.09.2020 15:12:45
-36,000
6ca4b59d84b4ea3f8b864ac3a17ebea79ce00536
refactor(patient): refactor patient appointments to use react query
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "diff": "import * as components from '@hospitalrun/components'\nimport { Table } from '@hospitalrun/components'\n-impor...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(patient): refactor patient appointments to use react query
288,382
01.09.2020 01:13:23
14,400
0187c3406306540b5da3f574a6abe984dcd84754
fix(navigation): align quick menu with sidebar and mobile version
[ { "change_type": "MODIFY", "old_path": "src/shared/components/navbar/Navbar.tsx", "new_path": "src/shared/components/navbar/Navbar.tsx", "diff": "@@ -48,10 +48,10 @@ const Navbar = () => {\nconst addPages = [\npageMap.newPatient,\npageMap.newAppointment,\n- pageMap.newLab,\npageMap.newMedication,\n-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(navigation): align quick menu with sidebar and mobile version
288,267
02.09.2020 00:19:14
-7,200
be1a3342266914204027c391bfd0a10ac3ac8898
refactor(patient-labs): use react query instead of redux
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/patients/hooks/usePatientLabs.test.tsx", "diff": "+import usePatientLabs from '../../../patients/hooks/usePatientLabs'\n+import PatientRepository from '../../../shared/db/PatientRepository'\n+import Lab from '../../../shared/model/...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(patient-labs): use react query instead of redux (#2358)
288,366
06.09.2020 13:51:21
-28,800
dc3c93eeecac464ba0e3fdc9111d1ed32ac566b2
feat(added tests): incidentsDownloadCSV re
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx", "diff": "-import { Table } from '@hospitalrun/components'\n+import { Table, Dropdown } from '@hospitalrun/components'\nimport { m...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(added tests): incidentsDownloadCSV re #2292
288,366
06.09.2020 14:33:35
-28,800
02294e6b7c0c21173dede054fb23fdf4d47a3c96
fix(incidentscvstests): fixed timezone test bug re
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx", "diff": "import { Table, Dropdown } from '@hospitalrun/components'\n+import format from 'date-fns/format'\nimport { mount, ReactW...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(incidentscvstests): fixed timezone test bug re #2292
288,366
06.09.2020 15:07:17
-28,800
d577970aa13c5afb440ec3ae885efceee9c58739
feat(incidentscsvtest): newline bug in tests re
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/utils/DataHelpers.test.ts", "new_path": "src/__tests__/shared/utils/DataHelpers.test.ts", "diff": "@@ -11,9 +11,9 @@ describe('Use Data Helpers util', () => {\nstatus: 'reported',\n},\n]\n- const output = getCSV(input)\n+ const output = ge...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(incidentscsvtest): newline bug in tests re #2292
288,297
07.09.2020 09:55:24
-7,200
9a14ddd93ec5ea78ee5447f6dcd0f0d12a0644a3
Fixes missing deps on the incidents effect
[ { "change_type": "MODIFY", "old_path": "src/incidents/visualize/VisualizeIncidents.tsx", "new_path": "src/incidents/visualize/VisualizeIncidents.tsx", "diff": "@@ -37,7 +37,7 @@ const VisualizeIncidents = () => {\nsetShowGraph(true)\n}\n}\n- }, [data, monthlyIncidents])\n+ }, [data, monthlyIncidents...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fixes missing deps on the incidents effect
288,267
07.09.2020 14:46:22
-7,200
eca339a72d089cafbc348ec431c2d36a327299c5
fix(shared): couchdb auth popup nginx.conf update
[ { "change_type": "MODIFY", "old_path": "nginx.conf", "new_path": "nginx.conf", "diff": "@@ -5,6 +5,8 @@ server {\nroot /usr/share/nginx/html;\nindex index.html index.htm;\ntry_files $uri /index.html;\n+ # replace WWW-Authenticate header in response if authorization failed\n+ more_set_headers -s 401 ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(shared): couchdb auth popup nginx.conf update
288,323
08.09.2020 18:32:54
18,000
015f0877c48f39124f6ad2def9243460fff88f3f
build(deps): bump from 2.0.0 to 2.0.1
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"~2.0.0\",\n+ \"@hospitalrun/components\": \"~2.0.1\",\n\"@reduxjs/toolkit\": \"~1.4.0\",\n\"@types/escape-stri...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
build(deps): bump @hospitalrun/components from 2.0.0 to 2.0.1
288,323
08.09.2020 18:51:37
18,000
f0cca2a3d07d28f5b035b3ea8b4bbaf12cd6bc3c
build(deps): fix version for components
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"~2.0.0\",\n+ \"@hospitalrun/components\": \"2.0.0\",\n\"@reduxjs/toolkit\": \"~1.4.0\",\n\"@types/escape-strin...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
build(deps): fix version for components
288,323
09.09.2020 00:02:02
18,000
144d7f31a32ce21e2bfa1c136c4ff8c620e10a28
chore: remove unused redux code and renamed files
[ { "change_type": "RENAME", "old_path": "src/patients/hooks/useAddPatientNote.ts", "new_path": "src/patients/hooks/useAddPatientNote.tsx", "diff": "" }, { "change_type": "RENAME", "old_path": "src/patients/hooks/usePatientNote.ts", "new_path": "src/patients/hooks/usePatientNote.tsx", ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: remove unused redux code and renamed files
288,323
09.09.2020 00:09:25
18,000
521da9fbf7bcfcb806ea171c565ec4d1c95f987e
chore: remove replit
[ { "change_type": "DELETE", "old_path": ".replit", "new_path": null, "diff": "-language = \"nodejs\"\n-run = \"npm start\"\n" }, { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "![Status](https://img.shields.io/badge/Status-developing-brightgre...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: remove replit
288,236
09.09.2020 15:09:15
-25,200
2fc4ca4bd8f285f8dd60c1459040f051132e4ea8
fix: add successfullycompleted resolves
[ { "change_type": "MODIFY", "old_path": "src/shared/locales/enUs/translations/labs/index.ts", "new_path": "src/shared/locales/enUs/translations/labs/index.ts", "diff": "@@ -4,6 +4,7 @@ export default {\nfilterTitle: 'Filter by status',\nsearch: 'Search labs',\nsuccessfullyUpdated: 'Successfully updat...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: add successfullycompleted resolves #2295
288,258
10.09.2020 06:02:18
-25,200
6156f38f8ea3e8bbf8bb9496f210d8815ee4a78e
fix(care plan): fix view button label in list
[ { "change_type": "MODIFY", "old_path": "src/patients/care-plans/CarePlanTable.tsx", "new_path": "src/patients/care-plans/CarePlanTable.tsx", "diff": "@@ -52,7 +52,7 @@ const CarePlanTable = (props: Props) => {\nactionsHeaderText={t('actions.label')}\nactions={[\n{\n- label: 'actions.view',\n+ label:...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(care plan): fix view button label in list (#2376)
288,236
10.09.2020 08:59:50
-25,200
40ab00feb2b8584a090e607d98793de56a31fa47
fix: fix typo successfully alphabet text
[ { "change_type": "MODIFY", "old_path": "src/shared/locales/enUs/translations/labs/index.ts", "new_path": "src/shared/locales/enUs/translations/labs/index.ts", "diff": "@@ -4,7 +4,7 @@ export default {\nfilterTitle: 'Filter by status',\nsearch: 'Search labs',\nsuccessfullyUpdated: 'Successfully updat...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: fix typo successfully alphabet text
288,236
10.09.2020 14:10:05
-25,200
8c60adb08e5b3ff4f1fc7cd38ff73a74fff76417
fix: update text for oncomplete lab
[ { "change_type": "MODIFY", "old_path": "src/labs/ViewLab.tsx", "new_path": "src/labs/ViewLab.tsx", "diff": "@@ -82,7 +82,7 @@ const ViewLab = () => {\nToast(\n'success',\nt('states.success'),\n- `${t('labs.successfullyCompleted')} ${complete.type} ${patient?.fullName} `,\n+ `${t('labs.successfullyCo...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: update text for oncomplete lab
288,323
14.09.2020 22:15:38
18,000
3844cd3322f68e12318e90c54161324f1509c8df
chore(deps): bump to v3.0.0
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"2.0.0\",\n+ \"@hospitalrun/components\": \"~3.0.0\",\n\"@reduxjs/toolkit\": \"~1.4.0\",\n\"@types/escape-strin...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(deps): bump @hospitalrun/components to v3.0.0
288,319
14.09.2020 23:47:25
14,400
c2022f51cc9d1d3febf35ad69244f9bcf066078e
refactor(patient): refactor patient related persons to use react query
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/patients/hooks/useAddPatientRelatedPerson.test.tsx", "diff": "+import useAddPatientRelatedPerson from '../../../patients/hooks/useAddPatientRelatedPerson'\n+import * as validateRelatedPerson from '../../../patients/util/validate-re...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(patient): refactor patient related persons to use react query
288,255
15.09.2020 01:11:13
10,800
019a5f8491c07f27218476e70652010a6f7e27ae
feat(labs): support list of notes for lab requests
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/Labs.test.tsx", "new_path": "src/__tests__/labs/Labs.test.tsx", "diff": "@@ -36,7 +36,7 @@ describe('Labs', () => {\nbreadcrumbs: { breadcrumbs: [] },\ncomponents: { sidebarCollapsed: false },\nlab: {\n- lab: { id: 'labId', patientId: 'patie...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(labs): support list of notes for lab requests (#2325) Co-authored-by: Jack Meyer <jackcmeyer@gmail.com>
288,255
15.09.2020 01:48:17
10,800
68cf76e5d83a0d7b10438b71c0eccd5306d47bbb
test(login): improve test login screen
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/login/Login.test.tsx", "diff": "+import { Alert } from '@hospitalrun/components'\n+import { mount, ReactWrapper } from 'enzyme'\n+import { createMemoryHistory } from 'history'\n+import React from 'react'\n+import Button from 'react...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(login): improve test login screen (#2312) Co-authored-by: Matteo Vivona <matteo.vivona@me.com>
288,359
21.09.2020 13:26:17
-43,200
83fc431dc2b69d258bdb8e8e9f5ee5ea50af235f
chore: removes dispatch. adds useAppointment, useDeleteAppointment hooks. refactor scheduling WIP
[ { "change_type": "MODIFY", "old_path": ".eslintrc.js", "new_path": ".eslintrc.js", "diff": "@@ -11,6 +11,7 @@ module.exports = {\n'eslint:recommended',\n'plugin:@typescript-eslint/eslint-recommended',\n'plugin:@typescript-eslint/recommended',\n+ 'plugin:react-hooks/recommended',\n'prettier',\n'prett...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: removes dispatch. adds useAppointment, useDeleteAppointment hooks. refactor scheduling WIP
288,359
22.09.2020 00:35:14
-43,200
009336b929929e1b7ea3d1accc4dae6b2a417abe
adds useAppointments hook; removes react-redux and RootState
[ { "change_type": "MODIFY", "old_path": "src/scheduling/appointments/ViewAppointments.tsx", "new_path": "src/scheduling/appointments/ViewAppointments.tsx", "diff": "import { Calendar, Button } from '@hospitalrun/components'\nimport React, { useEffect, useState } from 'react'\n-import { useSelector, u...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
adds useAppointments hook; removes react-redux and RootState
288,268
24.09.2020 12:34:03
-36,000
13654baa779b1e4906690decdf0fab198e63e7c5
refactor(patients): use usePatient
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/Patients.test.tsx", "new_path": "src/__tests__/patients/Patients.test.tsx", "diff": "@@ -12,6 +12,7 @@ import { addBreadcrumbs } from '../../page-header/breadcrumbs/breadcrumbs-slice'\nimport * as titleUtil from '../../page-header/title/...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(patients): use usePatient (#2411)
288,359
28.09.2020 18:41:43
-46,800
56e058f9c78f519be6c598b10d8eb48f3d7df97d
fix(EditAppointment): refactor editing appointment to use useUpdateAppointment
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "diff": "@@ -155,18 +155,21 @@ describe('/appointments/edit/:id', () => {\n)\nexpect(wrapper.find(EditAppointment)).toHaveL...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(EditAppointment): refactor editing appointment to use useUpdateAppointment
288,294
28.09.2020 19:31:58
14,400
4b234a1968802e45038197f1e765020e9ca15bff
feat(patient): refactor add allergy button fix
[ { "change_type": "MODIFY", "old_path": "src/patients/view/ImportantPatientInfo.tsx", "new_path": "src/patients/view/ImportantPatientInfo.tsx", "diff": "@@ -50,6 +50,7 @@ const ImportantPatientInfo = (props: Props) => {\ncolor: 'black',\nbackgroundColor: 'rgba(245,245,245,1)',\nfontSize: 'small',\n+ ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(patient): refactor add allergy button fix #2259
288,294
28.09.2020 19:41:26
14,400
eba6074adb0a52be03cc5e4b6c2945f4d7d24f9c
feat(patient): remove unused function fix
[ { "change_type": "MODIFY", "old_path": "src/patients/view/ViewPatient.tsx", "new_path": "src/patients/view/ViewPatient.tsx", "diff": "@@ -26,7 +26,7 @@ import usePatient from '../hooks/usePatient'\nimport Labs from '../labs/Labs'\nimport Note from '../notes/NoteTab'\nimport RelatedPerson from '../re...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(patient): remove unused function fix #2259
288,323
01.10.2020 20:32:26
18,000
5485d6a4065b1aa7622369c425be540f2f8e1a61
chore: fix test script not allowing single file tests
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"react-scripts build\",\n\"update\": \"npx npm-check -u\",\n\"prepublishOnly\": \"npm run build\",\n- \"test\": \"npm run translation:check && react-scripts test --detectOpenHandles --testPathIgno...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: fix test script not allowing single file tests
288,359
06.10.2020 13:58:34
-46,800
426ea0baae6935e84c99f1e51124b858ae9a3806
fix(NewAppointment) refactor new appointment to use useScheduleAppointment hook, intending to remove redux
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/view/ViewAppointment.test.tsx", "new_path": "src/__tests__/scheduling/appointments/view/ViewAppointment.test.tsx", "diff": "@@ -29,6 +29,7 @@ const appointment = {\nendDateTime: new Date().toISOString(),\nreason: 'reason',...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(NewAppointment) refactor new appointment to use useScheduleAppointment hook, intending to remove redux
288,359
06.10.2020 16:41:20
-46,800
697d2605dee11fc83f26fbf0a2e91e9b8294875c
fix(adds new and edit appointment tests)
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx", "new_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx", "diff": "-import { Button } from '@hospitalrun/components'\n+import { Button, Spinner } from '@hospitalrun/...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(adds new and edit appointment tests)
288,359
07.10.2020 13:55:26
-46,800
da046c7087626cc269c4a96ad97989deee2e207f
fix(scheduling): added hook tests added delete and new appointment hook tests
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/scheduling/hooks/useDeleteAppointment.test.tsx", "diff": "+import useDeleteAppointment from '../../../scheduling/hooks/useDeleteAppointment'\n+import AppointmentRepository from '../../../shared/db/AppointmentRepository'\n+import Ap...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(scheduling): added hook tests added delete and new appointment hook tests
288,270
07.10.2020 09:47:16
14,400
923cdaf668e80d1cb4737a40ffa1ca3affb8a6bf
Fix New Lab Request Toast Message
[ { "change_type": "MODIFY", "old_path": "src/labs/requests/NewLabRequest.tsx", "new_path": "src/labs/requests/NewLabRequest.tsx", "diff": "@@ -72,7 +72,9 @@ const NewLabRequest = () => {\nToast(\n'success',\nt('states.success'),\n- `${t('lab.successfullyCreated')} ${newLab?.type} ${newLab?.patient}`,...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fix New Lab Request Toast Message
288,359
09.10.2020 12:25:09
-46,800
ff59599826e5b151e4b876be37bd761fcd2934a6
fix(tweaks to tests)
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx", "new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx", "diff": "@@ -16,9 +16,7 @@ import AppointmentDetailForm from '../../../../scheduling/appointments/Appointme\nim...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(tweaks to tests)
288,359
09.10.2020 12:40:24
-46,800
58d61957d98f492830adefa4cdcd1047c0c73d40
fix(remove tweaks to misc files)
[ { "change_type": "MODIFY", "old_path": ".eslintrc.js", "new_path": ".eslintrc.js", "diff": "@@ -11,7 +11,6 @@ module.exports = {\n'eslint:recommended',\n'plugin:@typescript-eslint/eslint-recommended',\n'plugin:@typescript-eslint/recommended',\n- 'plugin:react-hooks/recommended',\n'prettier',\n'prett...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(remove tweaks to misc files)
288,359
10.10.2020 19:25:36
-46,800
8b1cf295b58672a11695f237b185fa214b78f11f
fix(add Appointments test)
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "diff": "import { mount, ReactWrapper } from 'enzyme'\nimport React from 'react'\n-import { act } from 'react-dom/test-util...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(add Appointments test)
288,359
10.10.2020 21:05:18
-46,800
4dfdcb2d73a44993f0d8b24078203034b55d1ef1
refactor(scheduling): removed extra dependency to useEffect, added ViewAppointment test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "diff": "@@ -27,7 +27,7 @@ let route: any\ndescribe('/appointments', () => {\n// eslint-disable-next-line no-shadow\n- cons...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(scheduling): removed extra dependency to useEffect, added ViewAppointment test
288,359
10.10.2020 21:19:05
-46,800
4c31d6719ed1f826842633654de85a1e94128078
refactor(scheduling): removed appointment(s)-slice
[ { "change_type": "DELETE", "old_path": "src/__tests__/scheduling/appointments/appointment-slice.test.ts", "new_path": null, "diff": "-import { subDays } from 'date-fns'\n-import { AnyAction } from 'redux'\n-import { mocked } from 'ts-jest/utils'\n-\n-import appointment, {\n- fetchAppointmentStart,\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(scheduling): removed appointment(s)-slice
288,359
11.10.2020 23:59:35
-46,800
f67f82fe36f869c8b08271addf852947eed148b0
refactor(scheduling): fix changes causing build failure
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/view/ViewAppointment.test.tsx", "new_path": "src/__tests__/scheduling/appointments/view/ViewAppointment.test.tsx", "diff": "@@ -158,7 +158,7 @@ describe('View Appointment', () => {\nit('should render a delete appointment b...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(scheduling): fix changes causing build failure
288,359
12.10.2020 11:27:53
-46,800
eb36d3c715958dae202e8406a53bef04b8f4a4ce
refactor(scheduling): fix ViewAppointments causing build failure
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/hooks/useAppointments.test.tsx", "new_path": "src/__tests__/scheduling/hooks/useAppointments.test.tsx", "diff": "-import { act } from '@testing-library/react-hooks'\n+import { act, renderHook } from '@testing-library/react-hooks'\nimpo...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(scheduling): fix ViewAppointments causing build failure
288,359
12.10.2020 11:56:33
-46,800
cfd924ea9d772fb0e530707db0e983f0f2731f02
refactor(scheduling): fix NewAppointments causing build failure
[ { "change_type": "MODIFY", "old_path": "src/scheduling/appointments/new/NewAppointment.tsx", "new_path": "src/scheduling/appointments/new/NewAppointment.tsx", "diff": "@@ -69,7 +69,15 @@ const NewAppointment = () => {\n}\n}\nsetSaved(false)\n- }, [saved, newAppointmentMutateError])\n+ }, [\n+ saved,...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(scheduling): fix NewAppointments causing build failure
288,359
13.10.2020 12:14:44
-46,800
8ceb9e32c0ab0cc09cdd557b6d637ffad60f3b34
refactor(scheduling): code review changes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx", "new_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx", "diff": "-import { Button, Spinner } from '@hospitalrun/components'\n+import { Button } from '@hospitalrun/...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(scheduling): code review changes
288,323
23.10.2020 20:16:55
18,000
737326d5bf4be325c3159dce180fe9b3478da5aa
chore: remove login
[ { "change_type": "MODIFY", "old_path": "src/App.tsx", "new_path": "src/App.tsx", "diff": "@@ -7,7 +7,6 @@ import { useDispatch } from 'react-redux'\nimport { BrowserRouter, Route, Switch } from 'react-router-dom'\nimport HospitalRun from './HospitalRun'\n-import Login from './login/Login'\nimport { ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: remove login
288,323
23.10.2020 21:47:16
18,000
5e1ed72a3acaa67b15990eb4bf74f0ffc02a69aa
chore: bump to v3.0.3
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"~3.0.0\",\n+ \"@hospitalrun/components\": \"~3.0.3\",\n\"@reduxjs/toolkit\": \"~1.4.0\",\n\"@types/escape-stri...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: bump @hospitalrun/components to v3.0.3
288,334
24.10.2020 10:13:02
-7,200
f39102f2c77a2ada7310173f575235b961a92c66
chore(release): 2.0.0-alpha.6
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.\n+## [2.0.0-alpha.6](https://gith...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(release): 2.0.0-alpha.6
288,387
26.10.2020 04:07:43
-19,080
887ea0f5a1fb1d9e9835342db85c8a05ef171eb7
fix: resolve TitleProvider warnings logged in the browser console
[ { "change_type": "MODIFY", "old_path": "src/dashboard/Dashboard.tsx", "new_path": "src/dashboard/Dashboard.tsx", "diff": "-import React from 'react'\n+import React, { useEffect } from 'react'\nimport { useUpdateTitle } from '../page-header/title/TitleContext'\nimport useTranslator from '../shared/ho...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: resolve TitleProvider warnings logged in the browser console
288,274
26.10.2020 00:49:32
-3,600
c23289d73f91c2e17b2658541b1db8e0d477c651
fix(diagnoseform): show updated visit list
[ { "change_type": "MODIFY", "old_path": "src/patients/diagnoses/DiagnosisForm.tsx", "new_path": "src/patients/diagnoses/DiagnosisForm.tsx", "diff": "@@ -6,6 +6,7 @@ import { useTranslation } from 'react-i18next'\nimport Input, { Option } from '../../shared/components/input'\nimport Diagnosis, { Diagn...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(diagnoseform): show updated visit list
288,323
25.10.2020 20:34:40
18,000
edc752d74ec402f286ed3eaf16ecea220a8bebbb
build(deps): bump react-query from 2.23.1 to 2.25.2
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"react-bootstrap-typeahead\": \"~5.1.0\",\n\"react-dom\": \"~16.13.0\",\n\"react-i18next\": \"~11.7.0\",\n- \"react-query\": \"~2.23.0\",\n+ \"react-query\": \"~2.25.2\",\n\"react-query-devtools\": \"~2.6.0\...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
build(deps): bump react-query from 2.23.1 to 2.25.2
288,262
26.10.2020 07:44:07
-19,080
4a2392a4a3060cc8cd4319f2fa2fa8476711caee
fix(allergy): allergy data now gets refresh
[ { "change_type": "MODIFY", "old_path": "src/patients/view/ImportantPatientInfo.tsx", "new_path": "src/patients/view/ImportantPatientInfo.tsx", "diff": "@@ -13,6 +13,7 @@ import { RootState } from '../../shared/store'\nimport NewAllergyModal from '../allergies/NewAllergyModal'\nimport AddCarePlanModa...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(allergy): allergy data now gets refresh (#2448) Co-authored-by: Matteo Vivona <matteo.vivona@me.com>
288,398
27.10.2020 18:30:07
25,200
66c1a5f7830aa370b8bde15bcd3cdd56c06a6568
fix(patientview): add visit button height fix
[ { "change_type": "MODIFY", "old_path": "src/patients/view/ImportantPatientInfo.tsx", "new_path": "src/patients/view/ImportantPatientInfo.tsx", "diff": "@@ -81,7 +81,7 @@ const ImportantPatientInfo = (props: Props) => {\n<h6>{getPatientCode(patient)}</h6>\n</div>\n</div>\n- <div className=\"col d-fle...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(patientview): add visit button height fix (#2457)
288,323
27.10.2020 19:28:57
18,000
38b23ec59b2928bb17ffe633eb4f34e4bf5ec32d
chore: remove ts-jest
[ { "change_type": "MODIFY", "old_path": "jest.config.js", "new_path": "jest.config.js", "diff": "module.exports = {\nroots: ['<rootDir>/src'],\ntestMatch: ['**/__tests__/**/*.+(ts|tsx)', '**/?(*.)+(spec|test).+(ts|tsx)'],\n- transform: {\n- '^.+\\\\.(ts|tsx)$': 'ts-jest',\n- },\ncoverageDirectory: '....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: remove ts-jest
288,241
28.10.2020 05:00:11
-10,800
ebc916c20ac46a5b6b4f7d5cec06f762327072b7
refactor(patients): Improve date format consistency
[ { "change_type": "ADD", "old_path": null, "new_path": "src/__tests__/shared/utils/formatDate.test.ts", "diff": "+import { formatDate } from '../../../shared/util/formatDate'\n+\n+it('should format a valid date provided as a string', () => {\n+ const formattedDate = formatDate('2020-10-25T12:54:15.35...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor(patients): Improve date format consistency (#2447) Co-authored-by: Matteo Vivona <matteo.vivona@me.com>
288,340
31.10.2020 22:49:12
-19,080
9c3781738a9dac037532fa5f1efcd6c320cdc480
feat(2463): fixed typo of remission text
[ { "change_type": "MODIFY", "old_path": "src/shared/model/Diagnosis.ts", "new_path": "src/shared/model/Diagnosis.ts", "diff": "@@ -3,7 +3,7 @@ export enum DiagnosisStatus {\nRecurrence = 'recurrence',\nRelapse = 'relapse',\nInactive = 'inactive',\n- Remission = 'remisison',\n+ Remission = 'remission'...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(2463): fixed typo of remission text
288,413
01.11.2020 16:22:05
-18,000
51579596a94f1587524db62ffbdc999848c6ac54
feat: auto populate patients
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "diff": "@@ -56,7 +56,7 @@ const setup = async (patient = expectedPatient, appointments = expectedAppointme\nwrapper = ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: auto populate patients
288,338
02.11.2020 01:46:23
-32,400
567a679d18522c4eb0d0aec154cf00d4d701e190
fix(incidents): running Incidents.test.tsx
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"husky\": \"~4.3.0\",\n\"jest\": \"24.9.0\",\n\"lint-staged\": \"~10.5.0\",\n+ \"jest-canvas-mock\": \"~2.3.0\",\n\"memdown\": \"~5.1.0\",\n\"prettier\": \"~2.1.0\",\n\"redux-mock-store\": \"~1.5.4\",\n" }...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(incidents): running Incidents.test.tsx (#2455)
288,274
02.11.2020 02:42:38
-3,600
af50921b2a6695b79063fbafac98b4bbb0f1bd60
fix(patient): allergy list style
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/view/ImportantPatientInfo.test.tsx", "new_path": "src/__tests__/patients/view/ImportantPatientInfo.test.tsx", "diff": "@@ -99,8 +99,8 @@ describe('Important Patient Info Panel', () => {\nit(\"should render patient's dateOfDate\", async (...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(patient): allergy list style (#2458) Co-authored-by: Matteo Vivona <matteo.vivona@me.com> Co-authored-by: Jack Meyer <jackcmeyer@gmail.com>
288,354
02.11.2020 23:12:14
10,800
06979e3fa02e7a2dcace78f6a40d9406423a1c8d
fix(i18n): add diagnosis translations
[ { "change_type": "MODIFY", "old_path": "src/shared/locales/enUs/translations/patient/index.ts", "new_path": "src/shared/locales/enUs/translations/patient/index.ts", "diff": "@@ -75,8 +75,8 @@ export default {\ndiagnoses: {\nlabel: 'Diagnoses',\nnew: 'Add Diagnosis',\n- diagnosisName: 'Diagnosis Name...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(i18n): add diagnosis translations (#2456) Co-authored-by: Matteo Vivona <matteo.vivona@me.com> Co-authored-by: Jack Meyer <jackcmeyer@gmail.com>
288,331
06.11.2020 09:45:01
28,800
d38322f67eada8ebeb08bcdb3b243de0ab975b70
feat(lab): link visit to labs Add functionality to link visit to lab, and updated the schema to have a visitId in the Lab model. fix
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "new_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "diff": "@@ -12,6 +12,7 @@ import NewLabRequest from '../../../labs/requests/NewLabRequest'\nimport * as validationUtil from '../../../labs/u...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(lab): link visit to labs Add functionality to link visit to lab, and updated the schema to have a visitId in the Lab model. fix #2184
288,334
07.11.2020 11:12:44
-3,600
b751e7857589afa4b9f1821621c83b61d0ac33af
chore(release): 2.0.0-alpha.7
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"@hospitalrun/frontend\",\n- \"version\": \"2.0.0-alpha.6\",\n+ \"version\": \"2.0.0-alpha.7\",\n\"description\": \"React frontend for HospitalRun\",\n\"private\": false,\n\"license\": \"MIT\",\...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(release): 2.0.0-alpha.7
288,408
08.12.2020 23:00:38
18,000
889b1dd7495a705dd649096e06e066020ea21788
fix: search views width inconsistency Medications, Labs, Imagings, and Incidents search views made consistent with
[ { "change_type": "MODIFY", "old_path": "src/imagings/search/ViewImagings.tsx", "new_path": "src/imagings/search/ViewImagings.tsx", "diff": "-import { Button } from '@hospitalrun/components'\n+import { Button, Container, Row } from '@hospitalrun/components'\nimport React, { useState, useEffect, useCa...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: search views width inconsistency (#2507) Medications, Labs, Imagings, and Incidents search views made consistent with @hospitalrun/components
288,408
08.12.2020 23:01:19
18,000
26eb0db69d7aee5134b755a1f2334712dcf7fb26
fix: fixed canceled spelling
[ { "change_type": "MODIFY", "old_path": "src/shared/locales/enUs/translations/medications/index.ts", "new_path": "src/shared/locales/enUs/translations/medications/index.ts", "diff": "@@ -7,7 +7,7 @@ export default {\ndraft: 'Draft',\nactive: 'Active',\nonHold: 'On Hold',\n- cancelled: 'Cancelled',\n+...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: fixed canceled spelling (#2502)
288,371
09.12.2020 09:20:26
-19,080
081488b5935776c9ff87b3a3a212655e3625fb2f
fix(patients): patient view buttons hover style inconsistency
[ { "change_type": "MODIFY", "old_path": "src/patients/view/ImportantPatientInfo.tsx", "new_path": "src/patients/view/ImportantPatientInfo.tsx", "diff": "@@ -146,7 +146,7 @@ const ImportantPatientInfo = (props: Props) => {\n{permissions.includes(Permissions.AddAllergy) && (\n<Button\nsize=\"small\"\n-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(patients): patient view buttons hover style inconsistency (#2446)
288,331
12.12.2020 20:45:23
18,000
bdb9ef2de4a0d373024e9625f157ef067152c855
test(newlabrequest): added additional tests to the visit dropdown fix
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "new_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "diff": "import { Button, Typeahead, Label, Alert } from '@hospitalrun/components'\n+import format from 'date-fns/format'\nimport { mount, Re...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(newlabrequest): added additional tests to the visit dropdown fix #2184
288,331
12.12.2020 21:16:20
18,000
fe8b0b5527e0e38971dd3ac21d89e00f19357dfd
test: test defaultSelectedVisitsOption
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "new_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "diff": "@@ -164,6 +164,55 @@ describe('New Lab Request', () => {\n// The visits dropdown option should be reset when the patient is changed....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: test defaultSelectedVisitsOption
288,298
14.12.2020 18:54:43
21,600
9c6f2a470680e82f94ac195247ea151b5a14918c
React Testing Library configurations
[ { "change_type": "MODIFY", "old_path": "jest.config.js", "new_path": "jest.config.js", "diff": "module.exports = {\nroots: ['<rootDir>/src'],\n+ setupFilesAfterEnv: ['./jest.setup.js'],\ntestMatch: ['**/__tests__/**/*.+(ts|tsx)', '**/?(*.)+(spec|test).+(ts|tsx)'],\ncoverageDirectory: './coverage',\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
React Testing Library configurations
288,298
14.12.2020 19:27:15
21,600
e5a66a1c7397673506366b19555603ca1231ba89
Smoke Test App Error when rendering component due to some routing or service connection not handled then possibly causing a memory leak. MSW (mock service worker) might be something we need to hook up
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"eslint-plugin-react-hooks\": \"~4.1.0\",\n\"history\": \"4.10.1\",\n\"husky\": \"~4.3.0\",\n- \"jest\": \"26.6.3\",\n\"jest-canvas-mock\": \"~2.3.0\",\n\"lint-staged\": \"~10.5.0\",\n\"memdown\": \"~5.1.0\"...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Smoke Test App - Error when rendering component due to some routing or service connection not handled then possibly causing a memory leak. MSW (mock service worker) might be something we need to hook up
288,298
14.12.2020 19:28:13
21,600
949cd401c26fc4ea1b02fdcfe81e54c9d324eb48
linter unsued vars
[ { "change_type": "MODIFY", "old_path": "src/__tests__/App.test.tsx", "new_path": "src/__tests__/App.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import { render } from '@testing-library/react'\nimport React from 'react'\nimport { Provider } from 'react-redu...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
linter unsued vars
288,298
14.12.2020 19:46:00
21,600
65eedab3832d4a8b38e7f9a43d6f323e67f9f392
Trying different config for CI/CD for Jest DOM matchers
[ { "change_type": "MODIFY", "old_path": "jest.config.js", "new_path": "jest.config.js", "diff": "module.exports = {\nroots: ['<rootDir>/src'],\n- setupFilesAfterEnv: ['./jest.setup.js'],\n+ setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],\ntestMatch: ['**/__tests__/**/*.+(ts|tsx)', '**/?(*.)+(spec|te...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Trying different config for CI/CD for Jest DOM matchers
288,298
14.12.2020 21:36:39
21,600
8ccc0cd3a57d09c3a58aa25dbe90ea120b809e73
Create React App has a file convention
[ { "change_type": "MODIFY", "old_path": "jest.config.js", "new_path": "jest.config.js", "diff": "module.exports = {\nroots: ['<rootDir>/src'],\n- setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],\n+ setupFilesAfterEnv: ['<rootDir>/setupTests.js'],\ntestMatch: ['**/__tests__/**/*.+(ts|tsx)', '**/?(*.)+...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Create React App has a file convention
288,298
14.12.2020 22:33:58
21,600
6f29481d476863a85c6fbbbe9b34eb2d8a33b1e3
moved jest dom into proper file
[ { "change_type": "DELETE", "old_path": "setupTests.js", "new_path": null, "diff": "-// eslint-disable-next-line import/no-extraneous-dependencies\n-import '@testing-library/jest-dom'\n" }, { "change_type": "MODIFY", "old_path": "src/setupTests.js", "new_path": "src/setupTests.js", ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
moved jest dom into proper file
288,246
15.12.2020 13:39:53
-19,080
16cd57611bcafde078f7f55d8cafb6784bb57ca9
fix: fixed buttons alignment by giving right margin fixed
[ { "change_type": "MODIFY", "old_path": "src/imagings/requests/NewImagingRequest.tsx", "new_path": "src/imagings/requests/NewImagingRequest.tsx", "diff": "@@ -199,7 +199,7 @@ const NewImagingRequest = () => {\n/>\n</div>\n<div className=\"row float-right\">\n- <div className=\"btn-group btn-group-lg ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: fixed buttons alignment by giving right margin fixed #2518
288,246
15.12.2020 13:45:47
-19,080
f2d3dc93e578d5a40ac04877a6c8faacda1827a1
fix: removed extra right margin fix
[ { "change_type": "MODIFY", "old_path": "src/incidents/view/ViewIncidentDetails.tsx", "new_path": "src/incidents/view/ViewIncidentDetails.tsx", "diff": "@@ -40,12 +40,7 @@ function ViewIncidentDetails(props: Props) {\nif (permissions.includes(Permissions.ResolveIncident)) {\nbuttons.push(\n- <Button\...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: removed extra right margin fix #2518
288,246
15.12.2020 13:53:38
-19,080
e0a6418a2ac7330d7bfe217170d8f5264d3869ac
fix: fixed buttons alignment by giving right margin * fix: fixed buttons alignment by giving right margin fixed * fix: removed extra right margin fix
[ { "change_type": "MODIFY", "old_path": "src/imagings/requests/NewImagingRequest.tsx", "new_path": "src/imagings/requests/NewImagingRequest.tsx", "diff": "@@ -199,7 +199,7 @@ const NewImagingRequest = () => {\n/>\n</div>\n<div className=\"row float-right\">\n- <div className=\"btn-group btn-group-lg ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: fixed buttons alignment by giving right margin (#1) * fix: fixed buttons alignment by giving right margin fixed #2518 * fix: removed extra right margin fix #2518
288,246
15.12.2020 22:41:58
-19,080
28cd6c534311edb050d2cd2ad64ea442f3e92430
fix: alignment of buttons in two more forms re
[ { "change_type": "MODIFY", "old_path": "src/patients/edit/EditPatient.tsx", "new_path": "src/patients/edit/EditPatient.tsx", "diff": "@@ -77,7 +77,7 @@ const EditPatient = () => {\nerror={updateError}\n/>\n<div className=\"row float-right\">\n- <div className=\"btn-group btn-group-lg\">\n+ <div clas...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: alignment of buttons in two more forms re #2518
288,400
15.12.2020 21:08:18
-3,600
7340c5c1407f40ea22e61fac14949e09ee93450c
fix: expected console.error in tests
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLab.test.tsx", "new_path": "src/__tests__/labs/ViewLab.test.tsx", "diff": "@@ -21,6 +21,7 @@ import Lab from '../../shared/model/Lab'\nimport Patient from '../../shared/model/Patient'\nimport Permissions from '../../shared/model/Permissi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: expected console.error in tests
288,320
16.12.2020 06:27:42
0
565f9645ce44e2f81feb0720686dec533aed8e88
refactor: migrate page-header/breadcrumbs/Breadcrumbs tests
[ { "change_type": "MODIFY", "old_path": "src/__tests__/page-header/breadcrumbs/Breadcrumbs.test.tsx", "new_path": "src/__tests__/page-header/breadcrumbs/Breadcrumbs.test.tsx", "diff": "-import {\n- Breadcrumb as HRBreadcrumb,\n- BreadcrumbItem as HRBreadcrumbItem,\n-} from '@hospitalrun/components'\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor: migrate page-header/breadcrumbs/Breadcrumbs tests
288,320
16.12.2020 06:55:54
0
8e0478f4d816eb7f337a241dfd9a7690a6a76105
chore: move repeated code to setup function
[ { "change_type": "MODIFY", "old_path": "src/__tests__/page-header/breadcrumbs/useAddBreadcrumbs.test.tsx", "new_path": "src/__tests__/page-header/breadcrumbs/useAddBreadcrumbs.test.tsx", "diff": "@@ -13,16 +13,21 @@ const mockStore = createMockStore<RootState, any>([thunk])\ndescribe('useAddBreadcru...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: move repeated code to setup function
288,298
16.12.2020 08:33:36
21,600
922cb6e906b869e71886b53e8102e64c1759522d
Converted using container might be potential use case for inline snapshots
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/network-status/NetworkStatusMessage.test.tsx", "new_path": "src/__tests__/shared/components/network-status/NetworkStatusMessage.test.tsx", "diff": "+import { render } from '@testing-library/react'\nimport { renderHook } from '@t...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Converted using container might be potential use case for inline snapshots