Support adding emoji for multiple users
What does this MR do and why?
When multiple user tries to add similar awards, the API is failing due to wrong action passed in the input. Correct action can be determined by considering user id and emoji name.
Screen recordings
Screen_Recording_2023-05-18_at_8.09.42_PM
How to set up and validate locally
Prerequisites: Enable the following feature flag to create objects supporting this feature using gdk rails console
:
Feature.enable(:okrs_mvc, Project.find_by_full_path('gitlab-org/gitlab-test'))
Steps:
-
Login with a particular user
-
Go to any Project > Issues > List
-
Create an new Objective under New issue split button
-
Go to Objective detail page
-
Click on the
👍 -
Login with some other user and visit same Objective
-
Click on the
👍 -
Check if other user is also visible in the tooltip
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.
Related to #412067 (closed)