NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 27 forks source link

Portals missing filter by project #1705

Closed vchendrix closed 2 years ago

vchendrix commented 3 years ago

Describe the bug In Metacat 2.14.0 Portals enhancement for filtering, I cannot figure out how to filter by Project

Old Filter

Screen Shot 2021-03-24 at 4 29 12 PM

Expected behavior I expect to be able to filter portal data by the project solr field

mbjones commented 3 years ago

Hi @vchendrix thanks for the report. I tried to reproduce, but its working fine for me on the Arctic Data Center site, as shown in this screenshot:

Screen Shot 2021-03-24 at 5 16 19 PM

Based on your screenshot, it appears to me that you are using the old filter configuration UI (which is oriented vertically), rather than the new one (which is oriented horizontally, and provides configurable sets of rules). Are you sure you're using the new release? Can you provide details of MetacatUI version, how you got there, new portal versus existing, browser, etc.? Hopefully this issue will be obvious to @laurenwalker or @robyngit.

vchendrix commented 3 years ago

Sorry for the confusion. I gave you the screenshot of the old version to show the field I wanted.

When I cycled through the list of fields to filter by in 2.14.0, I couldn’t find the project field in the list. Maybe is it a user education issue. Can you submit a screenshot of where I would find the project field in the drop down?

Sent from my iPhone

On Mar 24, 2021, at 18:22, Matt Jones @.***> wrote:

 Hi @vchendrix thanks for the report. I tried to reproduce, but its working fine for me on the Arctic Data Center site, as shown in this screenshot:

Based on your screenshot, it appears to me that you are using the old filter configuration UI (which is oriented vertically), rather than the new one (which is oriented horizontally, and provides configurable sets of rules). Are you sure you're using the new release? Can you provide details of MetacatUI version, how you got there, new portal versus existing, browser, etc.? Hopefully this issue will be obvious to @laurenwalker or @robyngit.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

mbjones commented 3 years ago

@vchendrix You can just start typing the field name "Pro" and it will show where it is in the categories. In this case, it's under "Awards and Funding", which is arguably not too intuitive.

vchendrix commented 3 years ago

Ah!! That did not occur to me. Thanks!

Sent from my iPhone

On Mar 24, 2021, at 19:53, Matt Jones @.***> wrote:

 @vchendrix You can just start typing the field name "Pro" and it will show where it is in the categories. In this case, it's under "Awards and Funding", which is arguably not too intuitive.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

robyngit commented 3 years ago

Could I ask which category you would have expected to find "Project" in, @vchendrix? We are currently reviewing the organization of solr fields in portal builder (see https://github.com/NCEAS/metacatui/issues/1678), so that feedback would be helpful!

vchendrix commented 3 years ago

@robyngit That is a good question. I guess I would have expected them in General or the People and Organizations section. However it should be mentioned that I didn't know I could type my search in the field. That would have been enough for me and I wouldn't have needed the categories.

laurenwalker commented 3 years ago

@robyngit Could we list the Project field under multiple categories?

robyngit commented 3 years ago

Just tested that. We could, for example: Screen Shot 2021-04-14 at 11 11 45*

But the dropdown interface assumes that each option has a unique value, so there would be some bugs to work out. For example, if both "Project" items are selected, then the second one gets removed from the list completely, even if the first selection is removed:

https://user-images.githubusercontent.com/26600641/114735107-ddbc2800-9d12-11eb-95c5-e59d52c5e7b7.mov

(*clearly Project should not appear under Taxon, bad example)

vchendrix commented 2 years ago

This is not an issue