research-software-directory / RSD-as-a-service

This repo contains the new RSD-as-a-service implementation
https://research.software
27 stars 14 forks source link

1212 Categories - suggested layout and structure changes #1233

Closed dmijatovic closed 5 months ago

dmijatovic commented 5 months ago

Suggested changes

Changes proposed in this pull request:

How to test:

Categories (top) example

image

Categories add child

image

Categories edit item

image

PR Checklist:

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed for 'rsd-frontend'

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

jmaassen commented 5 months ago

At the moment the categories section on the software page looks a bit different, as it has no icon:

Screenshot 2024-06-25 at 09-08-49 Real software near aha truthfully yawn Research Software Directory

Wasn't the original plan to also select an icon for the top-level categories?

Also, when global categories are defined, the links and metadata section becomes quite cluttered again:

Screenshot 2024-06-25 at 09-19-39 Edit software Research Software Directory

We could consider moving the categories and keywords to a separate section at some point?

The order of defining the category fields is not very intuitive:

Screenshot 2024-06-25 at 09-20-42 Categories Admin page Research Software Directory

When I fill out the information for the highlighted category, I get to see the 2nd and last field when adding it to software? Where does the description go? For regular categories, we show the 2nd field (name) not the 1st (short name).

Since we are not using it yet, its fine for now. But there is room for improvement ;-)