Group colour (icon), how is it working?

groups

(Bernhard Kleine) #1

In the Edit Group dialogue, there is a field color. By assigning a text “blue” to that field I noticed that the color stored in the field is 0X0000ffff, i.e. hexadicimal representation. But either the group nor entries in it appear colored or with colored background. What is then the color doing? I am confused. In the documentation there is not any mentioning of group colors nor of the icon field. Would you be please so kind to explain it in the documentation that a simple minded person as myself can see the benefit of color and icons for a group?


(Christoph) #2

This is a new feature of the version 4 groups.

In the Icon field you should be able to set one of these icons from these icon-fonts like material design. @tobiasdiez for sure knows exactly what you have to enter there.

And the color field sets the color of the field.

I could not yet figure out how to display an icon, but you can enter there some text and if you type “orange” (without quotation marks) in the color field, the text will be displayed in orange.

The changes appear when you expand/unexpand the groups once.


(Bernhard Kleine) #3

I had yesterday labeled the group “Adiponectin” green which goes to 0x0000ffff. However neither closing the groups “05 hormones” nor the group “Adipokines” rendered the group “Adiponectin” green.

Obviously not yet working properly.


(Tobias Diez) #4

You have to specify the color and an icon. The icon code is one of the unicodes of the material design icon font, e.g. \uf002. Of course the input is not yet very user friendly and will be improved as part of https://github.com/JabRef/jabref/pull/2643.


(Bernhard Kleine) #5

Is this the intended behaviour?

both, \uf1a2 or \uf002 are from the material design icon font, obviously the icon font is not known to Jabref or what do I miss


(Christoph) #6

Hm,

I experienced the same. I will see if I can find out where the problem is. The font is known and is used in other areas.


(Tobias Diez) #7

It should work if you specify the icon as a single unicode character.


(Bernhard Kleine) #8

|
|
|It should work if you specify the icon as a single unicode
|character
.
|
|
|
|

[Visit
Topic](Group colour (icon), how is it working?)
or reply to this email to respond.
To unsubscribe from these emails, [click
here](http://discourse.jabref.org/email/unsubscribe/6e739f9229a4a96c34efcee84fea959c4afa069bb1e3c1d8b88a2440d22e0a30).

And please how to do this?


(Christoph) #9

I created a little code to handle this better as long as we don’t have a new UI dialog.

https://github.com/JabRef/jabref/pull/2926


(Bernhard Kleine) #10

Please, how to write unicode symbols in the icon field? Obviously \uf1A2 is interpreted as text. Be so king and provide an instruction to write the value \uf1A2 in that field. Everything on my desktop is in utf8.


(Tobias Diez) #11

In the latest development you can now specify the icon using its name, e.g. FACEBOOK. It would be really nice if you could update the help page in this regard. It is always useful if the help is written from a user perspective and it would also take some stuff off our plate so that we can focus on new features. Thanks.


(Bernhard Kleine) #12

Hallo, Tobias.
I would like to help. But at the moment I donot see how.FACEBOOK obviously works, but where are these icons and how to choose from them. It would also be nice to have a dialog to choose the colors and the icons. If such interface is provided I am willing to contribute to the help page.

Regards


(Christoph) #13

In the long term we want to improve the GUI dialog interface, which allows you to select the icon and the color.

For now: You can specify any color, e.g. red or green for the icon.
You can use this tool to look for the icon and their name you want to use:
On the left you have to select Material Design Web Font.

  1. Choose your favorite icon, e.g. facebook
  2. Enter the correct name of the icon in the group
  3. Enter a color name, e.g. blue
  4. Collapse/Expand the group tree
  5. The new icon is shown in the color

(Bernhard Kleine) #14

For now: You can specify any color, e.g. red or green for the icon.
You can use this tool to look for the icon and their name you want to use:
On the left you have to select Material Design Web Font.

This is the dialogue I have: Snapshot this week
2017-06-22–master–bee062c6a.exe. No possibility to select the Material
Design Web Font. What do I miss?


(Christoph) #15

You have to use the external tool from the link I provided.

There you can look for icons etc. And then you have to enter the name of the selected icon in JabRef’s group dialog.


(Matthias Geiger ) #16

There is also the possibility to browse the font online using this page here:

https://materialdesignicons.com/cheatsheet

or by using https://materialdesignicons.com/ which provides also search functionality, but this is using the newest version of the font which is not used in JabRef and thus not all icons are working…


(Bernhard Kleine) #17

I have tested the cheatsheet website and found that icons like “cake” will work, but icons like “cake-layered” do not… The hyphen is not accepted. Is this intentional or errorneous?


(Bernhard Kleine) #18

any reaction? Regards Bernhard


(Tobias Diez) #19

Maybe it works with underscore.


(Bernhard Kleine) #20

It does but how are we supposed to know this?