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

Trello Block - Expand supported Label colors #1723

Closed
Dan-Peck opened this issue Jan 5, 2023 · 1 comment
Closed

Trello Block - Expand supported Label colors #1723

Dan-Peck opened this issue Jan 5, 2023 · 1 comment

Comments

@Dan-Peck
Copy link
Collaborator

Dan-Peck commented Jan 5, 2023

The "Light" and "Dark" versions of selectable label colors in the Trello UI do not carry over into DAKboard. Instead, those labels are presented with no background at all.

Researching this, it was discovered that the Trello API documentation states that only 10 color names are valid.
Reference: https://developer.atlassian.com/cloud/trello/rest/api-group-labels/

Although it is an un-documented feature, the response Trello API sends to us does actually include color names such as pink_light and pink_dark. We can utilize these to adding mappings to an expanded set of colors for them.

Here are the swatches from Trello's UI:

image

@Dan-Peck
Copy link
Collaborator Author

Merged in @ 4d87822 and added to the queue for upcoming release to the live site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants