Campus CRUD UI v1
Description
Environment
None
Potential Workaround
None
blocks
clones
is blocked by
is cloned by
relates to
Checklist
hideTestRail: Results
Activity
Show:

Cate Boerema April 5, 2018 at 7:20 AMEdited
I added a new data element to the campus CRUD: Code. I'll be doing the same for Institution and Library, as well. The idea here is that, when you set up the institutions, campuses and libraries you can put in a code along with the name. This code will then display on the Location CRUD page in the institution, campus and library menus in parentheses by the names. The code will serve as a visual reminder to the person creating the location record so they can use the code (if desired) when creating the location code. Down the road, we may offer the ability to auto-generate the location code (or at least part of it) based on the selected institution, campus and library.
Done
Created March 24, 2018 at 9:57 AM
Updated July 4, 2018 at 1:40 PM
Resolved May 3, 2018 at 7:58 PM
TestRail: Cases
TestRail: Runs
Purpose: Implementation of basic campus 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 campus records
So I can use them when creating locations
Scenarios:
Scenario:
Given Settings > Organization
When displayed
Then an option for "Location setup: campuses" 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:", it should come directly below "Location setup: institutions" as shown in the below linked wireframes
Scenario:
Given Settings > Organization > Location setup: campuses
When selected
Then an Institution menu should display:
Containing all institutions that have been created in "Location setup: institutions"
Default: Select an institution
Scenario:
Given the Institution menu on Settings > Organization > Location setup: campuses
When Institution A is selected
Then I can CRUD campuses for Institution A
Scenario:
Given Campus CRUD on Settings > Organization > Location setup: campuses
When displayed
Then I should be able to CRUD campuses 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 campus
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 campus 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 campus? CB: Please use sentence case, despite the title case used in the mock-ups
Body: <valueName> will be removed from <controlledVocabType>.
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 campus <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 a campus 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: campuses 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/1blZ77X3ZcbFeja5xWjAcJ0ytFXL8SGs2/view?usp=sharing
https://drive.google.com/file/d/1m43zW_CsdJP_-9bm2zQrsrbHEGrWa_hj/view?usp=sharing
Out of scope:
Location column (will circle back on this once we have location CRUD complete) UIORG-63
Disable delete if used by locations UIORG-64