Add mdi- icons to config #1

Closed
opened 2025-05-22 13:57:49 +00:00 by jsheunis · 0 comments
Owner

Many of the classes (a.k.a. Data Types) in the app don't have associated icons yet, just the default empty circle:

Screenshot 2025-05-22 at 15.52.13.png

Icons are defined in the config file:

Lines 95 to 99 in f85b78e
"class_icons": {
"https://concepts.datalad.org/s/things/v1/Annotation": "mdi-tag",
"https://concepts.inm7.de/s/flat-data/unreleased/Dataset": "mdi-database",
"https://concepts.inm7.de/s/flat-data/unreleased/Study": "mdi-account-hard-hat"
}

The string values are taken from here: https://pictogrammers.com/library/mdi/

Some examples (from some of which the icon string values can be directly copied):

Many of the classes (a.k.a. Data Types) in the app don't have associated icons yet, just the default empty circle: ![Screenshot 2025-05-22 at 15.52.13.png](/attachments/6de30d11-e8bd-409d-92e7-54503906c2a4) Icons are defined in the config file: https://hub.psychoinformatics.de/inm7/annotate.inm7.de-data/src/commit/f85b78e437ec529b8029cb2b8a00de8e2fc76876/config.json#L95-L99 The string values are taken from here: https://pictogrammers.com/library/mdi/ Some examples (from some of which the icon string values can be directly copied): - [users-app](https://hub.psychoinformatics.de/inm7/annotate.inm7.de-users/src/commit/2b4f9c71b61c0af4273b37a3eea95bf304894bb2/config.json#L125-L135) - [simplesubmit](https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/src/commit/763c83af6a620c2d36529796afb5382213c71395/config.json#L132-L153)
mih closed this issue 2025-05-23 04:41:41 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inm7/annotate.inm7.de-data#1
No description provided.