medic / cht-release-testing

Used to track release testing on medic projects
2 stars 0 forks source link

Allow supervisors to see CHW targets and support display of aggregate targets widgets #71

Open ngaruko opened 4 years ago

ngaruko commented 4 years ago

Refer to https://github.com/medic/cht-core/issues/4839

  1. In app-settings, add "aggregate": true to target like:
    
          "id": "active-pregnancies",
          "type": "count",
          "goal": 6,
          "aggregate": true,
          "translation_key": "targets.anc.active_pregnancies.title",
          "icon": "icon-pregnancy",
          "subtitle_translation_key": "targets.all_time.subtitle"
        } ```
  2. create a supervisor with a number of chw under
  3. log in as the supervisor. should see the figures on aggregates tab
  4. submit some reports under different users/chw and check for accuracy in aggregates

    Consider : . have some targets that are should be aggregated and some that shouldn't. .have every type of target: percent with goal, percent without goal, count with goal, count without goal . have a supervisee that hasn't added "created" their target doc

ngaruko commented 3 years ago

Automated