Progress widget: All new items start at 0% progress instead of None
Context
Following up on some ideas in !107434 (merged)
Kushal: I was also thinking of color-coding the progress based on its due date (an overdue objective showing
0%
in red), wdyt?
Alexis: That's a neat idea. It brings up challenges of the null vs 0 issue though. For example if a user hasn't entered any progress value it displays as
none
and does not show within the child at the moment. If we highlighted overdue progress then the children withnone
would not display as red (or at all).What could make sense is changing the default progress value from
none
to0
. Then as a next step, we could add in indicators like this because children will display progress within the "child" widget.
Solution
- Give all OKR objects (
objective
,key result
) a default value of 0% instead ofnone
within the progress widget. Noting per this comment the BE will still reflect eitherNull
or0%
since these indicate whether status has begun. - Apply
%
to the value displayed on theFE
of OKR records.
Edited by Kushal Pandya