How to cap target numbers in display?

Hi everyone,

I have a question regarding targets: is there a way to cap the displayed number so it doesn’t exceed the defined goal?

For example:

  • Current value = 12
  • Goal = 10

Right now, the dashboard shows 12/10.
Ideally, I would like it to show 10/10 once the goal is reached, instead of continuing to count beyond the cap.

Thanks in advance!

Hi @xvoel

I believe that there is no setting that will hide the actual progress towards the target in the UI, so seeing 12/10 is the only option at the moment.

Inviting other UX designer to chime in into options and desires here.

Hi @diana

Thank you so much for the fast reply!

Has this issue been raised by other CHT users before? Would it be possible to consider adding an option to cap the displayed number at the goal?

The reason we are interested in this is linked to our redesigned P4P scheme. We have made it more pro-CHW and flexible:

  • CHWs no longer have a fixed goal for certain visits.

  • Instead, they earn a certain amount for each visit conducted.

  • However, there is still a maximum amount per month that they can earn.

We would like the target card to display how much money the CHW has already earned, but we are concerned that if the number keeps increasing past the cap, it could cause confusion about their payment.

Having an option to cap the displayed progress at the maximum goal (e.g. showing TZS 150000/150000 instead of 160000/150000) would make the UI clearer and avoid misunderstandings.

Thanks for considering this request, and I’d be very interested to hear if other UX designers or implementers see similar needs or possible workarounds.

Thanks a lot for the additional context @xvoel ! I agree that the UI right now is not built to support high target counts. Given that we are usually reluctant to make UX design changes without input from our large community, I agree that adding an option to hide the count past the goal in a target would be the best avenue.

I’ve created an issue to track this: Add the option to hide target counts past the goal · Issue #10240 · medic/cht-core · GitHub

Thanks so much for taking both inputs into account and creating the corresponding issue @diana ! :folded_hands: