Skip to content

Add spam icon and disabled reordering alert to issues refactor

Coung Ngo requested to merge 322755-add-new-issues-features into master

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
Screenshot_2021-11-17_at_12.34.49_pm Screenshot_2021-11-17_at_12.41.01_pm
Screenshot_2021-11-17_at_12.36.37_pm Screenshot_2021-11-17_at_1.13.07_pm

How to set up and validate locally

  1. In rails console enable the feature flags
    Feature.enable(:vue_issues_list)
    Feature.enable(:ban_user_feature_flag)
    Feature.enable(:block_issue_repositioning)
  2. Ban a user that has created issues in the admin area http://127.0.0.1:3000/admin/users
  3. Visit any group or project issues page such as http://127.0.0.1:3000/groups/flightjs/-/issues
  4. 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.

Related to #322755 (closed)

Edited by Coung Ngo

Merge request reports

Loading