Address Tasks not being included in Weight rollup of hierarchy widget
requested to merge 474687-address-tasks-not-being-included-in-weight-rollup-of-hierarchy-widget into master
What does this MR do and why?
This MR does two things for work item Epic:
- hide weight attribute on task records
- Denote on weight tooltip that this is only issue weight and does not include tasks in
- the top-level rollup tooltip
- epic record weight tooltip
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After | |
---|---|---|
Weight on Task record under Epic | ||
Weight on task record under legacy Issue | No change | |
Tooltip on header | ||
Tooltip on Epic record | ||
Tooltip on Issue record | No change |
How to set up and validate locally
Prerequisites:
- Enable the OKRs feature as mentioned in the OKRs docs (e.g.
::Feature.enabled?(:okrs_mvc, Project.find(<PROJECT_ID>))
and the namespace must have Ultimate plan). - Enable Epic work items
Feature.enable(:work_item_epics_rollout)
Feature.enable(:work_item_epics)
Steps to verify at Group level:
- Login with any user
- Go to Group > Epics
- Open or create an Epic
- Create a Epic child item or add an existing Epic
- Add an issue under the newly added epic
- Add a task under the issue
- Set weight on the Task from sidebar
- Go to the top most Epic and check tooltip is
Issue weight
in the header section - Check the Epic child item weight is having tooltip as
Issue weight
- Expand the Epic till it shows Task
- Check if the weight attribute is not there
Steps to verify at Project level:
- Go to the Issue added in the Epic
- Check if weight is visible on the added Task under Child items
Related to #474687 (closed)
Edited by Rajan Mistry