Skip to content

[Bug]:multi date tag colors [ between now and [x] before now ] longest x overide other x's color #831

@xtmu

Description

@xtmu

Describe the bug

If I create multi tag for [ between now and [x] before now ] that x differs from 1 day,1 week, 1 month, then the 1 day and 1 week date tag color will be the same with 1 month tag color.

Expected Behavior

No response

Steps to reproduce

Create date tag colors with different time span in [ between now and [x] before now ]

  "date-colors": [
    {
      "distance": 3,
      "unit": "days",
      "direction": "after",
      "isAfter": true,
      "backgroundColor": "rgba(112, 255, 115, 0.12)"
    },
    {
      "distance": 3,
      "unit": "months",
      "direction": "after",
      "backgroundColor": "rgba(112, 255, 115, 0.4)"
    },
    {
      "isToday": false,
      "distance": 1,
      "unit": "months",
      "direction": "after",
      "backgroundColor": "rgba(112, 255, 115, 0.73)"
    },
    {
      "isToday": false,
      "distance": 1,
      "unit": "weeks",
      "direction": "after",
      "backgroundColor": "rgba(255, 254, 112, 0.91)"
    },
    {
      "isToday": false,
      "distance": 3,
      "unit": "days",
      "direction": "after",
      "backgroundColor": "rgba(255, 215, 112, 0.91)"
    },
    {
      "distance": 1,
      "unit": "days",
      "direction": "after",
      "isToday": true,
      "backgroundColor": "rgba(255, 112, 112, 0.91)"
    },
    {
      "isToday": false,
      "distance": 3,
      "unit": "hours",
      "direction": "after",
      "backgroundColor": "rgba(252, 15, 15, 0.88)",
      "color": "rgba(255, 255, 255, 1)"
    },
    {
      "distance": 1,
      "unit": "days",
      "direction": "after",
      "isBefore": true,
      "backgroundColor": "rgba(64, 83, 255, 0.14)"
    },
    {
      "isToday": false,
      "distance": 1,
      "unit": "months",
      "direction": "before",
      "backgroundColor": "rgba(64, 163, 255, 0.53)"
    },
    {
      "distance": 3,
      "unit": "months",
      "direction": "before",
      "backgroundColor": "rgba(28, 232, 103, 0.56)"
    }
  ],

Create Kanban cases
image

Relevant errors (if available)

No response

Operating system

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions