Skip to content

Show participants as well in assignees widget

Deepika Guliani requested to merge dg-fix-work-item-issues into master

What does this MR do and why?

Show participants in the assignees widget and other minor fixes

Changelog: fixed

Issues fixed in the MR after Use autocomplete query in assignees widget to a... (!145370 - merged) was merged

  • show participants as well in the work item assignees , like it does for legacy issues (missed used case)
  • Lock discussion text fix in work item sticky header ( not related to the user query just another fix )
  • Fixes a bug on production where the user out of the first 20 search results , the name is not shown in dropdown

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 (lock discussion text) After(lock discussion text)
Screenshot_2024-02-28_at_1.34.26_PM Screenshot_2024-02-28_at_1.34.05_PM
Before (search bug) After(search bug)
Screen_Recording_2024-02-29_at_1.07.58_PM Screen_Recording_2024-02-29_at_1.09.06_PM
Assignees with participants
work item assignees

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console switch on FF

    Feature.enable(:work_items_mvc_2)
  2. Open a task and an issue side by side

  3. Impersonate a user not a part of an issue and comment on it , see that it is showing in assignee list

  4. Check the same for tasks and also see that the results are same in the both

Reproduce search bug

  1. Open the assignees widget in clean state ( no assignees assigned )
  2. Search for any user out of the first 20
  3. Select the user , see that the search is reset and the results reset as well
  4. Check that the name of user is visible in the dropdown when in open state
  5. Continue selecting/deselecting more users and see that it behaves as expected
Edited by Deepika Guliani

Merge request reports