Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-2008

Support showing note pop-up for Users app

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 115
    • Story Points:
      2
    • Development Team:
      Spitfire

      Description

      Technical details

      According to requirements described in https://issues.folio.org/browse/MODNOTES-164, a user should be able to see a note pop-up on the Users App if it has a special property defined for him.

      Currently the Users app uses

      /note-links/domain/{domain}/type/{type}/id/{id}/

      endpoint to find user notes link

      Once https://issues.folio.org/browse/MODNOTES-165 has finished the response will include
      additional properties to define if a note should be shown as a pop-up for a user.

      For Users App the property will be:

      "popUpOnUser": true
      

      Pre-conditions:

      • Admin creates/edits a note at Users app for user Bob and checks that note displays as a pop-up on the Users App
      • When Admin goes to the Users App and selects Bob from the Results list s/he should see a note pop-up for Bob

      Additional information:
      More details can be found on the related Confluence page.

      Notes Pop-up WITH only Close button 

      Notes Pop-up WITH Delete note button 

      Pop-up Note display requirements

      • See informational modal pattern: https://ux.folio.org/docs/guidelines/ux-patterns/using-the-information-modal/
      • To view Pop-up note must have assigned permission: Notes: Can view a note
      • Pop-up modal pane header: Note for patron 
      • Pop-up modal body: <<Note details>>. Note details display should honor all applied styling. 
      • Pop-up size should account for the fact that a note may have more 5000 characters.
      • Pop-up modal pane footer buttons
        • Close = closes the pop-up. The pop-up should only display upon the action that displays the user record.
        • Delete note = IF the user has the assigned permission - Notes: Can delete a note THEN user may delete the note

      Pop-up Note Actions

      • All users will have the ability to close pop-up. The pop-up should only display upon the action that displays the user record.
      • IF the user has the assigned permission - Notes: Can delete a note THEN user may delete the note

      Mockup

      Acceptance Criteria
      Given library staff member created a user note for Bob Ross
      AND s/he set the note to display as a pop-up on Users app
      When a library staff member conducts a search
      AND selects Bob Ross record to view
      Then display the note that is set to pop-up for Bob

      Given library staff member set a user note for Bob Ross to display as a pop-up on Users app
      AND pop-up note displays 
      When s/he clicks Close
      Then pop-up note closes

      Given library staff member set a user note for Bob Ross to display as a pop-up on Users app
      AND pop-up note displays 
      When s/he deletes the pop-up
      Then pop-up note closes 
      AND note is deleted

      Given the library staff member clicked Delete on the notes pop-up on the Bob Ross user record
      When a staff member conducts a search for Bob Ross and clicks the Bob Ross user record again
      Then the notes pop-up does not display

      Given the library staff member closes the pop-up BUT does not delete on the Bob Ross user record
      When a staff member conducts a search for Bob Ross and clicks the Bob Ross user record
      Then the notes pop-up displays

      Given I have a note set to pop-up for Bob Ross user record
      When I edit record
      AND unselect Display note as a pop-up for Users app AND hit Save
      Then do not display the notes pop-up again

      IF the Bob Ross record has a note set to pop-up
      Then only display the pop-up when I click on Bob Ross result in the Results pane.

       

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Denys Bohdan Denys Bohdan
                Reporter:
                kgambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases