project-lux / lux-marklogic

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

Update Help Text for all Class Data Types #251

Closed roamye closed 3 weeks ago

roamye commented 1 month ago

Problem Description: The Class Data Types Work Class, Event Class, Object Class, and Concept Class required help text for every selection of its value as listed in ML Issues 138, 139, 140 and 141. However, adding help text to each value requires new functionality that DNE.

Expected Behavior/Solution:

Requirements:

Object Class: Search for records categorized as either a "Physical Object" or a "Digital Object". Physical Objects are physical items, such as paintings, sculptures, fossils and other specimens, and archival objects. Individual physical copies of books are included in this class. Digital Object are digital items, such as internet resources (datasets, e-books, and other digital files). Digitized images of collection items that are physical objects can be found with the “Is Online” facet on Physical Objects

Work Class: Search for records categorized as either a "Visual Work" or a "Textual Work. Visual Works are Works that are primarily visual, such as the images shown by paintings or photographs, sculptures, or other non language oriented creative expressions. Textual Works are Works that are primarily textual or otherwise convey information via human language. An Object may include both visual and textual works, such as a poster with graphics and text. In addition, Textual Works encompasses most items from the Library collections, including posters, artworks, musical scores, video and sound recordings.

Event Class: Search for records categorized as either a "Period" or an "Activity". Period are Events that have the class of Period, which consists of a Time Period, as opposed to other human-caused activities. Activity are Events that have the class of Activity, which consists of events such as Exhibitions or other collections-related activities.

Concept Class Search for records categorized as either a "Measurement Unit", "Language", "Material", "Currency" or a "General Concept". Measurement Unit are Concepts that are used as the unit of a measurement, such as inches, seconds, kilograms or bytes. Language are Concepts that represent human-spoken languages, such as English, Spanish or Latin. Material are Concepts that represent a class of physical material, such as bronze, paper, or agate. Currency are Concepts that represent monetary currencies, such as dollars, euros, or francs. General Concept are Concepts that represent more general ideas or subjects, which excludes the more specific classes of Measurement Unit, Language, Material, and Currency.

Person or Group Class Search for records categorized as either a "Person" or a "Group". Person is an individual either real or fictionalized. Group is an organization, either real or fictionalized, with one or more members.

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:

Related Github Issues:

Related links:

Wireframe/Mockup: image

image image image image

roamye commented 1 month ago

Question - do we want to do the same thing for People & Group Class? I also worry about how long the Help text will have to be since we are adding value information into it. Specifically the Concept Class help text.

clarkepeterf commented 1 month ago

@roamye With current functionality, I cannot add newlines to the help text. So the descriptions will all show up as one giant block of text without blank lines in between them.

Also, I do think it makes sense to add to People & Group Class as well.

roamye commented 1 month ago

@clarkepeterf - ahh, so it would display like this instead:

image.

@prowns - possible help text: search for records categorized as a "Person" or a "Group". Person is an individual either real or fictionalized. Group is an organization, either real or fictionalized, with one or more members.

clarkepeterf commented 1 month ago

@roamye yes it will look like that example image

clarkepeterf commented 1 month ago

@prowns @roamye I'm already updating help text and this is a quick issue so I'm pulling it into this release

roamye commented 1 month ago

@clarkepeterf - OK I updated the help text/mockups above to also include the person or group text.

roamye commented 1 month ago

Approved by UAT 8/7

roamye commented 3 weeks ago

Looks good in PROD. Closing.