IQSS / dataverse

Open source research data repository software

Home Page:http://dataverse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request/Idea: Custom color for file tags

CB-HAL opened this issue · comments

Overview of the Feature Request
At the moment all File Tags have the same color (with exception of tabular ingest tags). We use api/admin/settings/:FileCategories to have own tags, our tags are organized in two categories: content (Documentation, Data, Code, Questionnaire etc.) and type of file (STATA, SPSS, EXCEL, CSV etc.). For an easier understanding of the two different categories, custom assignment of a color to each tag would be a good solution.

10-05-2024_14-28-21

Maybe it is possible to use :FileCategories and add the hexcode of the color:
curl -X PUT -d '{Documentation,#128A79},{Data,#128A79},{STATA,#DC143C},{SPSS,#DC143C}' http://localhost:8080/api/admin/settings/:FileCategories

Please keep in mind "accessibility" when discussing colors to use for this request