Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Custom label colors #37

Open
Tr1kar opened this issue Apr 11, 2022 · 1 comment
Open

Custom label colors #37

Tr1kar opened this issue Apr 11, 2022 · 1 comment

Comments

@Tr1kar
Copy link

Tr1kar commented Apr 11, 2022

Hello,
Is it possible to add custom colors to Trello labels? Original 10 colors are not enough for many.
I've found some Github code for Chrome extension here https://github.com/SimplexShotz/Trello-Colors-Extension

@christiankaindl
Copy link
Owner

christiankaindl commented Jul 18, 2022

Hi @Tr1kar, thanks for reaching out. There's a few questions about how this would work.

The first question is how the color is stored, and if it is persistent or not. The repo you linked encodes the color into the label name. That is a clever solution, but has the drawback of leaving you with odd labels if you ever decide to remove the extension or collaborate with others on the same board (others will see it as "#FF0000:MyLabel" for example).

Then there is the challenge of patching the labels to not go out of sync with any DOM updates Trello makes itself. The repo you linked "solves" this by adding an interval which runs every 50ms, which would not be an acceptable solution for Trello Super Powers.

The last question is the separator. My intuition is that a colon (":") is not good, as it is a valid label character and could lead to unwanted side-effects (regular text being interpreted as a color).

So as it stands this would need more thought to solve the issues described above, but feel free to chip in with any ideas you have.

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

No branches or pull requests

2 participants