Skip to content

Remove unused issue card weight filtering functionality

What does this MR do and why?

The weight widget on an issue card used to be clickable to filter the board on issues that have that weight, but this functionality has been broken for years. This MR removes the broken functionality and aligns the weight widget with the milestone, iteration and due date widget styles on an issue card.

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

Use Before After
issue card on board 20240606-before Screen_Recording_2024-06-06_at_14.41.55
child item Screen_Recording_2024-06-07_at_11.06.38 Screen_Recording_2024-06-07_at_11.05.15
issue mention popover Screen_Recording_2024-06-07_at_11.07.24 Screen_Recording_2024-06-07_at_11.08.41
related items Screen_Recording_2024-06-07_at_11.13.06 Screen_Recording_2024-06-07_at_11.12.23

How to set up and validate locally

  1. Check out this branch
  2. Visit an issue board
  3. ensure that at least one issue on the board has a weight
  4. Hover over the weight on an issue that has a weight
  5. You will see that the cursor is the help cursor (question mark on a mac, but this varies from OS to OS) and there is no underline on the text
  6. Click the weight
  7. You will see that the same thing happens that would happen if you clicked in the empty area between the card title and the widgets, the right sidebar of issue information opens on the board
  8. Add the issue to an epic
  9. Visit that epic
  10. Where you see the issue in the epic's child items, hover the weight
  11. You will see that the cursor is the help cursor (question mark on a mac, but this varies from OS to OS) and there is no underline on the text
  12. Mention the issue with a weight in a comment on another issue
  13. Hover over the mention in the submitted comment
  14. Hover over the weight in the issue popover
  15. You will see that the cursor is the help cursor (question mark on a mac, but this varies from OS to OS) and there is no underline on the text
  16. use the /relate quick action to relate the issue with a weight to another issue
  17. In the "Linked items" section on that issue, hover over the weight
  18. You will see that the cursor is the help cursor (question mark on a mac, but this varies from OS to OS) and there is no underline on the text

Related to #454455 (closed)

Edited by Chad Lavimoniere

Merge request reports

Loading