project-lux / lux-marklogic

Code, issues, and resources related to LUX MarkLogic
Other
3 stars 2 forks source link

Add Facet for Work Class Data Type #140

Open roamye opened 1 month ago

roamye commented 1 month ago

Problem Description: A facet to filter for Work class data types such as Visual Work/Textual Work

Expected Behavior/Solution: Create facet/results for the Works scope and all its values in simple and advanced search. These results will pull from the "Type" listed in the Work Record.

Note:

Example of record with Textual Work type:

{
"id": "https://lux-front-tst.collections.yale.edu/data/text/036a0146-fbd8-4c0b-9c05-6e47d3d3e824",
"type": "LinguisticObject",
"about": [
{

Help text will be added for each value.

Requirements: The following values will be pulled from the Type value in the JSON record.

UAT/LUX Examples:

Dependencies/Blocks: Blocking: https://github.com/project-lux/lux-frontend/issues/177

Related Github Issues:

Related links:

Wireframe/Mockup: Place wireframe/mockup for the proposed solution at end of ticket.

clarkepeterf commented 1 week ago

@prowns @roamye @jffcamp

I have the following for the advanced search label and help text. is this correct?

  label: 'Work Class',
  helpText:
    'Search only records that are either a "Visual Work" or a "Textual Work"',
jffcamp commented 1 week ago

label: 'Work Class', helpText: 'Search for records categorized as either a "Visual Work" or a "Textual Work"',

roamye commented 4 days ago

Approved by UAT - however this tix will be closed on the 07/08 cycle when the FE can be tested.