ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
44 stars 26 forks source link

✨ [Frontend] Dashboard: filters on the left #5907

Closed odeimaiz closed 1 month ago

odeimaiz commented 1 month ago

What do these changes do?

In order to enhance the use of tags and facilitate the organization of resources (Studies, Templates, Services) in the Dashboard, this PR makes the filtering options more visible.

The filtering options, which were located in a drop down menu between the search filter and the cards, are now placed on the left side of the cards, well visible with toggle buttons.

Also, a tooltip was added to the Tags shown on cards (Click to filter by this Tag)

FiltersOnTheLeft

Related issue/s

closes https://github.com/ITISFoundation/osparc-issues/issues/1403

How to test

Dev-ops checklist

odeimaiz commented 1 month ago

Cards are no longer centered in the screen, and the width of their container seems to change depending on the amount of cards and not the available width.

I didn't want to make filters layout flexible, and therefore the main layout doesn't move when you make the window lager (which I personally like better), making only the right white space slightly flexible. On the other hand, in your animation when you switch between Resource Browsers with just a few cards, it looks weird that the main layout doesn't get wider (stays the same width), that was fixed.

On another note (not sure if within the scope of this PR) about those toggle buttons. It is hard to know whether they are enabled or disabled. The border color changes but which one is on and which one is off?

I removed the border to the not selected filters

FlexibleMainLayout

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud