e753217d833ba540c6058b79c54832435d607dbc (remove unnecessary id prop)
34702c12d7ef342e9aa7e3f91a72b5f80d8b12ab (exact match doesn't always work in test, so use fuzzy match)
Description
This PR adds practitioner open and closed case lists for internal DAWSON users. (Ticket here)
Overview of changes:
Adds a PractitionerCaseList component and PractitionerCaseIcons component. (The latter can probably be extended beyond practitioners and used elsewhere? Icons seem to be rendered differently in different areas of the app.)
Pulls out some logic from generatePractitionerCaseListPdfInteractor into a new interactor, getPractitionerCasesInteractor, which is also used in the actions that set up state for PractitionerCaseList.
Adds typing for state.practitionerDetails.
Notes:
A small number of practitioners have hundreds/thousands of cases. It might be worth paginating on the back end, loading data asynchronously, etc. as strategies to avoid delays in loading the practitioner information page. However, I want to test the timing of this in our test environment. I suspect that these measures are not worth the cost to implement.
Notes to self:
Commits to cherry pick from test:
Description
This PR adds practitioner open and closed case lists for internal DAWSON users. (Ticket here)
Overview of changes:
PractitionerCaseList
component andPractitionerCaseIcons
component. (The latter can probably be extended beyond practitioners and used elsewhere? Icons seem to be rendered differently in different areas of the app.)generatePractitionerCaseListPdfInteractor
into a new interactor,getPractitionerCasesInteractor
, which is also used in the actions that set up state forPractitionerCaseList
.state.practitionerDetails
.Notes: