[x] Make it possible to decide the color of the header, so all "sign and symptoms rows render in orange" (Jorge)
[x] Allow non-dissaggregated DEs / show/hide auto-calculated total (Jorge)
[x] Hide DE title (Jorge)
Vials
[ ] Represent the monovalent vs polyvalent as if it were a single DE, mutually exclusive, but keeping the current MD configuration because otherwise it won't be possible to represent that in analytics. (Jorge)
[x] When adding a product remove the "Recommended" checkbox for the user...just don't display it (Jorge)
[ ] After the selection of a product make all but the number of products non-editable (unless the information was not provided in the add product form) (Jorge)
[x] When adding a product instead of "Add another WHO-recommended product"/"Add another non WHO-recommended product" show "Report another WHO-recommended product"/"Report another non WHO-recommended product" (Jorge)
[x] When clicking in "Remove" to remove a row, show a pop-up asking for confirmation. "Are you sure? This will delete the reported value for the deleted row" (Jorge)
[x] Put in bold "non WHO-recommended" so it's clear the difference with the WHO-recommended (Jorge)
Subnational
[ ] Display the OU hierarchy instead of just the name of the OU (Jorge)
[ ] Split into 3 tabs: one for "National", one for "Subnational epidemiological data" with the cases, and another one for "Subnational stock data" with the products (Jorge)
:art: Screenshots
:fire: Is there anything the reviewer should know to test it?
Data Store
CustomMetadata key changes:
dataElements - > New prop showName to hide the name for a data element. If not exists prop default value is true
dataElements - > New prop showTotal to hide the total column for a data element. If not exists prop default value is true
dataElements - > New prop backgroundColor for the header columns of a data element.
dataElements - > New prop color for the header columns of a data element.
optionCombos - > New prop backgroundColor for a specific column of a data element. This prop overwrite the same prop for data element for this column
optionCombos - > New prop color for a specific column of a data element. this prop overwrite the same prop for data element for this column. This prop overwrite the same prop for data element for this column
cd /HEP-data-entry
yarn build
node lib/cli.js --url='http://user:pwd!@dhisUrl' --dataset-id='XBgvNrxpcDC' --module='snakebite'
Important: the command uploads all data set to the server.
Important: Sometimes to generate the custom form, age category options are duplicated in data elements. I think this is an API bug.
:pushpin: References
https://app.clickup.com/t/buyh6f
:memo: Implementation
General changes
Vials
Subnational
:art: Screenshots
:fire: Is there anything the reviewer should know to test it?
Data Store
To generate the custom form
Important: the command uploads all data set to the server. Important: Sometimes to generate the custom form, age category options are duplicated in data elements. I think this is an API bug.
:bookmark_tabs: Others