medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Improvements to the export CSV with credentials #21

Closed kennsippell closed 5 months ago

kennsippell commented 7 months ago

Currently there is no header on the exported credentials csv file which downloads. Would be nice to have a header

kennsippell commented 6 months ago

Credentials download- The current format does not contain the areas i.e A CHU list output only shows the CHU name and password.This can be hard for a County based managers when distributing them to sub counties as they dont always know who to while acknowledging they can be in hundreds. A CHP list does not show sub counties too therefore posing the same challenge as (a) above. Ask- Iterate to expand the credentials output file to be similar to the CHP and CHA upload templates with the creds as additional columns -Priority- High https://docs.google.com/document/d/1-PC3GYwPPH-m7JEyqeJQmvTuTBeGivjuMDSFhhkFa3o/edit

PhilipNgari commented 6 months ago

Great progress so far with the iterations. I have created 3 CHPs (person by person) for Nairobi and observed the following;

  1. The progress bar load dint load for the first 2 CHPs but was visible in the last one. not very sure if I am the one who missed it and will create some more to replicate this
  2. The upload output/password file is short of the subcounty field as requested otherwise the rest looks ok.

    Screenshot 2024-02-27 at 00 00 07

    Worth exploring- I am not sure if it's possible to add the CHA details to the output file at this point much as in an individual upload the CHA details for an existing CHU are not required..i.e inclusion of CHA details adds completeness of credentials file thus easing sharing with the respective CHA and eventual cascade to the CHP.

kennsippell commented 5 months ago

The progress bar load dint load for the first 2 CHPs but was visible in the last one. not very sure if I am the one who missed it and will create some more to replicate this

So the app uploads 10 users at a time. If you just made 3, then we would expect it to basically go straight from 0% to 100% in one leap. Once you upload more than 10 users, you should see it working properly.

@freddieptf Can we add the subcounty metric? I suspect the CHA details won't be easy to add though...

freddieptf commented 5 months ago

Added in #83