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,323 | 01.01.2020 19:19:11 | 21,600 | 2c439d613af90ef1398d1bed7a4553a4b15ca6bf | fix(patients): fix 'Attempted to log TypeError: Cannot read property 'body' of null' warning | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"diff": "@@ -3,12 +3,14 @@ import React from 'react'\nimport { mount } from 'enzyme'\nimport { MemoryRouter } from 'react-router'\nimport { Provider ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): fix 'Attempted to log TypeError: Cannot read property 'body' of null' warning |
288,323 | 01.01.2020 23:02:43 | 21,600 | a73e7f086b4cd7bb22f7963ed3e3345494c590f4 | feat(patients): add ability to view a patient | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@types/react-redux\": \"^7.1.5\",\n\"@types/react-router\": \"~5.1.2\",\n\"@types/react-router-dom\": \"~5.1.0\",\n+ \"@types/redux-mock-store\": \"~1.0.1\",\n\"@typescript-eslint/eslint-plugin\": \"~2.14.0... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add ability to view a patient |
288,323 | 02.01.2020 21:59:10 | 21,600 | 452419c8dccce23aa12df1518e2e641031b63d85 | feat(patients): use panels for grouping content in view patient | [
{
"change_type": "MODIFY",
"old_path": "src/patients/view/ViewPatient.tsx",
"new_path": "src/patients/view/ViewPatient.tsx",
"diff": "import React, { useEffect } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useParams, withRouter } from 'react-router-dom'\n-import { ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): use panels for grouping content in view patient |
288,323 | 05.01.2020 20:37:35 | 21,600 | 3c2b2ae978a856037d66e3d32fda4b3c3e0f5836 | feat(patients): add success message when patient is created successfully
fix | [
{
"change_type": "MODIFY",
"old_path": "public/locales/en/translation.json",
"new_path": "public/locales/en/translation.json",
"diff": "\"label\": \"Patients\",\n\"viewPatients\": \"View Patients\",\n\"viewPatient\": \"View Patient\",\n- \"newPatient\": \"New Patient\"\n+ \"newPatient\": \"New Patie... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add success message when patient is created successfully
fix #1701 |
288,323 | 06.01.2020 21:58:19 | 21,600 | 36ababf742141e5961807bd1809b34b593235165 | feat(patients): add ability to store full name | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatientForm.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatientForm.test.tsx",
"diff": "@@ -10,6 +10,7 @@ import SelectWithLabelFormGroup from '../../../components/input/SelectWithLableF\nimport DatePickerWithLabelFormGr... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add ability to store full name |
288,323 | 06.01.2020 22:31:00 | 21,600 | 4468b59b5e1a3a6c13bacd56fa479cebf32f6954 | feat(patients): adds abilty to search for patients by full name
fix | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"i18next-xhr-backend\": \"^3.2.2\",\n\"pouchdb\": \"~7.1.1\",\n\"pouchdb-adapter-memory\": \"^7.1.1\",\n+ \"pouchdb-quick-search\": \"^1.3.0\",\n\"react\": \"~16.12.0\",\n\"react-bootstrap\": \"^1.0.0-beta.1... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): adds abilty to search for patients by full name
fix #1707 |
288,323 | 06.01.2020 22:37:07 | 21,600 | 3ab5d1325a95983b566ed4e7f68e7c78ddad7836 | feat(patients): call findAll if search string is empty | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patients-slice.test.ts",
"new_path": "src/__tests__/patients/patients-slice.test.ts",
"diff": "@@ -122,6 +122,16 @@ describe('patients slice', () => {\n)\n})\n+ it('should call the PatientRepository findALl method if there is no string t... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): call findAll if search string is empty |
288,326 | 07.01.2020 03:09:08 | 10,800 | 98c25b99c9bdc16078ee6552925a2c183a511c6f | fix(i18n): fix file type and import
fix | [
{
"change_type": "DELETE",
"old_path": "src/i18n.js",
"new_path": null,
"diff": "-import i18n from 'i18next'\n-import Backend from 'i18next-xhr-backend'\n-import LanguageDetector from 'i18next-browser-languagedetector'\n-import { initReactI18next } from 'react-i18next'\n-\n-import * as en from './ex... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(i18n): fix file type and import
fix #1668 |
288,323 | 07.01.2020 21:36:58 | 21,600 | bd54bb72348303e9ca8e9b1a2b8726688d77ef9a | feat(patients): changes id to be a timestamp instead of random" | [
{
"change_type": "MODIFY",
"old_path": "src/clients/db/Repository.ts",
"new_path": "src/clients/db/Repository.ts",
"diff": "/* eslint \"@typescript-eslint/camelcase\": \"off\" */\n-\n+import { getTime } from 'date-fns'\nimport AbstractDBModel from '../../model/AbstractDBModel'\nimport Search from '.... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): changes id to be a timestamp instead of random" |
288,323 | 07.01.2020 21:37:25 | 21,600 | ad9fb133b2f890b89ed507dcd81934a42aef0d30 | feat(patients): adds a friendlyId
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/containers/HospitalRun.test.tsx",
"new_path": "src/__tests__/containers/HospitalRun.test.tsx",
"diff": "@@ -43,6 +43,7 @@ describe('HospitalRun', () => {\ngivenName: 'test',\nfamilyName: 'test',\nsuffix: 'test',\n+ friendlyId: 'P00001',\n} as Pat... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): adds a friendlyId
fix #1709 |
288,323 | 07.01.2020 22:02:12 | 21,600 | a51955046ae2f8841b5561fa01800698af2cfdf2 | feat(patients): adds ability to search by patient friendlyId
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patients-slice.test.ts",
"new_path": "src/__tests__/patients/patients-slice.test.ts",
"diff": "@@ -114,7 +114,7 @@ describe('patients slice', () => {\njest.spyOn(PatientRepository, 'search')\nconst expectedSearchString = 'search string'\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): adds ability to search by patient friendlyId
fix #1709 |
288,323 | 07.01.2020 22:26:39 | 21,600 | 9e66a8de76b8ca72d183577e669203b91efda81e | refactor(patients): refactored models to be interface instead of class | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patient-slice.test.ts",
"new_path": "src/__tests__/patients/patient-slice.test.ts",
"diff": "@@ -17,14 +17,7 @@ describe('patients slice', () => {\nit('should create the proper initial state with empty patients array', () => {\nconst pat... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(patients): refactored models to be interface instead of class |
288,323 | 07.01.2020 22:35:00 | 21,600 | 3fbbfd458175d06e8b98f941e91fcd744d990d92 | feat(patients): remove delete button that was there for testing | [
{
"change_type": "MODIFY",
"old_path": "src/patients/view/ViewPatient.tsx",
"new_path": "src/patients/view/ViewPatient.tsx",
"diff": "import React, { useEffect } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\n-import { useHistory, useParams, withRouter } from 'react-router-dom... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): remove delete button that was there for testing |
288,323 | 09.01.2020 20:21:02 | 21,600 | 7ebedd1ec37cb003ccef45995d1c8c6c49d43c66 | feat(patients): change search to be more of a fuzzy search | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@semantic-release/changelog\": \"~3.0.4\",\n\"@semantic-release/git\": \"~7.0.16\",\n\"@semantic-release/release-notes-generator\": \"~7.3.0\",\n+ \"@types/pouchdb-find\": \"^6.3.4\",\n\"bootstrap\": \"~4.4... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): change search to be more of a fuzzy search |
288,323 | 08.01.2020 21:52:55 | 21,600 | e6214893e5f7c869a8db388988b8bd255324b491 | feat(pwa): adds pwa support
fix | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"commit\": \"npx git-cz\",\n\"start\": \"react-scripts start\",\n\"build\": \"react-scripts build\",\n+ \"start:serve\": \"npm run build && serve -s build\",\n\"prepublishOnly\": \"npm run build\",\n\"test\"... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(pwa): adds pwa support
fix #1711 |
288,334 | 11.01.2020 12:55:16 | -3,600 | 2d8f7ab64ce7dda39572e404930d4ed753548947 | Update patients-slice.test.ts | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patients-slice.test.ts",
"new_path": "src/__tests__/patients/patients-slice.test.ts",
"diff": "@@ -11,7 +11,6 @@ import patients, {\ncreatePatient,\nsearchPatients,\n} from '../../patients/patients-slice'\n-import * as patientsSlice from... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Update patients-slice.test.ts |
288,323 | 11.01.2020 13:48:39 | 21,600 | 45cb83f1712d2b7370388a7c9c269353a18914c4 | fix(scss): import scss from components library | [
{
"change_type": "MODIFY",
"old_path": "src/index.tsx",
"new_path": "src/index.tsx",
"diff": "import React from 'react'\nimport ReactDOM from 'react-dom'\n-import 'bootstrap/dist/css/bootstrap.min.css'\n+import '@hospitalrun/components/scss/main.scss'\nimport './index.css'\nimport App from './App'\n... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(scss): import scss from components library |
288,323 | 11.01.2020 13:56:36 | 21,600 | 0e7b0c72c2efa7b00cf4b361065b2bd50e1e96a1 | fix(scss): add node-sass | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"i18next\": \"^19.0.1\",\n\"i18next-browser-languagedetector\": \"^4.0.1\",\n\"i18next-xhr-backend\": \"^3.2.2\",\n+ \"node-sass\": \"^4.13.0\",\n\"pouchdb\": \"~7.1.1\",\n\"pouchdb-adapter-memory\": \"^7.1.... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(scss): add node-sass |
288,334 | 11.01.2020 23:54:04 | -3,600 | 9b321fa0ba71e1eb2ad23cad8767a8358be411da | fix(test): fixes coveralls coverage | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"test\": \"react-scripts test --detectOpenHandles\",\n\"test:ci\": \"cross-env CI=true react-scripts test\",\n\"lint\": \"eslint \\\"src/**/*.{js,jsx,ts,tsx}\\\" --fix\",\n- \"coveralls\": \"jest --coverage ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): fixes coveralls coverage |
288,334 | 12.01.2020 00:00:54 | -3,600 | 710c3c5b0ddc500dfcd02df2c3ff58284177b8cb | fix(test): adds coveralls like devdeps | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@typescript-eslint/parser\": \"~2.15.0\",\n\"commitizen\": \"~4.0.3\",\n\"commitlint-config-cz\": \"~0.12.1\",\n+ \"coveralls\": \"~3.0.9\",\n\"cross-env\": \"~6.0.3\",\n\"cz-conventional-changelog\": \"~3.... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): adds coveralls like devdeps |
288,326 | 12.01.2020 01:41:10 | 10,800 | 59680a054baea29c1d99e9a5c9c4ab0d3e246b5b | fix(i18n): fix search button properties
fix | [
{
"change_type": "MODIFY",
"old_path": "src/components/Navbar.tsx",
"new_path": "src/components/Navbar.tsx",
"diff": "@@ -16,8 +16,10 @@ const Navbar = () => {\n}}\nbg=\"dark\"\nvariant=\"dark\"\n- onSearchButtonClick={() => console.log('hello')}\n- onSearchTextBoxChange={() => console.log('hello')}... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(i18n): fix search button properties
fix #1668 |
288,334 | 12.01.2020 11:59:50 | -3,600 | 2fa26b0fa858590df50512f6f40d1c0597560e9c | test(coveralls): adds test directory | [
{
"change_type": "MODIFY",
"old_path": "jest.config.js",
"new_path": "jest.config.js",
"diff": "@@ -4,4 +4,5 @@ module.exports = {\ntransform: {\n'^.+\\\\.(ts|tsx)$': 'ts-jest',\n},\n+ coverageDirectory: './tests/coverage',\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(coveralls): adds test directory |
288,334 | 12.01.2020 13:36:35 | -3,600 | 80a4dadf11db43e5d5e2381ca6bce177f2056a85 | test(coveralls): updates script steps | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -14,9 +14,8 @@ before_script:\n- npm run lint\nscript:\n- npm run build\n-after_script:\n- npm run test:ci -- --coverage --watchAll=false\n-after_success:\n+after_script:\n- COVERALLS_REPO_TOKEN=$coveralls_r... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(coveralls): updates script steps |
288,323 | 12.01.2020 16:12:03 | 21,600 | fa8a41a51e1f51437c893d8ea18690e4cdc4cf4e | test: add missing patient-name-util test | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/util/patient-name-util.test.ts",
"diff": "+import { getPatientFullName, getPatientName } from 'util/patient-name-util'\n+import Patient from 'model/Patient'\n+\n+describe('patient name util', () => {\n+ describe('getPatientName', (... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing patient-name-util test |
288,323 | 12.01.2020 17:38:47 | 21,600 | 6efe4f954ef488e13f8c7981ef0aa4cd0f580e99 | test: add missing test for useTitle | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@semantic-release/github\": \"~5.5.5\",\n\"@semantic-release/release-notes-generator\": \"~7.3.0\",\n\"@testing-library/react\": \"~9.4.0\",\n+ \"@testing-library/react-hooks\": \"~3.2.1\",\n\"@types/jest\"... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing test for useTitle |
288,323 | 12.01.2020 17:50:55 | 21,600 | 8574c1167dc94b3c5745e9398de7c8768f73c3e6 | test: add missing test for title-slice | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/slices/title-slice.test.ts",
"diff": "+import title, { updateTitle, changeTitle } from '../../slices/title-slice'\n+import { AnyAction } from 'redux'\n+\n+describe('title slice', () => {\n+ describe('title reducer', () => {\n+ it('... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing test for title-slice |
288,323 | 12.01.2020 17:56:00 | 21,600 | 6867c988976f3738b6fbba9b19e3728cca0b4764 | refactor: move Permissions.ts to models | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/containers/HospitalRun.test.tsx",
"new_path": "src/__tests__/containers/HospitalRun.test.tsx",
"diff": "@@ -12,7 +12,7 @@ import ViewPatient from '../../patients/view/ViewPatient'\nimport PatientRepository from '../../clients/db/PatientRepository... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor: move Permissions.ts to models |
288,323 | 12.01.2020 17:57:56 | 21,600 | 816d278538c5e381e8d0a335b41dc98fa9b5d562 | refactor: move HospitalRun to root directory | [
{
"change_type": "MODIFY",
"old_path": "src/App.tsx",
"new_path": "src/App.tsx",
"diff": "@@ -2,7 +2,7 @@ import React, { Suspense } from 'react'\nimport { BrowserRouter } from 'react-router-dom'\nimport { Provider } from 'react-redux'\nimport { Spinner } from '@hospitalrun/components'\n-import Hosp... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor: move HospitalRun to root directory |
288,323 | 12.01.2020 19:38:47 | 21,600 | 84a851e4ac0d63099a7646b0e71775f7ae9f082a | test: add missing tests for PatientRepository | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/clients/PatientRepository.test.ts",
"diff": "+import { patients } from 'config/pouchdb'\n+import PatientRepository from 'clients/db/PatientRepository'\n+import Patient from 'model/Patient'\n+import { fromUnixTime } from 'date-fns'\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing tests for PatientRepository |
288,323 | 12.01.2020 19:41:38 | 21,600 | f2de763ad4639edceed7b42afddebb807d298446 | refactor: move files to feature directories | [
{
"change_type": "RENAME",
"old_path": "src/__tests__/slices/title-slice.test.ts",
"new_path": "src/__tests__/page-header/title-slice.test.ts",
"diff": "import { AnyAction } from 'redux'\n-import title, { updateTitle, changeTitle } from '../../slices/title-slice'\n+import title, { updateTitle, chang... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor: move files to feature directories |
288,323 | 12.01.2020 20:24:42 | 21,600 | 1eed95d2f5e8ed74556f50df0d5d671be2d3dd6a | test: add missing navbar test | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "+import '../../__mocks__/matchMediaMock'\n+import React from 'react'\n+import { Router } from 'react-router-dom'\n+import { mount } from 'enzyme'\n+import { Navbar as HospitalRunNavbar } from '... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing navbar test |
288,323 | 12.01.2020 20:49:04 | 21,600 | 35536ede73acb72567e9d0a6c1ace6369ff4a430 | test: fix missing test for get all patients success action | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patients-slice.test.ts",
"new_path": "src/__tests__/patients/patients-slice.test.ts",
"diff": "@@ -41,6 +41,17 @@ describe('patients slice', () => {\nexpect(patientsStore.isLoading).toBeFalsy()\n})\n+\n+ it('should handle the GET_ALL_PAT... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: fix missing test for get all patients success action |
288,323 | 12.01.2020 20:52:10 | 21,600 | 0278c3dbb148c7798e6d6d724bbac9f5353cb0e5 | test: add missing test for spinner while loading | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/Patients.test.tsx",
"new_path": "src/__tests__/patients/list/Patients.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { mount } from 'enzyme'\n-import { TextInput, Button } from '@ho... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing test for spinner while loading |
288,323 | 12.01.2020 21:03:42 | 21,600 | ac03dc55ca833b4211e465ecdaa9f5f2279069db | test: add missing test for patients list | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/Patients.test.tsx",
"new_path": "src/__tests__/patients/list/Patients.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { mount } from 'enzyme'\n-import { TextInput, Button, Spinner } ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing test for patients list |
288,323 | 12.01.2020 21:04:17 | 21,600 | e3dc590b06304aefa88d30260e4d1a249f3c8461 | test: add missing test for on cancel click | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { mount } from 'enzyme'\n-import { MemoryRouter } from 'react-... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing test for on cancel click |
288,323 | 12.01.2020 21:14:02 | 21,600 | cd933683b952513fc5ca6542ea8e2375169ed3cd | test: add missing user slice test | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/user/user-slice.test.ts",
"diff": "+import user, { fetchPermissions } from '../../user/user-slice'\n+import Permissions from '../../model/Permissions'\n+\n+describe('user slice', () => {\n+ it('should handle the FETCH_PERMISSIONS a... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing user slice test |
288,323 | 12.01.2020 21:20:21 | 21,600 | 18d5f306c6d70a49c3e904847b250690c34e512b | test: add missing test for unauthorized routing | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -7,6 +7,7 @@ import { mocked } from 'ts-jest/utils'\nimport thunk from 'redux-thunk'\nimport configureMockStore from 'redux-mock-store'\nimport { Toaster } from ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add missing test for unauthorized routing |
288,323 | 12.01.2020 22:26:08 | 21,600 | 25ae85e28779fcb1a9d84d29aa752ff7ea78c5f1 | refactor(sidebar): refactored sidebar to use HospitalRun components | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/components/Sidebar.test.tsx",
"diff": "+import '../../__mocks__/matchMediaMock'\n+import React from 'react'\n+import { mount } from 'enzyme'\n+import { createMemoryHistory } from 'history'\n+import Sidebar from 'components/Sidebar'... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(sidebar): refactored sidebar to use HospitalRun components |
288,323 | 15.01.2020 20:43:14 | 21,600 | 02702bce291c03023e2b7a821cc970f89c5cd3a9 | feat(scheduling): add scheduling module and appointments | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -2,6 +2,7 @@ import React from 'react'\nimport { Switch, Route } from 'react-router-dom'\nimport { useSelector } from 'react-redux'\nimport { Toaster } from '@hospitalrun/components'\n+import... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(scheduling): add scheduling module and appointments |
288,323 | 17.01.2020 20:58:26 | 21,600 | 9daf0b4caa28915e7e585b7ac07c078a8b7663e5 | test(navbar): refactor tests to be grouped by functionality | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/Navbar.test.tsx",
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "@@ -6,7 +6,6 @@ import { Navbar as HospitalRunNavbar } from '@hospitalrun/components'\nimport { act } from 'react-dom/test-utils'\nimport { createMemory... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(navbar): refactor tests to be grouped by functionality |
288,323 | 17.01.2020 21:01:21 | 21,600 | 2375481d2320338c9ba90e49a82f57ac4d6045e2 | feat(scheduling): add scheduling dropdown to navbar | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/Navbar.test.tsx",
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "@@ -74,6 +74,30 @@ describe('Navbar', () => {\n})\n})\n+ describe('scheduling', () => {\n+ it('should render a scheduling dropdown', () => {\n+ const wr... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(scheduling): add scheduling dropdown to navbar |
288,293 | 18.01.2020 23:53:07 | -3,600 | c17aa0aef887d76fd03ba3bfd7fcc8a4a464fdca | feat(patientform): added patient form error handling | [
{
"change_type": "MODIFY",
"old_path": "src/patients/new/NewPatientForm.tsx",
"new_path": "src/patients/new/NewPatientForm.tsx",
"diff": "@@ -19,6 +19,7 @@ const NewPatientForm = (props: Props) => {\nconst [isEditable] = useState(true)\nconst { onCancel, onSave } = props\nconst [approximateAge, setA... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patientform): added patient form error handling |
288,293 | 19.01.2020 23:46:24 | -3,600 | 59447dc391ed98b3a3c0ead3ede5e31448fc3c28 | fix: adjusted code as requests in pr and fixed linting errors | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -5,7 +5,7 @@ logs\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n-.idea\n+\n# Runtime data\npids\n@@ -58,6 +58,7 @@ typings/\n# dotenv environment variables file\n.env\n+.idea\n# next.js build output\n.nex... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: adjusted code as requests in pr and fixed linting errors |
288,323 | 18.01.2020 22:30:11 | 21,600 | c9a6913800cf80bb88b8a39b2242d4b6080d79e0 | feat(patients): add saveOrUpdate function in repositories | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"new_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"diff": "@@ -2,6 +2,7 @@ import { patients } from 'config/pouchdb'\nimport PatientRepository from 'clients/db/PatientRepository'\nimport Pati... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add saveOrUpdate function in repositories |
288,323 | 18.01.2020 22:31:33 | 21,600 | 26543af294581974d02bf528c3acb69666c69bbf | feat(patients): refactor name and contact information to own interface | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/model/ContactInformation.ts",
"diff": "+export default interface ContactInformation {\n+ phoneNumber: string\n+ email?: string\n+ address?: string\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/model/Nam... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): refactor name and contact information to own interface |
288,323 | 18.01.2020 22:40:29 | 21,600 | 687d125bb139d29dd2d6c281363ddc46130fb176 | feat(patients): add update patient reducers/actions | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patient-slice.test.ts",
"new_path": "src/__tests__/patients/patient-slice.test.ts",
"diff": "@@ -4,6 +4,9 @@ import patient, {\ngetPatientStart,\ngetPatientSuccess,\nfetchPatient,\n+ updatePatientStart,\n+ updatePatientSuccess,\n+ update... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add update patient reducers/actions |
288,323 | 19.01.2020 14:30:45 | 21,600 | 4516e892ce7da97bf777f204ae3e1a826c8d0fa4 | feat(patients): add ability to add and display related persons | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"diff": "+import '../../../__mocks__/matchMediaMock'\n+import React from 'react'\n+import { ReactWrapper, mount } from 'enzyme'\n+import { Modal, Button } from '@hospitalrun... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add ability to add and display related persons |
288,323 | 19.01.2020 18:37:53 | 21,600 | 148b220cd7bbd43ffd71c15fde086b85c233c1ec | feat(patients): add error message for missing required fields | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"new_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { ReactWrapper, ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add error message for missing required fields |
288,323 | 19.01.2020 19:03:08 | 21,600 | 1a4e5afa527a01d19e76823c6df0948073d0d349 | feat(patients): add permission check to add button | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "@@ -10,6 +10,7 @@ import Patient from 'model/Patient'\nimport createMockStore from 'redux-mock-store'\nimpor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add permission check to add button |
288,323 | 19.01.2020 19:05:16 | 21,600 | f557ff7ea56fb61bd289456c8451a2cd5253d7fc | test(patients): fix failing test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"new_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"diff": "@@ -220,7 +220,7 @@ describe('New Related Person Modal', () => {\nexpect(onSaveSpy).not.toHave... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(patients): fix failing test |
288,293 | 20.01.2020 18:01:21 | -3,600 | 0edc07fa5500d70ae9232f66f52eb701529cf612 | fix: small change to naming of json key in translation.json | [
{
"change_type": "MODIFY",
"old_path": "src/locales/en-US/translation.json",
"new_path": "src/locales/en-US/translation.json",
"diff": "\"private\": \"Private\"\n},\n\"errors\": {\n- \"patientNameRequired\": \"Patient Given Name is required.\"\n+ \"patientGivenNameRequired\": \"Patient Given Name is... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: small change to naming of json key in translation.json |
288,323 | 20.01.2020 21:55:28 | 21,600 | c9c5cfd502eb13aa616ec2d2e7e0e1ea635d39c3 | test(patients): uncomment mistakenly commented out test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"new_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"diff": "@@ -107,15 +107,15 @@ describe('patient repository', () => {\n})\ndescribe('saveOrUpdate', () => {\n- // it('should save the patient... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(patients): uncomment mistakenly commented out test |
288,323 | 22.01.2020 23:03:39 | 21,600 | 7565b5ab071874eb6dae8a2c32b6b558698cacd3 | feat(patients): use patient typeahead to find related person | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"new_path": "src/__tests__/patients/related-persons/NewRelatedPersonModal.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { ReactWrapper, ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): use patient typeahead to find related person |
288,293 | 24.01.2020 22:45:26 | -3,600 | e4b43ee2a05900f6dbe128687f13afd39a4c939f | test: added one error test to newpatientform.test.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"diff": "@@ -93,3 +93,4 @@ describe('New Patient', () => {\nexpect(history.location.pathname).toEqual('/patients')\n})\n})\n+\n"
},
{
"change... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: added one error test to newpatientform.test.tsx |
288,293 | 24.01.2020 23:19:58 | -3,600 | 9bf8cefeb3051502e6314e250fe90ea42640c5ea | fix: lint build error fixes to newpatientform test file | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatientForm.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatientForm.test.tsx",
"diff": "@@ -14,7 +14,6 @@ import {getPatientName} from '../../../patients/util/patient-name-util'\nconst onSave = jest.fn()\nconst onCancel ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: lint build error fixes to newpatientform test file |
288,293 | 24.01.2020 23:27:08 | -3,600 | a5d625c4f534cf6e7d340532bc98a76f6893bca4 | fix: lint build error fixes to newpatientform test file{2} | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatientForm.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatientForm.test.tsx",
"diff": "@@ -373,7 +373,7 @@ describe('New Patient Form', () => {\nconst wrapper = render(<NewPatientForm onCancel={onCancel} onSave={onSave}... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: lint build error fixes to newpatientform test file{2} |
288,323 | 23.01.2020 20:02:13 | 21,600 | 86c9a325c57176e89b93aa43c888f5bcb0156ae8 | feat(appointments): adds new appointment route | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -3,6 +3,7 @@ import { Switch, Route } from 'react-router-dom'\nimport { useSelector } from 'react-redux'\nimport { Toaster } from '@hospitalrun/components'\nimport Appointments from 'scheduli... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): adds new appointment route |
288,323 | 26.01.2020 17:29:54 | 21,600 | 723bec3b05184631fd611f0a9c65b495974f289f | feat(appointments): add create appointment functionality | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/AppointmentRepository.test.ts",
"new_path": "src/__tests__/clients/db/AppointmentRepository.test.ts",
"diff": "import AppointmentRepository from 'clients/db/AppointmentsRepository'\nimport { appointments } from 'config/pouchdb'\n+impor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): add create appointment functionality |
288,323 | 26.01.2020 17:56:43 | 21,600 | bf681cd6e0eff9b4da6e301991f7eb1fee2e31c6 | feat(patients): use button toolbar | [
{
"change_type": "MODIFY",
"old_path": "src/patients/new/NewPatientForm.tsx",
"new_path": "src/patients/new/NewPatientForm.tsx",
"diff": "@@ -275,12 +275,16 @@ const NewPatientForm = (props: Props) => {\n</div>\n{isEditable && (\n- <div className=\"row\">\n- <Button onClick={onSaveButtonClick}> {t('... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): use button toolbar |
288,293 | 28.01.2020 21:07:20 | -3,600 | 55043fad76c5c0ab053941a866598a6d53619c4c | fix(newpatientform.test.tsx): fix to spacing according to lint rules | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"diff": "@@ -93,4 +93,3 @@ describe('New Patient', () => {\nexpect(history.location.pathname).toEqual('/patients')\n})\n})\n-\n"
},
{
"change... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(newpatientform.test.tsx): fix to spacing according to lint rules |
288,323 | 28.01.2020 20:22:35 | 21,600 | c4f0c928509509db81513dd04b4e64034fbc7a9d | fix(patients): fix typo in classnames | [
{
"change_type": "MODIFY",
"old_path": "src/patients/new/NewPatientForm.tsx",
"new_path": "src/patients/new/NewPatientForm.tsx",
"diff": "@@ -276,8 +276,8 @@ const NewPatientForm = (props: Props) => {\n{isEditable && (\n<div className=\"row float-right\">\n- <div className=\"btn-grup btn-grup-lg\">\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): fix typo in classnames |
288,326 | 30.01.2020 21:41:54 | 10,800 | cf305bcad8175d2df9b5a3e1947b27a6fa45a9a7 | fix(i18n): fix file type | [
{
"change_type": "RENAME",
"old_path": "src/i18n.tsx",
"new_path": "src/i18n.ts",
"diff": "import i18n from 'i18next';\n-// import Backend from 'i18next-xhr-backend';\nimport LanguageDetector from 'i18next-browser-languagedetector';\nimport { initReactI18next } from 'react-i18next';\n@@ -46,11 +45,6... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(i18n): fix file type |
288,326 | 30.01.2020 22:03:02 | 10,800 | 0726ac39bf6e61f83bd72581d72e2d2bd59fcee0 | fix(i18n): merge changes from upstream
fix | [
{
"change_type": "MODIFY",
"old_path": "src/components/Navbar.tsx",
"new_path": "src/components/Navbar.tsx",
"diff": "@@ -15,24 +15,6 @@ const Navbar = () => {\nhistory.push('/')\n},\n}}\n-<<<<<<< HEAD\n- search={{\n- onClickButton: () => {\n- // no oop\n- },\n- onChangeInput: () => {\n- // no oop\n... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(i18n): merge changes from upstream
fix #1668 |
288,326 | 31.01.2020 07:53:40 | 10,800 | c7fd937050e95f8dbd20d5a81c3c274dfdd22c68 | fix(navbar): add missing i18n t function
fix | [
{
"change_type": "MODIFY",
"old_path": "src/components/Navbar.tsx",
"new_path": "src/components/Navbar.tsx",
"diff": "@@ -18,8 +18,8 @@ const Navbar = () => {\nbg=\"dark\"\nvariant=\"dark\"\nsearch={{\n- buttonText: 'actions.search',\n- placeholderText: 'actions.search',\n+ buttonText: t('actions.se... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(navbar): add missing i18n t function
fix #1668 |
288,326 | 02.02.2020 04:26:58 | 10,800 | 66076e63c39826f6099e439433f843a864ce255c | fix(build): modify husky and lint-staged config to fix lint issue
fix | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"husky\": {\n\"hooks\": {\n+ \"pre-commit\": \"lint-staged\",\n\"commit-msg\": \"commitlint -E HUSKY_GIT_PARAMS\"\n}\n},\n}\n},\n\"lint-staged\": {\n- \"**/*.{js,jsx,ts,tsx}\": [\n- \"npm run lint\",\n- ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(build): modify husky and lint-staged config to fix lint issue
fix #1775 |
288,326 | 02.02.2020 15:24:34 | 10,800 | ade4abffd62411aa461f90eeddc85ab0df4b23b6 | fix(frontend): update navbar component to match new format
BREAKING CHANGE: update components package changing some interfaces
fix | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"~0.31.0\",\n+ \"@hospitalrun/components\": \"^0.32.2\",\n\"@reduxjs/toolkit\": \"~1.2.1\",\n\"@semantic-releas... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(frontend): update navbar component to match new format
BREAKING CHANGE: update components package changing some interfaces
fix #1781 |
288,326 | 02.02.2020 15:35:40 | 10,800 | 25ddab75d0c5e1e56ff35a085f56f43d675dd10b | fix(frontend): make onclick undefined to avoid lint issue
fix | [
{
"change_type": "MODIFY",
"old_path": "src/components/Navbar.tsx",
"new_path": "src/components/Navbar.tsx",
"diff": "@@ -16,8 +16,7 @@ const Navbar = () => {\ntype: 'icon',\nsrc:\n'data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53%0D%0AMy5vcmcvMj... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(frontend): make onclick undefined to avoid lint issue
fix #1781 |
288,326 | 02.02.2020 18:37:45 | 10,800 | 7cd00d82a3693ec9984d9ef8b39f5e1a0807198f | fix(test): update navbar tests for component update
also refactored the test structure to improve organization, speed and remove code repetition
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/Navbar.test.tsx",
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "@@ -16,115 +16,103 @@ describe('Navbar', () => {\n</Router>,\n)\n- it('should render a HospitalRun Navbar', () => {\n- const wrapper = setup()\n- expect... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): update navbar tests for component update
also refactored the test structure to improve organization, speed and remove code repetition
fix #1782 |
288,326 | 02.02.2020 19:27:21 | 10,800 | e041e221bb09bcec280e17b14138d5d311ebd8c5 | fix(build): fix prettier/eslint config
missing tests from precommit hook to be able to commit changes
fix | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "@@ -10,6 +10,7 @@ module.exports = {\n'prettier',\n'prettier/@typescript-eslint',\n'plugin:prettier/recommended',\n+ 'eslint-config-prettier'\n],\nglobals: {\nAtomics: 'readonly',\n@@ -31,6 +32,7 @@ module.ex... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(build): fix prettier/eslint config
missing tests from precommit hook to be able to commit changes
fix #1782 |
288,326 | 02.02.2020 22:54:01 | 10,800 | 9b5d70b2a0575fff2ee6afb40b0b42135b88f90e | fix(build): remove extra test
fix | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"husky\": {\n\"hooks\": {\n- \"pre-commit\": \"lint-staged && yarn test && yarn test:ci\",\n+ \"pre-commit\": \"lint-staged && yarn test:ci\",\n\"commit-msg\": \"commitlint -E HUSKY_GIT_PARAMS\"\n}\n},\n... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(build): remove extra test
fix #1780 |
288,326 | 03.02.2020 15:19:14 | 10,800 | 0a23b8c675907d7df239652511005e2bf4242064 | fix(test): update patient slice test to match resource update
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patients-slice.test.ts",
"new_path": "src/__tests__/patients/patients-slice.test.ts",
"diff": "@@ -133,7 +133,7 @@ describe('patients slice', () => {\nexpect(mockedComponents.Toast).toHaveBeenCalledWith(\n'success',\n'Success!',\n- `pati... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): update patient slice test to match resource update
fix #1668 |
288,323 | 03.02.2020 19:24:25 | 21,600 | ae44b903de2a1ecd7f4d8724f82f1a67ae38ca32 | fix(patients): fix issue with patient duplicating on update | [
{
"change_type": "MODIFY",
"old_path": "src/clients/db/Repository.ts",
"new_path": "src/clients/db/Repository.ts",
"diff": "@@ -57,15 +57,16 @@ export default class Repository<T extends AbstractDBModel> {\nreturn this.save(entity)\n}\n+ const { id, rev, ...dataToSave } = entity\n+\ntry {\n- const ex... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): fix issue with patient duplicating on update |
288,323 | 29.01.2020 22:14:45 | 21,600 | 842b9eed442ebf301da58fc81855c60905633b1b | feat(appointments): adds ability to display appointments on calendar | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -114,6 +114,7 @@ describe('HospitalRun', () => {\nstore={mockStore({\ntitle: 'test',\nuser: { permissions: [Permissions.ReadAppointments] },\n+ appointments: { a... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): adds ability to display appointments on calendar |
288,323 | 02.02.2020 22:55:24 | 21,600 | a0be28b129ea67deb7d3934db08d68bd745bfdf1 | feat(appointments): refactored appointment detail form to own component | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/scheduling/appointments/AppointmentDetailForm.test.tsx",
"diff": "+import '../../../__mocks__/matchMediaMock'\n+import React from 'react'\n+import { mount, ReactWrapper } from 'enzyme'\n+import AppointmentDetailForm from 'schedulin... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): refactored appointment detail form to own component |
288,323 | 03.02.2020 19:22:16 | 21,600 | f31e852e83b130e024d212dd5d092c6c24c6d77e | feat(appointments): adds screen to view appointment | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -4,6 +4,7 @@ import { useSelector } from 'react-redux'\nimport { Toaster } from '@hospitalrun/components'\nimport Appointments from 'scheduling/appointments/Appointments'\nimport NewAppointme... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): adds screen to view appointment |
288,334 | 04.02.2020 15:18:04 | -3,600 | 2b0f29680446768cc1f2f4f3fbf972ab5984bd45 | ci(github) removes node 10 | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -8,7 +8,7 @@ jobs:\nstrategy:\nmatrix:\n- node-version: [10.x, 12.x, 13.x]\n+ node-version: [12.x, 13.x]\nos: [ubuntu-18.04]\nsteps:\n@@ -36,7 +36,7 @@ jobs:\nstrategy:\nmatrix:\n- ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | ci(github) removes node 10 |
288,326 | 04.02.2020 20:46:16 | 10,800 | c6acecc3c89b0aeb96fa6c6fea15b316ee0669a2 | feat(navigation): navigate to patients profile on related person click
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\n+import { Router } from 'react-router... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(navigation): navigate to patients profile on related person click
fix #1763 |
288,323 | 04.02.2020 23:11:52 | 21,600 | 93bde5463653a0f0784170bc5ce7f0943d7cda76 | feat(appointments): add ability to view appointment | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/AppointmentRepository.test.ts",
"new_path": "src/__tests__/clients/db/AppointmentRepository.test.ts",
"diff": "@@ -8,6 +8,21 @@ describe('Appointment Repository', () => {\nexpect(AppointmentRepository.db).toEqual(appointments)\n})\n+ d... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): add ability to view appointment |
288,326 | 05.02.2020 14:45:39 | 10,800 | 29fbffec0848f0e0fed54b133513cfb1471ddacb | feat(test): add navigate to related person profile onclick test
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "@@ -153,7 +153,7 @@ describe('Related Persons Tab', () => {\nbeforeEach(async () => {\njest.spyOn(PatientRep... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(test): add navigate to related person profile onclick test
fix #1792 |
288,326 | 05.02.2020 14:46:51 | 10,800 | 155b4e939151beb994808bae22dd2cd74845da39 | fix(test): remove extra whitespace
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { Router } from 'react-router'... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): remove extra whitespace
fix #1792 |
288,326 | 05.02.2020 23:15:57 | 10,800 | 9bead7078f8ea94680f24d865f576ae786ce5178 | fix(test): add related test, and revert test changes
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "@@ -2,7 +2,7 @@ import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { Router } fro... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): add related test, and revert test changes
fix #1792 |
288,326 | 05.02.2020 23:31:24 | 10,800 | fc3a78d70f285a120a9d0f690320d6c6fa5e5696 | fix(test): remove unused import
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "@@ -2,7 +2,7 @@ import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { Router } fro... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): remove unused import
fix #1792 |
288,328 | 05.02.2020 21:19:35 | 21,600 | 4e851ea75c214aae625555ec2f55ab0ade855dc6 | test(edit patient): fix tests related to implementing Edit Patient | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"new_path": "src/__tests__/patients/new/NewPatient.test.tsx",
"diff": "@@ -7,15 +7,15 @@ import { mocked } from 'ts-jest/utils'\nimport { createMemoryHistory } from 'history'\nimport { act } from 'react-dom/test... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(edit patient): fix tests related to implementing Edit Patient |
288,323 | 05.02.2020 21:17:53 | 21,600 | 9bdb933b066f45f3c7f594d0ebdf5415c2b6d88b | feat(appointments): display patient full name for appointments | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/AppointmentRepository.test.ts",
"new_path": "src/__tests__/clients/db/AppointmentRepository.test.ts",
"diff": "@@ -10,7 +10,7 @@ describe('Appointment Repository', () => {\ndescribe('find', () => {\nit('should find an appointment by id... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments): display patient full name for appointments |
288,297 | 06.02.2020 12:27:59 | -3,600 | 3b60961f3875ca763893f1be2d63f304a83dd9d1 | feat: add analyze script | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"author\": \"Jack Meyer\",\n\"contributors\": [\n\"Maksim Sinik\",\n- \"Michael J Feher\",\n\"Stefano Casasola\"\n],\n\"devDependencies\": {\n\"@types/react-router\": \"~5.1.2\",\n\"@types/react-router-dom\"... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat: add analyze script |
288,334 | 06.02.2020 21:23:30 | -3,600 | 6e738231cffb929ce2374f15f9d06773bb570d3a | chore(components): updates dependency | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"^0.32.2\",\n+ \"@hospitalrun/components\": \"^0.32.4\",\n\"@reduxjs/toolkit\": \"~1.2.1\",\n\"@semantic-releas... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | chore(components): updates dependency |
288,254 | 06.02.2020 20:29:19 | 0 | e513b172e25f24126969564a0e7d4f421758e626 | fix(patients): stop "Loading..." when patient has no related persons
re | [
{
"change_type": "MODIFY",
"old_path": "src/patients/related-persons/RelatedPersonTab.tsx",
"new_path": "src/patients/related-persons/RelatedPersonTab.tsx",
"diff": "@@ -32,10 +32,10 @@ const RelatedPersonTab = (props: Props) => {\nfetchedRelatedPersons.push(fetchedRelatedPerson)\n}),\n)\n+ }\nsetRe... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): stop "Loading..." when patient has no related persons
re #1789 |
288,326 | 06.02.2020 18:55:00 | 10,800 | ef7e19cabf596afd08d4e15449a96285541149d1 | feat(relatedpersontab): add cursor icon to related persons list
fix | [
{
"change_type": "MODIFY",
"old_path": "src/patients/related-persons/RelatedPersonTab.tsx",
"new_path": "src/patients/related-persons/RelatedPersonTab.tsx",
"diff": "@@ -99,7 +99,7 @@ const RelatedPersonTab = (props: Props) => {\n{relatedPersons ? (\n<List>\n{relatedPersons.map((r) => (\n- <ListItem... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(relatedpersontab): add cursor icon to related persons list
fix #1792 |
288,328 | 06.02.2020 15:56:49 | 21,600 | 4a232043fd60bb88e13b8f0ac0e412c7f63f4b45 | test(edit patient): fix tests, improve tests for GeneralInformation
Add tests into GeneralInformation that were in the now-deleted NewPatientForm | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/GeneralInformation.test.tsx",
"new_path": "src/__tests__/patients/GeneralInformation.test.tsx",
"diff": "@@ -2,11 +2,102 @@ import '../../__mocks__/matchMediaMock'\nimport React from 'react'\nimport { Router } from 'react-router'\nimport... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(edit patient): fix tests, improve tests for GeneralInformation
Add tests into GeneralInformation that were in the now-deleted NewPatientForm |
288,328 | 06.02.2020 18:29:26 | 21,600 | 12fde6e37bb1fe9c93d3de029a7d9dbbbffd7318 | test(edit patient): add tests for EditPatient component and route | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -11,6 +11,7 @@ import Dashboard from 'dashboard/Dashboard'\nimport Appointments from 'scheduling/appointments/Appointments'\nimport NewAppointment from 'scheduli... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(edit patient): add tests for EditPatient component and route |
288,323 | 06.02.2020 23:23:01 | 21,600 | 4303b6c3523576df8125980df98d81bb8512db20 | fix(patients): makes patient search case insensitive | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"new_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"diff": "@@ -22,7 +22,7 @@ describe('patient repository', () => {\ndescribe('search', () => {\nit('should return all records that friendly id... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): makes patient search case insensitive |
288,254 | 07.02.2020 10:25:37 | 0 | c156b5bba25b008be3bd7d11cd393e2f12fb49cb | fix(persons): replace "No related persons" message with a warning
re | [
{
"change_type": "MODIFY",
"old_path": "src/patients/related-persons/RelatedPersonTab.tsx",
"new_path": "src/patients/related-persons/RelatedPersonTab.tsx",
"diff": "import React, { useState, useEffect } from 'react'\n-import { Button, Panel, List, ListItem } from '@hospitalrun/components'\n+import ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(persons): replace "No related persons" message with a warning
re #1789 |
288,334 | 07.02.2020 16:00:30 | -3,600 | 639f122b11e6eee2953d0ad40db6edbd22b82f61 | fix(hook): improves eslint precommit hook | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"husky\": {\n\"hooks\": {\n- \"pre-commit\": \"lint-staged && yarn test:ci\",\n+ \"pre-commit\": \"lint-staged\",\n\"commit-msg\": \"commitlint -E HUSKY_GIT_PARAMS\"\n}\n},\n},\n\"lint-staged\": {\n\"**/... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(hook): improves eslint precommit hook |
288,334 | 07.02.2020 16:51:13 | -3,600 | bbaf832241f02c35018259d17de8fbcbbd2eda50 | build(release): removes semantic release and fix husky precommit | [
{
"change_type": "DELETE",
"old_path": ".releaserc",
"new_path": null,
"diff": "-{\n- \"plugins\": [\n- \"@semantic-release/commit-analyzer\",\n- \"@semantic-release/release-notes-generator\",\n- \"@semantic-release/changelog\",\n- [\"@semantic-release/git\", {\n- \"assets\": [\"package.json\", \"CH... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | build(release): removes semantic release and fix husky precommit |
288,334 | 07.02.2020 17:12:05 | -3,600 | 49f8b0cf53f3ae8115b23859984e9dbc5a451bdb | chore: removes semantic release script | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"test:ci\": \"cross-env CI=true react-scripts test\",\n\"lint\": \"eslint \\\"src/**/*.{js,jsx,ts,tsx}\\\"\",\n\"lint:fix\": \"eslint \\\"src/**/*.{js,jsx,ts,tsx}\\\" --fix\",\n- \"coveralls\": \"npm run tes... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | chore: removes semantic release script |
288,328 | 07.02.2020 16:32:39 | 21,600 | 403e49feb130d16718fb014e1a27ea218915bb7e | feat(edit patient): moved buttons out of GeneralInformation
Instead of conditionally rendering buttons in GeneralInformation, render them in their parent
components (New/View/Edit Patient). | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/GeneralInformation.test.tsx",
"new_path": "src/__tests__/patients/GeneralInformation.test.tsx",
"diff": "@@ -5,78 +5,9 @@ import { mount, ReactWrapper } from 'enzyme'\nimport GeneralInformation from 'patients/GeneralInformation'\nimport ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(edit patient): moved buttons out of GeneralInformation
Instead of conditionally rendering buttons in GeneralInformation, render them in their parent
components (New/View/Edit Patient). |
288,328 | 07.02.2020 20:23:40 | 21,600 | cee1f82442541bd90b1b0d70f491245077caf92f | test(edit patient): fix test errors | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -59,7 +59,20 @@ describe('HospitalRun', () => {\n})\ndescribe('/patients/edit/:id', () => {\n- it('should render the edit patient screen when /patients/edit is a... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(edit patient): fix test errors |
288,334 | 08.02.2020 12:42:40 | -3,600 | 641c1600ee5fc1b627267bceb45162a9371ac090 | docs(mkdocs): bootstrap docs | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "mkdocs.yml",
"diff": "+site_name: HospitalRun\n+site_url: https://hospotalrun.io\n+site_description: HospitalRun project documentation\n+site_author: HospitalRun Core Team\n+\n+repo_url: https://github.com/hospitalrun/hospitalrun/\n+\n+theme:\n+... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | docs(mkdocs): bootstrap docs |
288,337 | 08.02.2020 16:28:41 | -3,600 | 65b40aeba2c9f75d4d5944e046cdaa7da126f1d1 | feat(breadcrumb): add a breadcrumb underneath the page header
fix | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -5,6 +5,7 @@ import { Toaster } from '@hospitalrun/components'\nimport Appointments from 'scheduling/appointments/Appointments'\nimport NewAppointment from 'scheduling/appointments/new/NewApp... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(breadcrumb): add a breadcrumb underneath the page header
fix #1770 |
288,254 | 08.02.2020 17:24:56 | 0 | da6bdb19e3609e1d8fca6d08349c71814162f536 | fix(patients): add test for displaying No Related Persons warning
re | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "@@ -4,7 +4,7 @@ import { Router } from 'react-router'\nimport { createMemoryHistory } from 'history'\nimport... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): add test for displaying No Related Persons warning
re #1789 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.