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

resources: add logo #114

Open
jusa3 opened this issue Aug 1, 2024 · 1 comment · May be fixed by #164
Open

resources: add logo #114

jusa3 opened this issue Aug 1, 2024 · 1 comment · May be fixed by #164

Comments

@jusa3
Copy link
Collaborator

jusa3 commented Aug 1, 2024

See BFO or CHEBI: https://www.ebi.ac.uk/ols4/ontologies

@VincentKneip
Copy link
Collaborator

Added a branch with a first draft for logos on ResourcesWidget (see pinned development branch).

  • Logos are only available in the v2-API of OLS, so I added a useLegacy-parameter to toggle the API version. Logos are then only shown if useLegacy == false
  • For now, logos have their own column in the EuiBasicTable. This is not optimal because some logos (e.g. from Human Disease Ontology) require a higher width to be properly displayed. One approach could be to additionally display the logos, if available, in the "Resource Name" column. However, this makes alphabetical sorting of this column more complicated, and a nice display of both items in one cell is not trivial in EuiBasicTable.

grafik

What is your opinion on the current status @jusa3?

@jusa3 jusa3 linked a pull request Nov 14, 2024 that will close this issue
@jusa3 jusa3 linked a pull request Nov 14, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants