ArtResearch / artresearch.net

ArtResearch ResearchSpace application hosted at https://artresearch.net
5 stars 1 forks source link

Advanced Search implementation and structure #221

Open lklic opened 3 years ago

lklic commented 3 years ago

Add a new "advanced search" and change the current one to "structured search".

The new advanced search should be able to query the following fields, each with its own input box:

Artworks

Photograph

Artists/Photographer

For the location lookup, it would be nice to have the option to select the place or be able to use the map component to search for an area on a map.

lklic commented 3 years ago

It would also be nice to be able to have a toggle for each one of these fields to switch between full text search (which can also search through non-reconciled data), and lookups, that can only use reconciled data.

spykoulouris commented 3 years ago

Should the new advanced search be available only for artworks? Do you think we can include photographs in those fields?

lklic commented 3 years ago

I think we can try a form switch to be able to search across photographs, artists and repositories.

AndreasMichelakis commented 3 years ago

Could you please provide me with a list of inputs for photograph and artist advanced search?

lklic commented 3 years ago

@AndreasMichelakis I have updated the original issue text and have added the fields for each type

AndreasMichelakis commented 3 years ago

Advanced search is now available for Artworks, Photographs & Artists at https://artresearch.net/resource/SearchAdvanced .

There are two things missing from this implementation:

  1. Map visualization when searching for a location (this is currently not supported by the platform) 2. Date range (will be added soon)

image

Please let us know whether we should add the option in the start page as well as any other comments regarding this implementation.

spykoulouris commented 3 years ago

That's' great, thank you guys!

Do you think it is possible to make this page shorter? Perhaps providing a pick-up list of the various fields and having only one line to fill out (and a + button to add more lines if needed).

Here's what Harvard's Hollis advanced search looks like: https://hollis.harvard.edu/primo-explore/search?vid=HVD2&mode=advanced

spykoulouris commented 3 years ago

Also instead of having separate tabs for Artworks, Photographs, and Artists I think it will be easier for users to select if they want to search for one of these categories similarly to Hollis's function (search for Everything, Library Catalog, Reserves, Barcodes).

AndreasMichelakis commented 3 years ago

@spykoulouris Thank you for taking the time to comment and for all the suggestions. We are looking into these.

AndreasMichelakis commented 3 years ago

@spykoulouris @lklic @MinadakisNikos

The Advanced search now works by adding required fields rather than having to remove all unnecessary ones. Please let us know whether we should proceed with adding the advanced search option in the home page.

Please note that due to ResearchSpace limitation , we cannot keep inserted values as when a new form element is added all data are lost.

spykoulouris commented 3 years ago

Hi Andrea. The search does not work me when I press the button.

I see what you mean of not being able to keep the inserted values when adding a new element. That will be a problem for users.

spykoulouris commented 3 years ago

I think the layout of the page looks much better now. Thanks!

AndreasMichelakis commented 3 years ago

Hi Andrea. The search does not work me when I press the button.

I see what you mean of not being able to keep the inserted values when adding a new element. That will be a problem for users.

@spykoulouris Could you please let me know what query you are running? I just run : image And yields appropriate results. There is a change there is a problem with user permissions.

spykoulouris commented 3 years ago

Sorry you are right. There is a huge blank space between the search fields and the results though, making the results difficult to see. The user should scroll down a lot to find them. I use Firefox (in case the problem is caused by my browser.

AndreasMichelakis commented 3 years ago

I just tested with Chrome, Edge, Opera, Firefox and works ok: image Also, it is now possible to collapse the search form: image

Could you please send me a screenshot?

spykoulouris commented 3 years ago

Resolved. The problem does not persist now.

lklic commented 3 years ago

a few changes to make:

AndreasMichelakis commented 3 years ago

Done: image

lklic commented 3 years ago

Great! Could you remove the border and collapsible part around the search form? We didn’t think that was necessary, even though it can be convenient for visualization it seemed a bit distracting.

Thanks

AndreasMichelakis commented 3 years ago

All borders and header of the collapsible panel were removed. The functionality is still there and users can hide the form by clicking on "Collapse" :

image

Then, users can expand the form by clicking on "Expand"

image

Users can hide the form after a search to focus on results. Of course, as borders are now removed, the option to collapse is not distracting while completing the form.

Please let us know if any other change is needed.