Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
Prokopovych
Description
Purpose: We had previously implemented the ability to add 0 to many locations to a service point record. But we have since realized that we need to require at least one service point per location. For this reason, we need to move the ability to establish the relationship to the location record.
User story:
As a user who is creating a location
I want to be required to add at least one (primary) service point to the location
Because, if a location doesn't have a service point, the system won't be able to know where it's home is (among other things)
Scenarios:
ScenarioCB: Moved toUISP-5Given the service point create/edit forms at Settings > Organization > Service pointsWhen displayedThen the Assigned locations section should be read-only as shown in these mockups
- Scenario
- Given the Location create/edit forms at Settings > Organization > Location setup > Locations
- When displayed
- Then new field should be added below Discovery display name labelled "Service point(s) *"
- Scenario
- Given the Location create/edit forms at Settings > Organization > Location setup > Locations
- When the new "Service point(s) *" field is displayed
- Then a single dropdown menu should display:
- Default value "Select service point"
- Contains all service points (service points are added at Settings > Organization > Service points) in alphabetical order
- Accompanied by a radio button indicating whether it is the primary service point for the location (when there is only one service point, the radio button is inactive)
CB: I am not a fan of this radio button. I'll get Filip's thoughts in the comments.
- Accompanied by an "+ Add service point" button
- Default value "Select service point"
- Scenario
- Given the Location create/edit forms at Settings > Organization > Location setup > Locations
- Given the "+ Add service point" button
- When clicked
- Then a new dropdown menu should be displayed along with a "primary" radio button as shown in the below linked mockups
- "Primary" radio buttons should become active when there is > 1 service point
CB: I am not a fan of this radio button. I'll get Filip's thoughts in the comments.
- New dropdown menu should be accompanied by a delete icon
- Clicking the delete icon will remove the additional service point
- It should not be possible to delete the last service point menu (when deletion is attempted, a red error should appear under the menu reading "Location must have at least one service point")
- Clicking the delete icon will remove the additional service point
- "Primary" radio buttons should become active when there is > 1 service point
- Scenario
- Given the Location create/edit forms at Settings > Organization > Location setup > Locations
- When there is not at least one service point selected and save is attempted or focus moves to next field
- Then:
- Required field message should display "Please fill this in to continue"
- Save should be disallowed
- Scenario
- Given the Location create/edit forms at Settings > Organization > Location setup > Locations has an extraneous service point menu displaying with no service point is selected
- When save is attempted
- Then:
- Save should be allowed
- Empty service point menu should be discarded
- Screencast: https://www.screencast.com/t/0musk9aTy6
- Scenario
- Given the Location view forms at Settings > Organization > Location setup > Locations
- When the location is displayed after save (in edit and view modes)
- Then "Service point(s)" should display as shown in the below linked mockups
- Scenario
- Given Service Point C is made primary for the location
- When the location is displayed after save (in edit and view modes)
- Then Service Point C should display at the top of the list of service points
Mockups:
TestRail: Results
Attachments
Issue Links
- blocks
-
UICHKIN-17 Item status change upon checkin: in transit
-
- Closed
-
-
UICHKIN-40 Display destination service point for in transit items
-
- Closed
-
-
UICHKIN-60 Print Transit Slip at Check-in
-
- Closed
-
-
UIORG-92 Enable Filtering of Location Records By Institution, Campus and Library
-
- Closed
-
-
UIORG-117 Duplicate Location Record
-
- Closed
-
-
UIU-485 Closed loans - show service point as check-in location
-
- Closed
-
- is blocked by
-
FOLIO-1525 SPIKE: Revisit Location to Service Point Relationship Modeling
-
- Closed
-
-
UX-219 UX: Mockups for Adding Service Point Assignment to Location Record and Marking One Primary
-
- Closed
-
- is duplicated by
-
UIORG-110 Settings for Location: primary service point
-
- Closed
-
- relates to
-
MODINVSTOR-177 Add primary service point for location property
-
- Closed
-
-
UXPROD-601 In transit to home location (not to fulfill request)
-
- Closed
-
-
UIORG-110 Settings for Location: primary service point
-
- Closed
-
-
UIORG-127 Display Locations Associated with the Service Point (Read-Only)
-
- Closed
-