Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
customfield_11100 16241
Description
Purpose: Implementation of basic institution CRUD. Will circle back on this later to add the locations column, once we have location CRUD working.
User story:
As a FOLIO administrator
I want a UI for creating, reading, updating and deleting institution records
So I can use them when creating locations
Scenarios:
- Scenario:
- Given Settings > Organization
- When displayed
- Then an option for "Location setup: institutions" should display
- Should be in alpha order relative to the other options that don't begin with "Location setup:", but of the options that do begin with "Location setup:", "Location setup: institutions" should be at the top as shown in the below linked wireframes
- Scenario:
- Given Settings > Organization > Location setup: institutions
- When selected
- Then I should be able to CRUD institutions using the standard ControlledVocab component (per
STCOM-228) configured with the following columns:- Name - Required
- Code - Optional
- Last updated
- "<dateEdited> by <editorLastName>, <editorFirstName>"
- Name should be link to user record
- OUT OF SCOPE: # of locations - Count of location records using this institution
- Scenario
- Given a user does not have a First name specified
- When displayed in the Last updated column
- Then the comma between last and first name should not display
- Scenario
- Given the controlled vocab CRUD pages
- When User A is displayed in the Last updated column
- Then the name should be a link to User A record CB: Let's do this even though it's not shown as such in the mockup
- Scenario
- Given the dates displaying in the Last updated column
- When locale is changed in Settings > Organization > Language and localization
- Then the date format should update accordingly
- Scenario
- Given a value row in the controlled vocab table
- When displayed
- Then a delete button/icon should be displayed
- Scenario
- Given an institution is NOT in use by one or more location record
- When delete button/icon is clicked
- Then a window will pop up asking user to confirm the deletion or cancel the deletion as shown here: https://drive.google.com/file/d/0By8ccf5VV4EWZkRSVXc2cE1IbmM/view?usp=sharing
- Header: Delete institution? CB: Please use sentence case, despite the title case used in the mock-ups
- Body: "The <type> <value> will be deleted."
- Buttons: Cancel, Delete
- Scenario
- Given the Delete button on the delete confirmation popup
- When clicked
- Then the value will be deleted and a confirmation will appear after the deletion has occurred reading, "The institution <valueName> was successfully deleted." See https://drive.google.com/file/d/0By8ccf5VV4EWVTlzZFVaTExGLVU/view?usp=sharing
- Scenario
- Given the Cancel button on the delete confirmation window
- When clicked
- Then the value will not be deleted and the modal popup will close
- Scenario
- Given an institution with no name specified
- When save is attempted
- Then:
- Save is not allowed
- Validation message should display reading, "Please fill this in to continue"
- Scenario
- Given Settings > Orgaization> Location setup: institutions has unsaved changes
- When I navigate away from the page by clicking another navigational element in FOLIO OR using the back button in the browser
- Then I am presented with an unsaved changes notification
- Text: Save changes?
- Buttons:
- Discard changes - Discards changes and allows user to navigate as indicated
- Cancel - Closes notification popup and leaves user on create/edit user page. Unsaved changes remain and are unsaved.
Mockups:
- https://drive.google.com/file/d/1T-kU4k5zALanLdUVXBvkTmI2xOcYANDp/view?usp=sharing
- https://drive.google.com/file/d/1B1xPXwFx06XOzNKVgMqnYYO7yWDBEsjX/view?usp=sharing
- https://drive.google.com/file/d/1yzsRF2XLXaVkx8BXAHUHv3KxjfWCdF7w/view?usp=sharing
Out of scope:
TestRail: Results
Attachments
Issue Links
- blocks
-
UIORG-60 Institution CRUD: Add Locations Column
-
- Closed
-
-
UIORG-62 Institution CRUD: Disallow Delete When in Use
-
- Closed
-
-
UIORG-69 CRU Locations (Hierarchical)
-
- Closed
-
- is blocked by
-
MODINVSTOR-101 add metadata fields to /location-units/institutions endpoints
-
- Closed
-
- is cloned by
-
UIORG-61 Campus CRUD UI v1
-
- Closed
-
- relates to
-
FOLIO-1140 Sample data for new location model
-
- Closed
-
-
STCOM-228 Make ControlledVocab Component Behave Like Patron Group CRUD
-
- Closed
-
-
UIORG-75 reorganize settings pane into sections
-
- Closed
-