Campus CRUD UI v1

Description

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:

  1. 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

  2. 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

  3. Scenario:

    • Given the Institution menu on Settings > Organization > Location setup: campuses

    • When Institution A is selected

    • Then I can CRUD campuses for Institution A

  4. 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

  5. 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

  6. 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

  7. 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

  8. Scenario

    • Given a value row in the controlled vocab table

    • When displayed

    • Then a delete button/icon should be displayed

  9. 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

  10. Scenario

  11. 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

  12. 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"

  13. 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:

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

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Cate Boerema April 5, 2018 at 7:20 AM
Edited

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

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
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