Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
Description
User story:
As a user who does not know the name or code for the location I want to assign to an item or holding
I want to be able to browse to see what locations are available by institution, campus and library
So I can find the location I want to assign
Scenarios:
- Scenario
A-M: confirmed in the create holdings, create item, edit holdings, and edit item screens
- Given the location selection textbox (see
UIIN-119) - When displayed
- Then a link should display under the textbox for "Location lookup")
- Given the location selection textbox (see
- Scenario
- Given the location lookup link
- When clicked
- Then the location lookup popup should display
- Scenario
- Given the location lookup popup
- When displayed
- Then:
- The header should read "Select <locationType> location" (e.g. "Select permanent location" or "Select temporary location")
- An X should appear in the upper left (clicking closes popup)
- Menus should display for the following as shown in the below linked mockup:
- Institution - Contains all institutions used in one or more FOLIO location record
- Campus - Contains all campuses used in one or more FOLIO location record, displays only those that exist in selected institution
- Libraries - Contains all libraries used in one or more FOLIO location record, displays only those that exist in selected campus
- Locations - Contains FOLIO location records, displays only those that exist in selected library
- Institution - Contains all institutions used in one or more FOLIO location record
- The header should read "Select <locationType> location" (e.g. "Select permanent location" or "Select temporary location")
- Scenario
- Given the institution, campus, library or location menu
- When only one option exists in the select menu
- Then the menu should be inactive and the one option should be auto-selected A-M: see attached screenshot: location popup question - Institution seems to only have one option, but it's not greyed out, the way that Campus and Library are. Should Institution, Campus, and Library selection boxes all behave the same way, since they all seem to have only one choice? Only the Location has more than one choice in a dropdown menu. CB: Yes, Institution should behave like the other menus, as specified in this scenario. Thanks! All better now
- Scenario
- Given the institution, campus, library or location menu
- When more than one option exists
- Then:
- The menu should be active
- The default value should be "Select <itemType>" (e.g. "Select campus", "Select library")
- A-M: it's working that way for Location, but not for Institution. All better now
- Scenario
- Given the campus, library and location menus
- When no selection has been made in the preceding menu (e.g. institution for campus, campus for library)
- Then:
- The menu should be inactive
- The displayed value should be "Select <itemType>" (e.g. "Select campus", "Select library")
- Scenario
- Given the location selection menu
- When displayed
- Then the system will present the locations that have the selected institution, campus, library combination
- Locations should be displayed with names on the left and codes on the right as shown in the below linked mockups
- Arrow keys may be used to scroll down the list
- Selection is made using enter on the keyboard or with a mouse
ScenarioCB: Moved to new story:
STSMACOM-94Given the location selection textboxWhen I enter all or part of a location name or location codeThen the system will present the locations that match:Locations should be displayed with names on the left and codes on the right as shown in the below linked mockupsMatching text should be displayed bold- A-M: this is working differently from
UIIN-119. It seems to be doing a search that starts with the beginning of the text, instead of finding the text wherever it is in the options. In theUIIN-119scenarios, if I enter "a" in the "filter options list" box, I get 3 locations that have the letter "a" in them. If I enter "a" in the Location Lookup-Select Location box of this scenario, I only get the Annex, which starts with the letter "a". Per this scenario, I should get all 3 locations that have an "a" in them. Also, no matching bold text in the location lookup results. CB: Yeah, seems like it should work the same... I recently updated the scenarios forUIIN-119because the design was different than initially specified. mpk35, should I go ahead and change the scenario here to match scenario 3 inUIIN-119(nowSTSMACOM-82)? Or is there some technical reason why they can't work the same? MK: cboerema this is currently using a simple select box. We can replace it with the selection component. Does that make sense? CB: Yeah, that makes sense. I'll put this in a new story so this one can be closed.
- Scenario
- Given the location selection textbox
- When displayed
- Then a close "X" shall appear as shown in the linked mockup (closed the popup without making a selection)
- Scenario
- Given the location selection textbox
- When a location has been selected
- Then the Save and Close button should be active (clicking button will close the popup and save the selected location)
Mockup: https://drive.google.com/file/d/1dFyzpvXA1QtpgXkyK5vOuPWyHfUDLWl-/view?usp=sharing
Out of scope: Location selection textbox (see UIIN-19)
TestRail: Results
Attachments
Issue Links
- blocks
-
UIIN-121 Confirmation When Assigning Inactive Location
-
- Closed
-
- is blocked by
-
FOLIO-1140 Sample data for new location model
-
- Closed
-
-
MODINVSTOR-84 Assign New Locations to Items and Holdings
-
- Closed
-
-
STCOM-233 <Selection> add custom rendering of options
-
- Closed
-
- relates to
-
UIIN-270 Location Lookup Popup Not Working on Item Create Page
-
- Closed
-
-
UIORG-104 Service Point: Clicking Save and Close on Location Lookup Popup Should Register the Location
-
- Closed
-
-
UX-84 UX: Locations Assignment Mockups
-
- Closed
-
-
STSMACOM-82 Location Selection Menu
-
- Closed
-
-
UIIN-127 Migrate to hierarchical location end-point
-
- Closed
-
-
UIIN-137 Permanent and temporary locations. Changes to holdings and item records
-
- Closed
-
-
UIORG-45 Location Hierarchy v1: Create Locations via JSON File
-
- Closed
-
-
UIORG-103 Location Lookup Popup Not Working on Service Point Create Page
-
- Closed
-
-
UXPROD-267 Assign location to item/holding
-
- Closed
-