Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sub-task

Note

Time estimation

Integrate and create data structure for library react-csv

react-csv is the library that we will use to download dashboard data in CSV format

2 days

Make it possible to download current dashboard components data in CSV format

Current dashboard components are : OPD by sex, OPD by age type, Admissions by sex, Admissions by age type, Admissions by ward, Admissions by type, Discharges by sex, Discharges by ward, Discharges by type and Discharges by age type.

3 days

Tests

1 day

Technical documentation

Add technical documentation of the feature in Dashboard technical page (Open Hospital 2.x Dashboard )

4 hours

TOTAL

6.5 days

👉 Micro-task OH2-194 : Make dashboard components customizable

Sub-task

Notes

Time estimation

Create container for dashboard components

The component container is the React component that will contain the dashboard component and exposes actions that can be executed on the whole component (See capture 1)

6 8 hours

Integrate and configure library react-grid-layout

react-grid-layout is the React library that makes possible the creation of draggable and resizable components.

3 days

Configure state to store layouts configurations

Considering the user’s customisations will be saved, so he could see his customisations the next time he visits the Dashboard, I will create a state to store his customisations.

2 days

Tests

1 day

Technical documentation

Add technical documentation of the feature in Dashboard technical page (Open Hospital 2.x Dashboard )

4 hours

TOTAL

4 7 days

Capture 1