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

🎨 [Frontend] Feature: Study icon #7155

Merged
merged 29 commits into from
Feb 4, 2025

Conversation

odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Feb 3, 2025

What do these changes do?

This PR adds a new UI element to the dashboard cards: icon. This icon is not customizable, it represents what kind of app the pipeline contains.

In the list view, the icon will be shown instead of the currently shown thumbnail.

In order to provide an icon to the already existing studies, the frontend will try to guess what icon should be displayed:

  • S4L: if only one node is present in the project, S4L, iSEG and JLab will get their own icon, the rest of projects will show the product's icon (the head)
  • osparc: For now, nodes.length > 1 ? diagram icon : osparc icon.
  • TIP: depending on the ti-postrpo boot_mode, the TI mode could be guesses

S4L:
image
image

osparc:
image

TIP:
image

Related issue/s

How to test

Dev-ops checklist

@odeimaiz odeimaiz self-assigned this Feb 3, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Feb 3, 2025
@odeimaiz odeimaiz added this to the Singularity milestone Feb 3, 2025
@odeimaiz odeimaiz marked this pull request as ready for review February 3, 2025 14:31
Copy link

sonarqubecloud bot commented Feb 3, 2025

@odeimaiz odeimaiz merged commit 4352166 into ITISFoundation:master Feb 4, 2025
56 checks passed
@odeimaiz odeimaiz deleted the feature/study-icon branch February 4, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants