Content
View differences
Updated by Christophe Bliard almost 2 years ago
**As** a user updating work, remaining work, and/or % Complete for a work package
**I want to** better understand why and how some fields are automatically updated when I change values in the progress popover
**so that** I am less confused about what is going on and I can feel in control
**Proposed solution**
In the popover modal, whenever a field is automatically updated due to changes to the other fields, add a descriptive text below it to indicate what lead to the value being automatically derived.
Example:
When changing work from 40h to 50h, indicates that remaining work is also increased by 10h and that % complete is recomputed
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137650/content">
**Acceptance criteria**
* In work-based mode
* The text "Note: Each field is automatically calculated from the two others when possible. Learn more" is removed
* Work
* Display "Derived from Remaining work and % Complete." when calculated from remaining work and % complete
* Display "Cleared because Remaining work is empty." when remaining work is unset and % Complete is set
* Display "Set to same value as Remaining work." when work, remaining work, and % complete are initially unset and remaining work is being set
* Remaining work
* This one has a lot of cases
* Display "Derived from Work and % Complete." when work and % complete have been set
* Display "Set to same value as Work." when work, remaining work, and % complete are initially unset and work is being set
* Display "Increased by the same amount as Work." or "Decreased by the same amount as Work." when work and remaining work are initially set, and work is changed.
* Display "Cleared because Work is empty." empty and % Complete is set." when that's the case
* Display "Cleared because % Complete is empty." empty and Work is set." when that's the case
* % Complete
* Display "Derived from Work and Remaining work." % Complete." when work and remaining work have been set
* Display "Cleared because Work is 0h." even when work is 0h
* Display "Cleared because Remaining work is empty." when remaining work is unset and work is still set
* In status-based mode
* Work
* is always set by the user
* Remaining work
* Display "Derived from Work and % Complete." whenever work or status is changed and work is set
* Display "Cleared because Work is empty." whenever work was set and is unset
**Questions**
In order to display more information to the user:
* Should we display "initial value" when value is the initial one
* It could help in the following scenario:
All fields are initially set. When work is unset, remaining work gets unset as well, but when unsetting % Complete as well, the remaining work value comes back. It could be confusing. Showing "initial value" below could help understand it has been kept.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137660/content">
* Should we display "set by user" when the value has been modified, even if set to the same value?
* It could help in the following (contrived) scenario:
All fields are initially set. The user unsets work, then changes their mind and restore the value back to its initial value. Then the user changes remaining work and % complete, but an error is displayed. I could be confusing because the user may expect the work value to be updated. Showing a "set by user" below could help understand that they set all 3 fields and it is in an incorrect state.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137663/content">
**I want to** better understand why and how some fields are automatically updated when I change values in the progress popover
**so that** I am less confused about what is going on and I can feel in control
**Proposed solution**
In the popover modal, whenever a field is automatically updated due to changes to the other fields, add a descriptive text below it to indicate what lead to the value being automatically derived.
Example:
When changing work from 40h to 50h, indicates that remaining work is also increased by 10h and that % complete is recomputed
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137650/content">
**Acceptance criteria**
* In work-based mode
* The text "Note: Each field is automatically calculated from the two others when possible. Learn more" is removed
* Work
* Display "Derived from Remaining work and % Complete." when calculated from remaining work and % complete
* Display "Cleared because Remaining work is empty." when remaining work is unset and % Complete is set
* Display "Set to same value as Remaining work." when work, remaining work, and % complete are initially unset and remaining work is being set
* Remaining work
* This one has a lot of cases
* Display "Derived from Work and % Complete." when work and % complete have been set
* Display "Set to same value as Work." when work, remaining work, and % complete are initially unset and work is being set
* Display "Increased by the same amount as Work." or "Decreased by the same amount as Work." when work and remaining work are initially set, and work is changed.
* Display "Cleared because Work is empty."
* Display "Cleared because % Complete is empty."
* % Complete
* Display "Derived from Work and Remaining work."
* In status-based mode
* Work
* is always set by the user
* Remaining work
* Display "Derived from Work and % Complete." whenever work or status is changed and work is set
* Display "Cleared because Work is empty." whenever work was set and is unset
**Questions**
In order to display more information to the user:
* Should we display "initial value" when value is the initial one
* It could help in the following scenario:
All fields are initially set. When work is unset, remaining work gets unset as well, but when unsetting % Complete as well, the remaining work value comes back. It could be confusing. Showing "initial value" below could help understand it has been kept.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137660/content">
* Should we display "set by user" when the value has been modified, even if set to the same value?
* It could help in the following (contrived) scenario:
All fields are initially set. The user unsets work, then changes their mind and restore the value back to its initial value. Then the user changes remaining work and % complete, but an error is displayed. I could be confusing because the user may expect the work value to be updated. Showing a "set by user" below could help understand that they set all 3 fields and it is in an incorrect state.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137663/content">