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

feat: edit contributor and team member modal options #1298

Closed dmijatovic closed 2 months ago

dmijatovic commented 2 months ago

Edit contributor and team member

Closes #450 Closes #1152

Changes proposed in this pull request:

How to test:

Contributor modal (example)

image

Team member modal (example)

image

Rsd admin - contributors

image

PR Checklist:

jmaassen commented 2 months ago

I seem to have found an unrelated bug?

When adding a team member to a project, I get the following options:

Screenshot_2024-09-13_09-24-19

However, when I keep typing, this happens:

Screenshot_2024-09-13_09-24-34

I would expect the "Boyd Edwards" from ORCID to remain at the top, since "Boyd E" is an even better match than just "Boyd"?

jmaassen commented 2 months ago

Another comment (not sure if this is expected behavior):

When testing, I added my own name + orcid as a contributor and team member to software and projects, and added several mugshots. Some of them randomly seemed to disappear when switching between different projects/software.

It took me a while to figure out that this is because the unused foto's are removed as soon as you switch to a different context. This may also confuse our users?

dmijatovic commented 2 months ago

@jmaassen & @ewan-escience I made changes requested by Jason:

dmijatovic commented 2 months ago

@jmaassen en @ewan-escience I added avatar update for rsd admin. Can you test all features again please?

jmaassen commented 2 months ago

I think there is still a small bug in de admin part?

dmijatovic commented 2 months ago

@jmaassen Thanks for the remark. I extended aggregation in the rsd admin section to include ORCID too. Let me know if this approach is OK.

sonarcloud[bot] commented 2 months ago

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

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

sonarcloud[bot] commented 2 months ago

Quality Gate Failed Quality Gate failed for 'rsd-frontend'

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud