Add spam icon and disabled reordering alert to issues refactor
What does this MR do and why?
Two features were recently added to the existing Haml issues list page. This MR adds these features to the Vue issues list page refactor (#322755 (closed)).
- Add spam icon to issue card when the issue is hidden (due to banned author)
- Add disabled manual reordering alert when the user tries to sort by Manual but GitLab is currently rebalancing issues
Screenshots or screen recordings
Currently on Haml page | This MR's code changes on the Vue refactor |
---|---|
How to set up and validate locally
- In rails console enable the feature flags
Feature.enable(:vue_issues_list) Feature.enable(:ban_user_feature_flag) Feature.enable(:block_issue_repositioning)
- Ban a user that has created issues in the admin area
http://127.0.0.1:3000/admin/users
- Visit any group or project issues page such as
http://127.0.0.1:3000/groups/flightjs/-/issues
- Test this MR
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 #322755 (closed)
Edited by Coung Ngo