Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xtmu opened this issue Sep 25, 2023 · 0 comments · May be fixed by #1008
Open
Labels
bug Something isn't working

Comments

@xtmu
Copy link

xtmu commented Sep 25, 2023

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

@xtmu xtmu added the bug Something isn't working label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant