project-lux / lux-frontend

Web front end of LUX
Apache License 2.0
3 stars 0 forks source link

Add ability to wrap advanced search blocks in groups #265

Open kamerynB opened 1 month ago

kamerynB commented 1 month ago

Note - this is pending Site Improve data. SI data will validate whether this feature will be beneficial for other AS queries besides the one listed in BH.

Problem Description: Users can't wrap existing advanced searches in groups, ie have All of, have Any of, have None of. This makes it difficult for users who want to edit existing searches. For example, a user selects "Show all x results" from an entity page and is shown a results with an advanced search, they are limited in how they can edit the advanced search.

Expected Behavior/Solution: The user will be able to wrap sections in a group.

Possible options from UX/BA meeting 6/26:

Requirements: TBD - Based on 6/26 meeting this will be future work as need to look at SI analytics to view if this is necessary.

Needed for promotion: If an item on the list is not needed, it should be crossed off but not removed.

UAT/LUX Examples:

Dependencies/Blocks: N/A

Related Github Issues:

201

Related links:

Wireframe/Mockup: image

roamye commented 4 weeks ago

to do this - Is it possible to add an 'Add Row' option above any single fields (have all,any of, none)?

such as: image

with the exception of having it only display 'add single field' upon its selection... Maybe it could be called 'Add Single Field' / "New Single Field" instead?

There may need to be an option to add this new single field onto the existing one, such that: have any of categorized as id: cloth

can become: have none of have any of categorized as id: cloth

as well as become: have none of X have any of categorized as id:cloth

Let me know your thoughts @kamerynB @miketullo95

jffcamp commented 2 weeks ago

Future work pending SiteImprove advanced search analytics

jffcamp commented 2 weeks ago

One option - … in the have all/any of dropdown add an entry for “Add row above this”

kamerynB commented 2 weeks ago

Notes from 6/26/24:

  1. This may complicate advanced search further and seems like an edge case.
  2. This may be adjacent to adding the ability to drag rows to different levels, which is also future work.
  3. Several options were discussed. One being to have the "wrapping" button next to the row you wish to wrap. It was also discussed that the button would allow users to ONLY wrap subqueries in groups (have All of, have Any of, have None of).