Skip to content

Show due date in gray when issue is closed in issues list

Coung Ngo requested to merge cngo-make-closed-issue-due-date-gray into master

What does this MR do?

This MR updates the issues list to show due dates in gray for closed issues. When an issue is closed, there is no longer an urgency to complete it so the due date does not need to be in red.

The issues list is current in Haml, but there is also a Vue refactor behind the feature flag vue_issues_list so this MR updates both places

Issue: #9202 (closed)

Screenshots or Screencasts (strongly suggested)

before after
Screenshot_2021-08-10_at_2.58.50_pm Screenshot_2021-08-10_at_2.58.05_pm

How to setup and validate locally (strongly suggested)

  1. (Optional) In rails console enable the vue_issues_list feature flag
    Feature.enable(:vue_issues_list)
  2. Visit an issue and set its due date to the past and then close it
  3. Visit any group or project issues list and confirm the due date on the closed issue is not red

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Coung Ngo

Merge request reports

Loading