Fixed work item weight subscription to prevent invalidating cache - on hold till a common solution is figured out
What does this MR do and why?
In continuation to Fixed work item subscriptions to prevent invali... (!100728 - merged) , fixing the work item weight subscription as well .
Screenshots or screen recordings
Before | After |
---|---|
before_weight | Screen_Recording_2022-10-12_at_1.32.04_PM |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Example below:
-
Enable the work items feature flags
Feature.enable(:work_items) Feature.enable(:work_items_mvc_2)
-
Visit any work items such as
http://127.0.0.1:3000/groups/flightjs/-/work_items/2
-
Update the weight
-
Check the
Network
tab: there should be noworkItem
query calls afterworkItemUpdate
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.