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

Assign color automatically to group #7613

Closed
funnym0nk3y opened this issue Apr 7, 2021 · 9 comments · Fixed by #10521
Closed

Assign color automatically to group #7613

funnym0nk3y opened this issue Apr 7, 2021 · 9 comments · Fixed by #10521
Assignees
Labels

Comments

@funnym0nk3y
Copy link

funnym0nk3y commented Apr 7, 2021

Is your suggestion for improvement related to a problem? Please describe.
When creating a group I don't care what color the group has as long as it is clearly distinguishable from the other group colors.

Describe the solution you'd like
I'd like to have an option to assign a group color automatically. If the colors could be selected from a pallette with the greatest distance (eg HSV color space) would be an advantage. The manual assignment of colors should still be possible.

@lc9275
Copy link

lc9275 commented Oct 22, 2021

I agree with the suggestion above, but would like to add something to this:

Currently when a new group is created the color gray is assigned - before by default no colour was assigned.
There seems to be currently no way of removing the color (other than editing the bib file). For smaller groups it is nice not to have a colour. So in addition to the random distinguishable color option, it would also be nice to have the option to have no color by default.

@funnym0nk3y
Copy link
Author

Additionally, to name usage on multiple machines easier, the colours should be saved in the bib file to avoid changing colours.

@JoleneSun111
Copy link

Hello, I'm a new contributor, and I will carefully read the contribution guidelines. Could you please assign this issue to me?

@ThiloteE
Copy link
Member

@JoleneSun111 Since you already have commented on two other issues, I will not assign you to this one here, as I fear you might overburden yourself and not be able to finish what you started. I will gladly assign you, once you have finished the other ones.

@Ziyao-Jin
Copy link
Contributor

Hi! I have read the contributing guidelines and I'd love to work on this issue. Could you please assign this issue to me?

@ThiloteE ThiloteE added the FirstTimeCodeContribution Triggers GitHub Greeter Workflow label Oct 14, 2023
@github-actions
Copy link
Contributor

As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at.

Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback.

@JoleneSun111
Copy link

JoleneSun111 commented Oct 17, 2023 via email

@koppor
Copy link
Member

koppor commented Oct 17, 2023

Implementing using the HSV color model and maximal distance is a good idea.

Advanced version:

Found at https://chartio.com/learn/charts/how-to-choose-colors-data-visualization/

@JoleneSun111 JoleneSun111 removed their assignment Oct 17, 2023
@koppor
Copy link
Member

koppor commented Dec 19, 2023

Note: more discussions/decisions are in the PR, especially #10521 (comment)

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

Successfully merging a pull request may close this issue.

7 participants