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 | 02.04.2020 23:00:25 | 18,000 | f354c940ceac9e41b6b92d21fc37c91c7eb09121 | feat(labs): adds test for lab related routes | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -14,6 +14,8 @@ import Appointments from 'scheduling/appointments/Appointments'\nimport NewAppointment from 'scheduling/appointments/new/NewAppointment'\nimport E... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(labs): adds test for lab related routes |
288,323 | 02.04.2020 23:51:56 | 18,000 | 94fa61aa2cff1f504cd415abde1e1c4483f2e3a4 | feat(labs): fix time related tests | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -15,6 +15,7 @@ import * as ButtonBarProvider from 'page-header/ButtonBarProvider'\nimport createMockStore from 'redux-mock-store'\nimport { Badge, Button, Aler... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(labs): fix time related tests |
288,323 | 03.04.2020 08:13:46 | 18,000 | be799ac21453346ebed5c1b6dabb363cc22e13e5 | feat(labs): use different act import | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/Labs.test.tsx",
"new_path": "src/__tests__/labs/Labs.test.tsx",
"diff": "@@ -5,8 +5,7 @@ import { MemoryRouter } from 'react-router'\nimport { Provider } from 'react-redux'\nimport thunk from 'redux-thunk'\nimport configureMockStore from 're... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(labs): use different act import |
288,381 | 04.04.2020 18:34:12 | -21,600 | ec5d655650875024b0bba12d49bc0dfad4c670ab | feat(patient): add appointment button | [
{
"change_type": "MODIFY",
"old_path": "src/locales/enUs/translations/patient/index.ts",
"new_path": "src/locales/enUs/translations/patient/index.ts",
"diff": "@@ -32,6 +32,9 @@ export default {\nnew: 'New Related Person',\nrelationshipType: 'Relationship Type',\n},\n+ appointments: {\n+ new: 'Add A... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patient): add appointment button |
288,323 | 05.04.2020 20:01:03 | 18,000 | 7f856c84ca94808b4a85d6ae6abf6ecde1351d77 | feat: work in progress paging and sorting | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/clients/Sort.ts",
"diff": "+export default interface Sort {\n+ field: string\n+ direction: 'asc' | 'desc'\n+}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/clients/db/LabRepository.ts",
"new_path": "src/clients/db/LabRepo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat: work in progress paging and sorting |
288,323 | 05.04.2020 20:41:11 | 18,000 | a1569b181845a8d0543d4147d65ce00cbb799fc7 | feat: remove paging stuff | [
{
"change_type": "DELETE",
"old_path": "src/clients/db/Page.ts",
"new_path": null,
"diff": "-export default class Page<T> {\n- /** the content for this page */\n- content: T[]\n-\n- /** the total number of elements that match the search */\n- totalElements: number\n-\n- /** the size of the current p... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat: remove paging stuff |
288,381 | 06.04.2020 15:19:02 | -21,600 | 1704ccb0ecdf0678038aa7e6c06c222f60ed501f | feat(patient): change newAppointment button label and add tests | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/patients/appointments/NewAppointment.test.tsx",
"diff": "+import '../../../__mocks__/matchMediaMock'\n+import React from 'react'\n+import { mount } from 'enzyme'\n+import { createMemoryHistory } from 'history'\n+import configureMoc... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patient): change newAppointment button label and add tests |
288,323 | 06.04.2020 17:02:24 | 18,000 | 89430f79c25e793171d5eff73ced0338b6fbf1c4 | feat(patients): refactor patient list to use table | [
{
"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, L... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): refactor patient list to use table (#1965) |
288,323 | 06.04.2020 18:56:34 | 18,000 | 6e08babcad9f25e830e53c9f301c60706562ab61 | feat(patients): adds ability to remove related person | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"new_path": "src/__tests__/patients/related-persons/RelatedPersons.test.tsx",
"diff": "@@ -16,6 +16,8 @@ import { Provider } from 'react-redux'\nimport Permissions from 'model/Permissions'\nimpor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): adds ability to remove related person (#1968) |
288,315 | 06.04.2020 21:29:36 | 14,400 | 3ba741c0988165f8121c0025074e9eaaafadc577 | feat(patients): added live search to the patients search | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/hooks/debounce.spec.ts",
"diff": "+import { renderHook, act } from '@testing-library/react-hooks'\n+import useDebounce from 'hooks/debounce'\n+\n+describe('useDebounce', () => {\n+ beforeAll(() => jest.useFakeTimers())\n+\n+ afterA... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): added live search to the patients search (#1970) |
288,381 | 07.04.2020 16:22:19 | -21,600 | af66ec68c5c34d87755205c3dfab3debce7bd393 | fix(patient): appointments list tests | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/appointments/NewAppointment.test.tsx",
"new_path": "src/__tests__/patients/appointments/NewAppointment.test.tsx",
"diff": "@@ -5,7 +5,6 @@ import { createMemoryHistory } from 'history'\nimport configureMockStore from 'redux-mock-store'\n... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patient): appointments list tests |
288,323 | 08.04.2020 22:58:13 | 18,000 | 3ce732a99a9952e082febd811a1205260682f1e2 | feat: fix tests for sorting | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx",
"diff": "@@ -12,6 +12,8 @@ import PatientRepository from 'clients/db/PatientRepository'\nimport { mocked } from 'ts-jest/ut... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat: fix tests for sorting |
288,381 | 10.04.2020 13:58:12 | -21,600 | 648681b25adec1897eb5612c322ddcba95afa73f | refactor(patient): rename test and remove mock | [
{
"change_type": "RENAME",
"old_path": "src/__tests__/patients/appointments/NewAppointment.test.tsx",
"new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx",
"diff": "@@ -47,11 +47,6 @@ const setup = (patient = expectedPatient, appointments = expectedAppointments) =\ndescribe('A... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(patient): rename test and remove mock |
288,323 | 10.04.2020 15:59:20 | 18,000 | 9fa3c416934547650f04ac83f8c8bad58adf423b | style: fix inconsistent lint issues | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "@@ -53,6 +53,7 @@ module.exports = {\n'no-nested-ternary': 'off',\n'import/no-unresolved': 'off',\n'import/extensions': ['error', 'never'],\n+ 'newline-per-chained-call': 'off',\ncurly: ['error', 'all'],\n},\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | style: fix inconsistent lint issues |
288,323 | 10.04.2020 16:12:54 | 18,000 | c49aa778b65f2ba49be5c1246aa402e3d6640b5e | style: change eslint config | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "@@ -7,13 +7,11 @@ module.exports = {\n},\nextends: [\n'airbnb',\n- \"eslint:recommended\",\n- \"plugin:@typescript-eslint/eslint-recommended\",\n- \"plugin:@typescript-eslint/recommended\",\n+ 'eslint:recomme... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | style: change eslint config |
288,323 | 10.04.2020 17:03:18 | 18,000 | 71a6c7cacc3641a33bb0912eba01cddeb662c990 | style: revert eslint changes | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "@@ -11,7 +11,9 @@ module.exports = {\n'plugin:@typescript-eslint/eslint-recommended',\n'plugin:@typescript-eslint/recommended',\n'prettier',\n- 'prettier/@typescript-eslint'\n+ 'prettier/@typescript-eslint',\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | style: revert eslint changes |
288,333 | 10.04.2020 17:44:10 | 25,200 | b816ebf84661fe7290338451fe2737dfc1c0efa2 | fix(patients): current patient can no longer be related person | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx",
"new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx",
"diff": "@@ -3,20 +3,51 @@ import React from 'react'\nimport { ReactWrapper, mount } from 'enzyme'\nimp... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): current patient can no longer be related person (#1959) |
288,312 | 12.04.2020 16:49:56 | 10,800 | 992e58df8ebdaac2e2df2b0e50423608513a5176 | fix(patient): Input validation and error feedback | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/edit/EditPatient.test.tsx",
"new_path": "src/__tests__/patients/edit/EditPatient.test.tsx",
"diff": "@@ -9,6 +9,7 @@ import { act } from 'react-dom/test-utils'\nimport configureMockStore, { MockStore } from 'redux-mock-store'\nimport thu... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patient): Input validation and error feedback (#1977) |
288,323 | 12.04.2020 16:50:49 | 18,000 | 1a4ece9d4a1a4b05a7166f34a741c57595a550c0 | refactor labs to use redux | [
{
"change_type": "MODIFY",
"old_path": "src/labs/ViewLab.tsx",
"new_path": "src/labs/ViewLab.tsx",
"diff": "import React, { useEffect, useState } from 'react'\nimport { useParams, useHistory } from 'react-router'\nimport format from 'date-fns/format'\n-import LabRepository from 'clients/db/LabReposi... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor labs to use redux |
288,323 | 12.04.2020 19:15:42 | 18,000 | ce714fa86d9e3b7af67b45bcb80df46fbd8e57c5 | docs: updates documentation for better onboarding | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -24,78 +24,56 @@ React frontend for [HospitalRun](http://hospitalrun.io/): free software for deve\n</div>\n-# Contributing\n+## Contributing\nContributions are always welcome. Before contributing please read our... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | docs: updates documentation for better onboarding |
288,381 | 14.04.2020 14:59:59 | -21,600 | 21fe92b6c93dfbb7ae31174f4dd723b0256df98d | style(patient): change new appointment button position | [
{
"change_type": "MODIFY",
"old_path": "src/patients/appointments/AppointmentsList.tsx",
"new_path": "src/patients/appointments/AppointmentsList.tsx",
"diff": "@@ -53,7 +53,7 @@ const AppointmentsList = (props: Props) => {\n}\nreturn (\n- <Container>\n+ <>\n<div className=\"row\">\n<div className=\"... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | style(patient): change new appointment button position |
288,334 | 14.04.2020 11:30:51 | -7,200 | 9485a0baecc3fa1b0ea3ea628556973aeffaa49f | Updates readme and contributing | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -24,56 +24,121 @@ React frontend for [HospitalRun](http://hospitalrun.io/): free software for deve\n</div>\n-## Contributing\n+# Contributing\nContributions are always welcome. Before contributing please read ou... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Updates readme and contributing |
288,334 | 16.04.2020 19:55:40 | -7,200 | 06d3c8692733cc0b301bdf4187adfc1f08930e94 | chore(lint): lint file | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx",
"new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx",
"diff": "@@ -10,7 +10,7 @@ import { Provider } from 'react-redux'\nimport AppointmentsList from 'patients/appointments/... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | chore(lint): lint file |
288,311 | 30.03.2020 22:16:29 | 14,400 | 57f9d7ac34d5c366a6faeac324809599bf30a953 | feat(newrelatedpersonmodal): update Error Feedback
re | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx",
"new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx",
"diff": "@@ -143,10 +143,11 @@ describe('Add Related Person Modal', () => {\nwrapper.update()\nconst er... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(newrelatedpersonmodal): update Error Feedback
re #1925 |
288,323 | 17.04.2020 00:02:46 | 18,000 | 53f93f6d6193dc71bfc4d639b54d1556d645222a | feat(patients): add tests | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx",
"new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx",
"diff": "@@ -65,7 +65,7 @@ describe('Add Related Person Modal', () => {\n})\nit('should render a relati... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): add tests |
288,323 | 19.04.2020 01:18:47 | 18,000 | 7ba2e8ea6ffb20b71b9781e27c07e9f6a4d26ac7 | feat(labs): reduxify request, cancel, fetch, and update labs | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/Labs.test.tsx",
"new_path": "src/__tests__/labs/Labs.test.tsx",
"diff": "@@ -34,6 +34,11 @@ describe('Labs', () => {\nuser: { permissions: [Permissions.RequestLab] },\nbreadcrumbs: { breadcrumbs: [] },\ncomponents: { sidebarCollapsed: false ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(labs): reduxify request, cancel, fetch, and update labs |
288,323 | 20.04.2020 23:19:06 | 18,000 | a58c90b41dd663b248af4bbb71c13aa3f3026db0 | test(labs): remove * as import | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/lab-slice.test.ts",
"new_path": "src/__tests__/labs/lab-slice.test.ts",
"diff": "@@ -4,9 +4,26 @@ import PatientRepository from '../../clients/db/PatientRepository'\nimport LabRepository from '../../clients/db/LabRepository'\nimport Lab from... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(labs): remove * as import |
288,323 | 21.04.2020 18:00:54 | 18,000 | f292926c46941159ba807bef3986f21a1ca34762 | feat(patients): set max date in date of birth date picker | [
{
"change_type": "MODIFY",
"old_path": ".env.example",
"new_path": ".env.example",
"diff": "-REACT_APP_HOSPITALRUN_API=http://0.0.0.0:3001\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/input/DatePickerWithLabelFormGroup.test.tsx",
... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): set max date in date of birth date picker (#2002) |
288,334 | 22.04.2020 13:08:49 | -7,200 | 4cf2cbb8ecdb312a541217f1a7b56249dd0e3b49 | ci(node): add node 14 support on yarn stage | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -43,7 +43,7 @@ jobs:\nruns-on: ${{ matrix.os }}\nstrategy:\nmatrix:\n- node-version: [12.x, 13.x]\n+ node-version: [12.x, 14.x]\nos: [ubuntu-latest, windows-latest, macOS-latest]\n#... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | ci(node): add node 14 support on yarn stage |
288,350 | 22.04.2020 22:43:29 | -19,080 | 88ec61c3c9afa1f9a1c1a7e62d7b84ed1cd72015 | feat(viewlabs): sort Labs by requestedOn field | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLabs.test.tsx",
"new_path": "src/__tests__/labs/ViewLabs.test.tsx",
"diff": "@@ -13,6 +13,7 @@ import LabRepository from 'clients/db/LabRepository'\nimport Lab from 'model/Lab'\nimport format from 'date-fns/format'\nimport * as ButtonBar... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewlabs): sort Labs by requestedOn field (#2004) |
288,307 | 23.04.2020 01:28:54 | -3,600 | d5a16b115709725fc8d474def9df98d8b874fac3 | feat(appointments) reason field no longer labelled as a required | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/input/TextFieldWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/components/input/TextFieldWithLabelFormGroup.test.tsx",
"diff": "@@ -24,6 +24,25 @@ describe('text field with label form group', () => {\nexpect(label.prop('text')... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(appointments) reason field no longer labelled as a required (#2003) |
288,353 | 23.04.2020 09:47:43 | -7,200 | 224a63fdd8b8ec5b7125cc776f20215302b6f25a | fix(breadcrumb label): edit Appointment label on breadcrumb
Added mssing scheduling.appointments.editAppointment label and
scheduling.appointments.deleteAppointment label
Fix | [
{
"change_type": "MODIFY",
"old_path": "src/locales/enUs/translations/scheduling/index.ts",
"new_path": "src/locales/enUs/translations/scheduling/index.ts",
"diff": "@@ -5,6 +5,8 @@ export default {\nlabel: 'Appointments',\nnew: 'New Appointment',\nschedule: 'Appointment Schedule',\n+ editAppointmen... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(breadcrumb label): edit Appointment label on breadcrumb
Added mssing scheduling.appointments.editAppointment label and
scheduling.appointments.deleteAppointment label
Fix #1996 |
288,353 | 24.04.2020 14:42:24 | -7,200 | 2ce192bb6989b9ba4c804c339f519be72ec26c04 | feat(add french language): add French language ot locales list | [
{
"change_type": "MODIFY",
"old_path": "src/i18n.ts",
"new_path": "src/i18n.ts",
"diff": "@@ -6,6 +6,7 @@ import translationAR from './locales/ar/translations'\nimport translationDE from './locales/de/translations'\nimport translationEnUs from './locales/enUs/translations'\nimport translationES from... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(add french language): add French language ot locales list
#1888 |
288,323 | 25.04.2020 22:56:28 | 18,000 | 5cfbc3295d2142f6e6787890b2915cbfb6868aa1 | fix: fixes warnings/errors appearing in console | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -411,7 +411,7 @@ describe('HospitalRun', () => {\n})\ndescribe('/labs', () => {\n- it('should render the Labs component when /labs is accessed', () => {\n+ it('s... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: fixes warnings/errors appearing in console |
288,323 | 25.04.2020 23:03:59 | 18,000 | 6f5f9f97e8cf47a2f0d5ac3211d804f348ab561a | fix: adds missing translations | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -195,7 +195,7 @@ describe('New Appointment', () => {\nexpect(mockedComponents.Toast).toHaveBeenCall... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: adds missing translations |
288,323 | 23.04.2020 21:38:38 | 18,000 | e48a87c62bd9f323dcc455c58ea982ef8110063c | refactor(patients): rename files | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -13,7 +13,7 @@ import Labs from 'labs/Labs'\nimport Sidebar from './components/Sidebar'\nimport Permissions from './model/Permissions'\nimport Dashboard from './dashboard/Dashboard'\n-import ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(patients): rename files |
288,334 | 26.04.2020 20:45:18 | -7,200 | 6d1f5a4912dcd9cc905d1478db1f49fb3b824f2c | chore(deps): bump components from 1.2.0 to 1.3.0 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"^1.2.0\",\n+ \"@hospitalrun/components\": \"^1.3.0\",\n\"@reduxjs/toolkit\": \"~1.3.0\",\n\"@types/pouchdb-fin... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | chore(deps): bump components from 1.2.0 to 1.3.0 |
288,261 | 26.04.2020 22:24:21 | -3,600 | 4a7515aa80312faa4a05fe5d74c8a74e50f8b6cf | feat(localization): add portuguese language | [
{
"change_type": "MODIFY",
"old_path": "src/locales/ptBr/translations/index.ts",
"new_path": "src/locales/ptBr/translations/index.ts",
"diff": "@@ -5,6 +5,7 @@ import patients from './patients'\nimport scheduling from './scheduling'\nimport states from './states'\nimport sex from './sex'\n+import la... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(localization): add portuguese language (#2018) |
288,350 | 28.04.2020 21:28:12 | -19,080 | dff2b3e44ee076f8154290fe9183106d6fe3f231 | feat(viewpatients): add paging feature in ViewPatients component
feat | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"diff": "@@ -10,25 +10,39 @@ import { mocked } from 'ts-jest/utils'\nimport { act } from 'react-dom/test-utils'\nimport * as ButtonBarProvider ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatients): add paging feature in ViewPatients component
feat #1969 |
288,350 | 28.04.2020 22:16:26 | -19,080 | c4109a470290843b39023e656db68845930174d0 | feat: add Sort request in ViewPatients
feat | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"diff": "@@ -11,7 +11,6 @@ import { act } from 'react-dom/test-utils'\nimport * as ButtonBarProvider from 'page-header/ButtonBarProvider'\nimpo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat: add Sort request in ViewPatients
feat #1969 |
288,350 | 28.04.2020 22:38:28 | -19,080 | 11b6c8be0ee643bea6c33250c8adb36b8dafbf8f | fix(viewpatients.tsx): add userPageRequest in dependency array
fix | [
{
"change_type": "MODIFY",
"old_path": "src/patients/list/ViewPatients.tsx",
"new_path": "src/patients/list/ViewPatients.tsx",
"diff": "@@ -86,7 +86,7 @@ const ViewPatients = () => {\nreturn () => {\nsetButtonToolBar([])\n}\n- }, [dispatch, setButtonToolBar, t, history])\n+ }, [dispatch, setButtonTo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(viewpatients.tsx): add userPageRequest in dependency array
fix #1969 |
288,307 | 01.05.2020 00:20:04 | -3,600 | 1693e5f542b7bead83dd0495b2fb2dc4398b3319 | fix(patients): fixes search when using special characters | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@types/pouchdb-find\": \"~6.3.4\",\n\"bootstrap\": \"~4.4.1\",\n\"date-fns\": \"~2.12.0\",\n+ \"escape-string-regexp\": \"~4.0.0\",\n\"i18next\": \"~19.4.0\",\n\"i18next-browser-languagedetector\": \"~4.1.0... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(patients): fixes search when using special characters (#2012) |
288,323 | 30.04.2020 22:44:38 | 18,000 | 242e1a13c14f83b4a945dcccf554e26ead5622ff | feat(patient): add email and phone number validation | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"i18next\": \"~19.4.0\",\n\"i18next-browser-languagedetector\": \"~4.1.0\",\n\"i18next-xhr-backend\": \"~3.2.2\",\n- \"node-sass\": \"~4.14.0\",\n\"lodash\": \"^4.17.15\",\n+ \"node-sass\": \"~4.14.0\",\n\"p... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patient): add email and phone number validation |
288,334 | 01.05.2020 12:19:51 | -7,200 | e522406bdaa8bd1ea9cd8a99e4c36faf78ad2c7a | chore(deps): bump components | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"private\": false,\n\"license\": \"MIT\",\n\"dependencies\": {\n- \"@hospitalrun/components\": \"^1.3.0\",\n+ \"@hospitalrun/components\": \"^1.4.0\",\n\"@reduxjs/toolkit\": \"~1.3.0\",\n\"@types/pouchdb-fin... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | chore(deps): bump components |
288,350 | 01.05.2020 17:43:05 | -19,080 | 5308f5fc7fa358d13797dee5e6a78b724795f31b | feat(viewpatients): refactor code as recommended
Change Page interface, Fix failing tests
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"diff": "@@ -64,7 +64,31 @@ describe('Patients', () => {\nbeforeEach(() => {\njest.resetAllMocks()\njest.spyOn(PatientRepository, 'findAll')\n+... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatients): refactor code as recommended
Change Page interface, Fix failing tests
fix #1969 |
288,347 | 02.05.2020 09:37:50 | -7,200 | 9ca5232632503fbefb5ffae4e4d23a10d44fc62c | feat(add new script for checking missing translations): translations
I add new dep for running typscript script(ts-node). I update the linter path for checking the new
folder scripts. With the command yarn translation:check you can check if some translations are
missing. All erros will print in the console
fix | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "@@ -21,7 +21,7 @@ module.exports = {\n},\nparser: '@typescript-eslint/parser',\nparserOptions: {\n- project: './tsconfig.json',\n+ project: ['./tsconfig.json', './scripts/tsconfig.json'],\ntsconfigRootDir: '.... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(add new script for checking missing translations): translations
I add new dep for running typscript script(ts-node). I update the linter path for checking the new
folder scripts. With the command yarn translation:check you can check if some translations are
missing. All erros will print in the console
fix #1919 |
288,334 | 02.05.2020 14:31:46 | -7,200 | e972aaebce02badce360645b3e722135b19f3056 | fix(moment): add resolutions key on package.json | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"typescript\": \"~3.8.2\",\n\"uuid\": \"^8.0.0\",\n\"validator\": \"^13.0.0\"\n+ },\n+ \"resolutions\": {\n+ \"moment\": \"2.24.0\"\n+ },\n+ \"comments\": {\n+ \"resolutions\": \"Added this key as temp fix h... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(moment): add resolutions key on package.json |
288,307 | 02.05.2020 14:08:45 | -3,600 | 254273f889fd0d24189c634226b6c07d8d043532 | feat(patients): escape string in appointments search
Fix
Fix
Fix
Fix | [
{
"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/AppointmentRepository'\n-import { appointments } from 'config/pouchdb'\n+impor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patients): escape string in appointments search (#2031)
Fix #1997
Fix #2003
Fix #1999
Fix #2029 |
288,323 | 26.04.2020 17:46:59 | 18,000 | 2e9e985c877db2f095ba11fb6900fc177283d5cc | feat(incidents): add incident related routing | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -17,6 +17,7 @@ import { RootState } from './store'\nimport Navbar from './components/Navbar'\nimport PrivateRoute from './components/PrivateRoute'\nimport Patients from './patients/Patients'\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(incidents): add incident related routing |
288,323 | 30.04.2020 21:54:01 | 18,000 | 4a4a6821838982f51b94ff050ff5e614a95d8839 | feat(incidents): adds ability to report incident | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/Incidents.test.tsx",
"new_path": "src/__tests__/incidents/Incidents.test.tsx",
"diff": "@@ -22,6 +22,7 @@ describe('Incidents', () => {\nuser: { permissions: [Permissions.ReportIncident] },\nbreadcrumbs: { breadcrumbs: [] },\ncomponents... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(incidents): adds ability to report incident |
288,347 | 03.05.2020 08:05:09 | -7,200 | 75f998103cde809054d01b5d999dba557952bb09 | feat(checkmissingtranslations.ts): refactor | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"redux-mock-store\": \"~1.5.4\",\n\"source-map-explorer\": \"^2.2.2\",\n\"standard-version\": \"~7.1.0\",\n- \"ts-jest\": \"~24.3.0\"\n+ \"ts-jest\": \"~24.3.0\",\n+ \"ts-node\": \"^8.10.0\"\n},\n\"scripts\"... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(checkmissingtranslations.ts): refactor |
288,347 | 03.05.2020 08:15:20 | -7,200 | 5ef3f7ec702331bb1bea14cd51a46e48a2a31ca2 | feat(checkmissintranslations.ts): run script before default ones
Run yarn translation:check before yarn start and yarn test | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"scripts\": {\n\"analyze\": \"source-map-explorer 'build/static/js/*.js'\",\n\"commit\": \"npx git-cz\",\n- \"start\": \"react-scripts start\",\n+ \"start\": \"yarn translation:check && react-scripts start\"... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(checkmissintranslations.ts): run script before default ones
Run yarn translation:check before yarn start and yarn test |
288,347 | 03.05.2020 08:29:57 | -7,200 | ede7b2eca4046bc93dc47c43a73ef9007f2f1594 | feat(checkmissintranlations.ts): add colors to log
add library chalk to make logs more colored | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@types/validator\": \"~13.0.0\",\n\"@typescript-eslint/eslint-plugin\": \"~2.30.0\",\n\"@typescript-eslint/parser\": \"~2.30.0\",\n+ \"chalk\": \"^4.0.0\",\n\"commitizen\": \"~4.0.3\",\n\"commitlint-config-... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(checkmissintranlations.ts): add colors to log
add library chalk to make logs more colored |
288,350 | 03.05.2020 12:31:24 | -19,080 | d1c55e7ab0bdcbe9a851751a747a6fe71714dc6a | feat(viewpatients): add a new field 'index', paging in next direction
New 'index' field is a combination of 'fullName' and 'code' so that uniqueness is guaranteed and
paging logic can relay on this field. A new field in PageRequest to store a reference field for
getting next page.
feat feat | [
{
"change_type": "MODIFY",
"old_path": "src/clients/db/PageRequest.ts",
"new_path": "src/clients/db/PageRequest.ts",
"diff": "export default interface PageRequest {\nnumber: number | undefined\nsize: number | undefined\n+ nextPageInfo: { [key: string]: string | null } | undefined\n+ direction: 'prev... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatients): add a new field 'index', paging in next direction
New 'index' field is a combination of 'fullName' and 'code' so that uniqueness is guaranteed and
paging logic can relay on this field. A new field in PageRequest to store a reference field for
getting next page.
feat #1969, feat #1967 |
288,350 | 03.05.2020 13:16:03 | -19,080 | 220ad9c6a8456c83e26b73e22828cd3a399b471b | test: fix failing tests
Fix failing tests after adding 'index' field and changes in PageRequest
feat | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/edit/EditPatient.test.tsx",
"new_path": "src/__tests__/patients/edit/EditPatient.test.tsx",
"diff": "@@ -35,6 +35,7 @@ describe('Edit Patient', () => {\naddress: 'address',\ncode: 'P00001',\ndateOfBirth: subDays(new Date(), 2).toISOStrin... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: fix failing tests
Fix failing tests after adding 'index' field and changes in PageRequest
feat #1969 |
288,347 | 03.05.2020 10:40:29 | -7,200 | 44f15f3a12b3a4252f70c745b37a1140c732d976 | feat(i18n): add italian translation | [
{
"change_type": "MODIFY",
"old_path": "src/i18n.ts",
"new_path": "src/i18n.ts",
"diff": "@@ -12,8 +12,12 @@ import translationJA from './locales/ja/translations'\nimport translationPtBR from './locales/ptBr/translations'\nimport translationRU from './locales/ru/translations'\nimport translationZR f... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(i18n): add italian translation (#2035) |
288,350 | 03.05.2020 14:24:07 | -19,080 | 52a59d3865444d37a2c605d2799346172fec2904 | feat(viewpatients): enables to navigation to previous page
Add a field in PageRequest to store refrence that will enable getting previous page.
feat | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"diff": "@@ -174,7 +174,13 @@ describe('Patients', () => {\n{\nsorts: [{ field: 'index', direction: 'asc' }],\n},\n- { number: 1, size: 1, next... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatients): enables to navigation to previous page
Add a field in PageRequest to store refrence that will enable getting previous page.
feat #1969 |
288,261 | 03.05.2020 18:42:22 | -3,600 | bb02fa20a23eab285c88cfe6ef16d28783d24ec6 | feat(patient): add input validation | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patient-slice.test.ts",
"new_path": "src/__tests__/patients/patient-slice.test.ts",
"diff": "@@ -295,6 +295,37 @@ describe('patients slice', () => {\n}),\n)\n})\n+\n+ it('should validate fields that should only contian alpha characters',... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(patient): add input validation (#2032) |
288,329 | 03.05.2020 19:54:22 | -7,200 | 4a1c7ed4a80265e55020f8b86fbec1aedf366330 | feat(viewpatient): added labs tab to ViewPatient | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependencies\": {\n\"@hospitalrun/components\": \"^1.4.0\",\n\"@reduxjs/toolkit\": \"~1.3.0\",\n+ \"@types/escape-string-regexp\": \"~2.0.1\",\n\"@types/pouchdb-find\": \"~6.3.4\",\n\"bootstrap\": \"~4.4.1\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatient): added labs tab to ViewPatient (#1987) |
288,323 | 03.05.2020 14:52:49 | 18,000 | f11d8e90fe2752eba35fa2108e188053b89e6e8f | feat(incidents): adds ability to view all incidents | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/incidents/incidents-slice.test.ts",
"diff": "+import createMockStore from 'redux-mock-store'\n+import thunk from 'redux-thunk'\n+import { AnyAction } from 'redux'\n+import { RootState } from '../../store'\n+import incidents, {\n+ f... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(incidents): adds ability to view all incidents |
288,323 | 03.05.2020 20:00:47 | 18,000 | 5887859542247573843fc5af980cd081f6cc6f25 | feat(incidents): add ability to view an incident | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "@@ -34,6 +34,7 @@ describe('HospitalRun', () => {\nappointments: { appointments: [] },\nbreadcrumbs: { breadcrumbs: [] },\ncomponents: { sidebarCollapsed: false },\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(incidents): add ability to view an incident |
288,350 | 05.05.2020 05:28:58 | -19,080 | 9084411bc459abfd5e7003460ff2f1574cbbc243 | fix(viewpatients): call PatientRepository.findAll() only once | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"diff": "@@ -53,6 +53,18 @@ describe('Patients', () => {\nmockedPatientRepository.findAll.mockResolvedValue([])\n})\n+ describe('initalLoad', (... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(viewpatients): call PatientRepository.findAll() only once (#2044) |
288,350 | 06.05.2020 00:38:41 | -19,080 | b96680fbe1329384ed6eefa9e414803c781897dd | feat(viewpatients): add paging for search patients
Add paging for search patients
feat | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -67,3 +67,5 @@ typings/\npackage-lock.json\n.DS_Store\nyarn.lock\n+\n+.vscode/\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "src/clients/db/PageRequest.ts",
"new_p... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatients): add paging for search patients
Add paging for search patients
feat #1969 |
288,350 | 06.05.2020 01:10:52 | -19,080 | c453f01ae9e865e90a703b175586bc498d5e7c82 | refactor(useupdateeffect): disable warning
feat | [
{
"change_type": "MODIFY",
"old_path": "src/hooks/useUpdateEffect.ts",
"new_path": "src/hooks/useUpdateEffect.ts",
"diff": "@@ -6,8 +6,9 @@ export default function (effect: Function, dependencies: any[]) {\nuseEffect(() => {\nif (isInitialMount.current) {\nisInitialMount.current = false\n- } else {\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(useupdateeffect): disable warning
feat #1969 |
288,324 | 05.05.2020 17:22:13 | 14,400 | 32e00f63a75dedca485ebbdbdd9bf6f279512f08 | test(appointments): add missing tests for AppointmentsList | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx",
"new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx",
"diff": "import '../../../__mocks__/matchMediaMock'\nimport React from 'react'\n-import { mount } from 'enzyme'\n+impor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(appointments): add missing tests for AppointmentsList |
288,406 | 06.05.2020 16:42:55 | 18,000 | 2b5c789bb6247c3fe62fad8818d7fa1a16034a5b | feat(labs): ability to filter by status on labs screen | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -67,3 +67,5 @@ typings/\npackage-lock.json\n.DS_Store\nyarn.lock\n+.vscode/launch.json\n+.vscode/tasks.json\n"
},
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"n... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(labs): ability to filter by status on labs screen (#2033) |
288,350 | 10.05.2020 23:24:20 | -19,080 | d7defb5e30c91a6dae43b3c8f0945ea5e7a2104c | test(patientrepository.test.ts): add test cases for paging
Add test suit for searchPaged and findAllPaged for PatientRepository
feat-#1969 | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"new_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"diff": "@@ -3,6 +3,8 @@ import PatientRepository from 'clients/db/PatientRepository'\nimport Patient from 'model/Patient'\nimport shortid fr... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(patientrepository.test.ts): add test cases for paging
Add test suit for searchPaged and findAllPaged for PatientRepository
feat-#1969 |
288,333 | 11.05.2020 10:56:16 | 25,200 | 52d30a3ec1cc27c2ee2ec8827dce331180203461 | fix(datetime): datetime pickers are bigger now | [
{
"change_type": "MODIFY",
"old_path": "src/index.css",
"new_path": "src/index.css",
"diff": "@@ -97,3 +97,7 @@ code {\n.button-toolbar > button {\nmargin-left: .5rem;\n}\n+\n+.react-datepicker-wrapper {\n+ flex-grow: 1;\n+}\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(datetime): datetime pickers are bigger now (#2056) |
288,307 | 11.05.2020 19:08:09 | -3,600 | b159d7ada730976583d416b0f44d38a186abe4cd | feat(datepicker): add year selector dropdown | [
{
"change_type": "MODIFY",
"old_path": "src/components/input/DatePickerWithLabelFormGroup.tsx",
"new_path": "src/components/input/DatePickerWithLabelFormGroup.tsx",
"diff": "@@ -40,6 +40,7 @@ const DatePickerWithLabelFormGroup = (props: Props) => {\ndisabled={!isEditable}\nfeedback={feedback}\nisInv... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(datepicker): add year selector dropdown (#2060) |
288,350 | 12.05.2020 19:36:47 | -19,080 | 71ac1ca96aeeb2b5ee2807179b5afe0899395ab5 | refactor(patientrepository): changes for findAllPaged
'direction' field is now optional. 'nextPageInfo' and 'previousPageInfo' in Page can be undefined.
Add tests.
feat | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"new_path": "src/__tests__/clients/db/PatientRepository.test.ts",
"diff": "@@ -267,9 +267,115 @@ describe('patient repository', () => {\nexpect(result.content).toHaveLength(1)\nexpect(result.hasNext).toEqual... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(patientrepository): changes for findAllPaged
'direction' field is now optional. 'nextPageInfo' and 'previousPageInfo' in Page can be undefined.
Add tests.
feat #1969 |
288,350 | 14.05.2020 18:01:03 | -19,080 | 7411ad09ee680e5a691fdd34f1ca33c452398f1b | feat(pagecomponent): user can change page size
Add option to change the page size.
feat | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/list/ViewPatients.test.tsx",
"diff": "@@ -11,6 +11,7 @@ import { act } from 'react-dom/test-utils'\nimport * as ButtonBarProvider from 'page-header/ButtonBarProvider'\nimpo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(pagecomponent): user can change page size
Add option to change the page size.
feat #1969 |
288,347 | 17.05.2020 11:24:24 | -7,200 | c791de39fa8c67d875f8fb1aa99baf164691b5eb | feat(newlabrequest): add requestBy to model
Add new field into the model. The field is auto filled by system when a new lab request is created.
The new field will contain the user id of the current user
fix | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/lab-slice.test.ts",
"new_path": "src/__tests__/labs/lab-slice.test.ts",
"diff": "@@ -304,11 +304,19 @@ describe('lab slice', () => {\n})\nit('should request a new lab', async () => {\n- const store = mockStore()\n+ const store = mockStore({\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(newlabrequest): add requestBy to model
Add new field into the model. The field is auto filled by system when a new lab request is created.
The new field will contain the user id of the current user
fix #2082 |
288,347 | 20.05.2020 02:16:17 | -7,200 | d1fb94078494a048f9d8aae5ac1b803f429dc07e | fix(incidents): add loading during fetch phase | [
{
"change_type": "MODIFY",
"old_path": "src/incidents/view/ViewIncident.tsx",
"new_path": "src/incidents/view/ViewIncident.tsx",
"diff": "-import { Column, Row } from '@hospitalrun/components'\n+import { Column, Row, Spinner } from '@hospitalrun/components'\nimport format from 'date-fns/format'\nimp... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(incidents): add loading during fetch phase (#2085) |
288,347 | 20.05.2020 02:41:01 | -7,200 | 5309a859a4b19617f44183b1d70d0f36af6206d8 | feat(incidents): filter incidents | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/incidents-slice.test.ts",
"new_path": "src/__tests__/incidents/incidents-slice.test.ts",
"diff": "@@ -3,10 +3,11 @@ import createMockStore from 'redux-mock-store'\nimport thunk from 'redux-thunk'\nimport IncidentRepository from '../../c... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(incidents): filter incidents (#2087) |
288,350 | 20.05.2020 17:50:14 | -19,080 | 671ad02d6992727f73c777f673a6c305fd57b1b2 | feat(viewpatients): add Tests, Fix bug
feat | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/components/PageComponent.test.tsx",
"diff": "+import '../../__mocks__/matchMediaMock'\n+import { Button, Select } from '@hospitalrun/components'\n+import { mount } from 'enzyme'\n+import React from 'react'\n+\n+import PageComponent... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(viewpatients): add Tests, Fix bug
feat #1969 |
288,334 | 23.05.2020 14:50:32 | -7,200 | b3a0c17609d3b722fdde6f537cf1f0a929f03da8 | ci(action): add auto approve | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/auto-approve.yml",
"diff": "+name: v\n+\n+on:\n+ pull_request\n+\n+jobs:\n+ auto-approve:\n+ runs-on: ubuntu-latest\n+ steps:\n+ - uses: hmarr/auto-approve-action@v2.0.0\n+ if: github.actor == 'dependabot[bot]' || github.actor ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | ci(action): add auto approve |
288,334 | 23.05.2020 15:08:12 | -7,200 | be3ba9547399e363cc69a6d57d10db3edf74506a | ci(action): remove auto approve action | [
{
"change_type": "DELETE",
"old_path": ".github/workflows/auto-approve.yml",
"new_path": null,
"diff": "-name: Auto approve\n-\n-on:\n- pull_request\n-\n-jobs:\n- auto-approve:\n- runs-on: ubuntu-latest\n- steps:\n- - uses: hmarr/auto-approve-action@v2.0.0\n- if: github.actor == 'dependabot[bot]' ||... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | ci(action): remove auto approve action |
288,334 | 23.05.2020 19:20:12 | -7,200 | 64613948ab534c776cb1aee0c24f5d8eff60ff7d | ci(yarn): remove yarn job | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -62,32 +62,3 @@ jobs:\n- name: Run tests\nrun: |\nnpm run test:ci\n-\n- yarn:\n- runs-on: ${{ matrix.os }}\n- strategy:\n- matrix:\n- node-version: [12.x]\n- os: [ubuntu-latest, win... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | ci(yarn): remove yarn job |
288,334 | 24.05.2020 13:24:54 | -7,200 | af6d9639208b9ccc663f6e4088f3814bf4766a01 | refactor(i18n): edit chinese and indonesian ISO 639-1 codes | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -31,8 +31,12 @@ Contributions are always welcome. Before contributing please read our [contribut\n1. Fork this repository to your own GitHub account and then clone it to your local device\n2. Navigate to the clo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(i18n): edit chinese and indonesian ISO 639-1 codes |
288,356 | 26.05.2020 02:19:31 | -7,200 | ce25987e60d0fb2760430137463bd8b011131637 | (i18n) German Translation
Updated German Translation | [
{
"change_type": "MODIFY",
"old_path": "src/locales/de/translations/index.ts",
"new_path": "src/locales/de/translations/index.ts",
"diff": "import actions from './actions'\nimport dashboard from './dashboard'\n+import incidents from './incidents'\n+import labs from './labs'\nimport patient from './p... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | (i18n) German Translation
Updated German Translation |
288,249 | 29.05.2020 16:48:37 | 25,200 | b1a8cdf3e3288f6084592f583407ea89cebd5134 | feat(navbar): add shortcut icon to the create pages | [
{
"change_type": "MODIFY",
"old_path": "src/components/Navbar.tsx",
"new_path": "src/components/Navbar.tsx",
"diff": "import { Navbar as HospitalRunNavbar } from '@hospitalrun/components'\nimport React from 'react'\nimport { useTranslation } from 'react-i18next'\n+import { useSelector } from 'react-... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(navbar): add shortcut icon to the create pages |
288,249 | 29.05.2020 19:41:21 | 25,200 | ea1eef9601e37faf821cb6c56fd6abc565dee602 | test(navbar): add permissions to test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/Navbar.test.tsx",
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "@@ -3,23 +3,59 @@ import '../../__mocks__/matchMediaMock'\nimport { Navbar as HospitalRunNavbar } from '@hospitalrun/components'\nimport { mount } from ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(navbar): add permissions to test |
288,249 | 29.05.2020 19:56:42 | 25,200 | cd9e4bd6e289ca15f3c9e092a873aeb1ede2cf6b | refactor(navbar): optimize addDropdownList generation | [
{
"change_type": "MODIFY",
"old_path": "src/components/Navbar.tsx",
"new_path": "src/components/Navbar.tsx",
"diff": "@@ -35,18 +35,15 @@ const Navbar = () => {\n},\n]\n- const addDropdownList: { type: string; label: string; onClick: () => void }[] = []\n- addPages.forEach((page) => {\n- if (permiss... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(navbar): optimize addDropdownList generation |
288,249 | 29.05.2020 20:52:25 | 25,200 | 860fb8c1fbec248c6a442b28f960bd3874bddfba | test(navbar): each it gets its own wrapper | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/Navbar.test.tsx",
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "@@ -3,7 +3,7 @@ import '../../__mocks__/matchMediaMock'\nimport { Navbar as HospitalRunNavbar } from '@hospitalrun/components'\nimport { mount } from 'e... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(navbar): each it gets its own wrapper |
288,350 | 31.05.2020 22:03:43 | -19,080 | 6d15f9fe91af0407066bba430e70d770a1a2fe96 | refactor(pagerequest): add new line
feat | [
{
"change_type": "MODIFY",
"old_path": "src/clients/db/PageRequest.ts",
"new_path": "src/clients/db/PageRequest.ts",
"diff": "@@ -5,6 +5,7 @@ export default interface PageRequest {\npreviousPageInfo: { [key: string]: string | null } | undefined\ndirection?: 'previous' | 'next'\n}\n+\nexport const Un... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(pagerequest): add new line
feat #1969 |
288,347 | 02.06.2020 15:36:21 | -7,200 | c0d31385b5b894455cad85f6a8b9af6c3ae52e88 | [i18n] add edit patient for all languages | [
{
"change_type": "MODIFY",
"old_path": "src/locales/de/translations/patients/index.ts",
"new_path": "src/locales/de/translations/patients/index.ts",
"diff": "@@ -3,6 +3,7 @@ export default {\nlabel: 'Patienten',\nviewPatients: 'Patienten anzeigen',\nviewPatient: 'Patient anzeigen',\n+ editPatient: '... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | [i18n] add edit patient for all languages (#2028) |
288,333 | 02.06.2020 14:49:34 | 25,200 | 43cafa6da8334bf41440588ce71a27b42b73ef9d | feat(incident): Added Report Incident button | [
{
"change_type": "MODIFY",
"old_path": "src/incidents/list/ViewIncidents.tsx",
"new_path": "src/incidents/list/ViewIncidents.tsx",
"diff": "+import { Button } from '@hospitalrun/components'\nimport format from 'date-fns/format'\nimport React, { useEffect, useState } from 'react'\nimport { useTransla... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(incident): Added Report Incident button |
288,323 | 19.05.2020 23:15:49 | 18,000 | 0aa0cf93b3f9e3153592684ce05babee2e0c5379 | feat(careplan): adds ability to add a new care plan | [
{
"change_type": "MODIFY",
"old_path": "src/components/input/SelectWithLableFormGroup.tsx",
"new_path": "src/components/input/SelectWithLableFormGroup.tsx",
"diff": "@@ -10,18 +10,37 @@ interface Props {\nvalue: string\nlabel: string\nname: string\n+ isRequired?: boolean\nisEditable?: boolean\noptio... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(careplan): adds ability to add a new care plan |
288,323 | 01.06.2020 23:04:47 | 18,000 | e96eb835c37c0d4174ee8a8878286fbabda309c8 | feat(care-plan): add care plan form and tests | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/__tests__/patients/care-plans/CarePlanForm.test.tsx",
"diff": "+import '../../../__mocks__/matchMediaMock'\n+import { addDays } from 'date-fns'\n+import { mount } from 'enzyme'\n+import React from 'react'\n+import { act } from 'react-dom/tes... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(care-plan): add care plan form and tests |
288,323 | 03.06.2020 22:15:58 | 18,000 | 72a5bede7862c72eecb068c0c20141ef619a8f27 | feat(care plan): fix internationalization | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/patient-slice.test.ts",
"new_path": "src/__tests__/patients/patient-slice.test.ts",
"diff": "@@ -686,15 +686,15 @@ describe('patients slice', () => {\nit('should validate the required fields', async () => {\nconst expectedError = {\n- me... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(care plan): fix internationalization |
288,364 | 07.06.2020 07:01:55 | -7,200 | fa5bcb6a86ae082de789aca84a938bc7f99a8ca7 | feat(network-status): Notify users when they're working offline | [
{
"change_type": "MODIFY",
"old_path": "src/HospitalRun.tsx",
"new_path": "src/HospitalRun.tsx",
"diff": "@@ -5,6 +5,7 @@ import { Switch, Route } from 'react-router-dom'\nimport Breadcrumbs from './breadcrumbs/Breadcrumbs'\nimport Navbar from './components/Navbar'\n+import { NetworkStatusMessage } ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | feat(network-status): Notify users when they're working offline (#2109) |
288,347 | 08.06.2020 16:03:14 | -7,200 | b3da0ee430d127b697e58a4a760691342a3253b7 | refactor(checktranslations): run script as js file
now ts-node library is no need anymore because the script is compiled to javascript | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "build\n+bin\n# Logs\nlogs\n*.log\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"redux-mock-store\": \"~1.5.4\",\n\"source-map-explorer\": \... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | refactor(checktranslations): run script as js file
now ts-node library is no need anymore because the script is compiled to javascript |
288,394 | 08.06.2020 15:17:09 | 25,200 | 391271a23a3cdd66f27911aafb729c4add10c171 | fix(navbar): Make Navbar mobile-friendly | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/components/Navbar.test.tsx",
"new_path": "src/__tests__/components/Navbar.test.tsx",
"diff": "@@ -54,151 +54,66 @@ describe('Navbar', () => {\nPermissions.ReportIncident,\n]\n- it('should render a HospitalRun Navbar', () => {\n+ describe('hamberg... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(navbar): Make Navbar mobile-friendly (#2118)
Co-authored-by: HospitalRun Bot <bot@hospitalrun.io>
Co-authored-by: Matteo Vivona <matteo.vivona@me.com> |
288,347 | 10.06.2020 10:45:14 | -7,200 | 30bb1587125e1d208ffb68e6f8ec9d4aab09a291 | fix(i18n): fix build | [
{
"change_type": "MODIFY",
"old_path": "src/locales/index.ts",
"new_path": "src/locales/index.ts",
"diff": "-import { Resource } from 'i18next'\n-\nimport translationAR from './ar/translations'\nimport translationDE from './de/translations'\nimport translationEnUs from './enUs/translations'\n@@ -12,... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(i18n): fix build |
288,297 | 16.06.2020 10:04:39 | -7,200 | 653202870b4eafad6f960136b63ef76639ca005c | fix(toolchain): extends scripts tsconfig.json from base one
re | [
{
"change_type": "MODIFY",
"old_path": "scripts/tsconfig.json",
"new_path": "scripts/tsconfig.json",
"diff": "{\n- \"include\": [\"./checkMissingTranslations.ts\"],\n+ \"extends\": \"../tsconfig.json\",\n+ \"include\": [\n+ \"./checkMissingTranslations.ts\"\n+ ],\n\"compilerOptions\": {\n\"module\":... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(toolchain): extends scripts tsconfig.json from base one
re #2113 |
288,297 | 16.06.2020 18:00:58 | -7,200 | d0c35db60aef95d0892fe7650960635eeda25df8 | fix(toolchain): fix broken deps and updates translate-check script | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "@@ -21,18 +21,18 @@ module.exports = {\n},\nparser: '@typescript-eslint/parser',\nparserOptions: {\n- project: ['./tsconfig.json', './scripts/tsconfig.json'],\n+ project: ['./tsconfig.json', './check-translat... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(toolchain): fix broken deps and updates translate-check script |
288,334 | 16.06.2020 19:02:31 | -7,200 | e4607df6cd86636f20fca68bffbe0a52ad7d1f94 | ci(node): add node 14 on windows and mac | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -7,8 +7,7 @@ jobs:\nruns-on: ${{ matrix.os }}\nstrategy:\nmatrix:\n- # node-version: [12.x, 14.x]\n- node-version: [12.x]\n+ node-version: [12.x, 14.x]\nos: [ubuntu-latest, windows-... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | ci(node): add node 14 on windows and mac (#2131) |
288,323 | 13.06.2020 19:55:27 | 18,000 | 5157a47095e458e6cefd2ce3c1783b4b4019cb1b | working login example | [
{
"change_type": "MODIFY",
"old_path": "src/App.tsx",
"new_path": "src/App.tsx",
"diff": "import { Spinner } from '@hospitalrun/components'\nimport React, { Suspense } from 'react'\nimport { Provider } from 'react-redux'\n-import { BrowserRouter } from 'react-router-dom'\n+import { BrowserRouter, Ro... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | working login example |
288,323 | 13.06.2020 23:22:54 | 18,000 | 4b79036bc05ec61dc2120413ab20c800863fa546 | fix care plan routing | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/care-plans/ViewCarePlan.test.tsx",
"new_path": "src/__tests__/patients/care-plans/ViewCarePlan.test.tsx",
"diff": "@@ -22,7 +22,7 @@ describe('View Care Plan', () => {\n} as Patient\nconst setup = () => {\n- const store = mockStore({ pat... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix care plan routing |
288,323 | 17.06.2020 20:21:45 | 18,000 | 0e1b0919c79d4d8f7cd90916c58c2e9e8502084f | test: add tests for auth in user slice | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/user/user-slice.test.ts",
"new_path": "src/__tests__/user/user-slice.test.ts",
"diff": "+import configureMockStore from 'redux-mock-store'\n+import thunk from 'redux-thunk'\n+\n+import { remoteDb } from '../../config/pouchdb'\nimport Permissions ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: add tests for auth in user slice |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.