Loans (UXPROD-788)

[UXPROD-3550] Implement support for loans where item has been deleted Created: 09/Feb/22  Updated: 30/Nov/23

Status: Draft
Project: UX Product
Components: None
Affects versions: None
Fix versions: TBD
Parent: Loans

Type: New Feature Priority: P2
Reporter: Cheryl Malmborg Assignee: Cheryl Malmborg
Resolution: Unresolved Votes: 0
Labels: delete_record_functionality, volaris-candidate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: JPEG File Loan List.JPG     JPEG File details with removed item.JPG     JPEG File error.JPG     Microsoft Word export.csv     JPEG File item.JPG     JPEG File list with removed item.JPG    
Issue links:
Defines
defines UXPROD-3798 Inventory. Item deletion. 2nd iterati... Open
is defined by UIU-2530 Implement support for loans where the... Closed
is defined by FAT-1485 Сheck test cases for validity and rel... Closed
is defined by FAT-1503 Refinement UXPROD-3550 Closed
is defined by UIU-2527 Spike: Investigate possible solution ... Closed
is defined by UIU-2531 Implement support for loans without i... Draft
Duplicate
is duplicated by UIU-2492 Viewing user loans (that reference a ... Closed
Relates
relates to UIIN-2077 Delete item record with an associated... Closed
relates to UIIN-2136 Delete item record with an associated... Closed
relates to UIIN-2137 Delete item record with an associated... Closed
relates to UIIN-2138 Delete item record with an associated... Closed
relates to UIIN-2185 Delete item record with an associated... Closed
relates to UIIN-2187 Delete item record with an open deliv... Closed
relates to UIBULKED-112 SPIKE - determine possible ways of ha... In Refinement
relates to UIU-2492 Viewing user loans (that reference a ... Closed
Release: Not Scheduled
Epic Link: Loans
Front End Estimate: Large < 10 days
Front-End Confidence factor: Low
Back End Estimate: Out of scope
Development Team: Vega
PO Rank: 0
Rank: Cornell (Full Sum 2021): R1

 Description   

Current situation or problem: ** from P2 bug (linked below)

  1. Log into FOLIO
  2. Attempt to view loans for a user
  3. User has an Open loan that refers to an item that has been deleted
  4. See message (Something went Wrong) (error.JPG)

In scope

  1. Loan List page
  2. Loan Detail page
  3. Export to CSV

Out of scope

  1. Other parts of application

Use case(s)

Proposed solution/stories

Loan List page and Loan Detail page should loaded without error.JPG
For Loan List page that refers to an item that has been deleted

  • we should "hide" checkbox ( list with removed item.JPG )
  • for absent data we should use dash ( list with removed item.JPG )
  • all links from Action menu except Loan policy should be hide ( Loan List.JPG )

For Loan Detail page that refers to an item that has been deleted

  • for absent data we should use dash ( details with removed item.JPG )
  • all button should be disabled ( details with removed item.JPG )

Export to CSV

  • for absent data we should use empty space

Affects: Cornell, Middle Tennessee State University, MO State



 Comments   
Comment by Dmitriy Litvinenko [ 09/Feb/22 ]

Hello Cheryl Malmborg
We discuss that we need New Feature for resolve problem in https://folio-org.atlassian.net/browse/UIU-2492 ( https://folio-org.atlassian.net/browse/UIU-2492?focusedCommentId=93639&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel ).
DRAFT for New Feature was created.
Could you please review it and add necessary changes that i missed?
CC: Stephanie Buck, Taisiya Trunova, Alexander Kurash

Comment by Cheryl Malmborg [ 09/Feb/22 ]

Dmitriy LitvinenkoThank you for doing this. It looks good to me. I think it is the best that can be done for a situation that should not be allowed to happen.

Comment by Dmitriy Litvinenko [ 10/Feb/22 ]

Hello
Cheryl Malmborg, Brooks Travis
Example of report attached (export.csv). First line loan with removed item. Second line loan with item.
Example Loan List page and Loan Detail page with removed item attached. ("details with removed item.JPG" and "list with removed item.JPG" )
Example of API response. We don't have item object in response for loan with removed item. ( item.JPG )
CC: Stephanie Buck, Taisiya Trunova, Alexander Kurash

Comment by Dmitriy Litvinenko [ 10/Feb/22 ]

Hello
Cheryl Malmborg, Brooks Travis
We double check what we should to do with links from "Action menu" and how we understood consistency behavior will be hide them instead of disable them. Just for example when we change Item status to "Declared lost" we hide "Change due date" and "Declare lost"

Can we add some minor changes? For visualize changes i use red color.

Loan List page and Loan Detail page should loaded without error.JPG
For Loan List page that refers to an item that has been deleted

  • we should "hide" checkbox (list with removed item.JPG )
  • for absent data we should use dash ( list with removed item.JPG )
  • all links from Action menu except Loan policy should be hide ( Loan List.JPG )

For Loan Detail page that refers to an item that has been deleted

- for absent data we should use dash ( details with removed item.JPG )
- all button should be disabled ( details with removed item.JPG )

Export to CSV

  • for absent data we should use empty space

CC: Stephanie Buck, Taisiya Trunova, Alexander Kurash

Comment by Cheryl Malmborg [ 10/Feb/22 ]

Dmitriy Litvinenko That looks right.

Comment by Dmitriy Litvinenko [ 14/Feb/22 ]

Hello Cheryl Malmborg, Brooks Travis Thank you.

Changes that was discussed above was added.
Could you please create stories for this Feature?
CC: Stephanie Buck, Taisiya Trunova, Alexander Kurash, Pavel Spichonak, Stanislau Snapok

Comment by Brooks Travis [ 14/Feb/22 ]

Cheryl Malmborg Should we provide some kind of active indication that the referenced item record is not available, rather than just "-" or an empty field?

Comment by Cheryl Malmborg [ 14/Feb/22 ]

Brooks Travis I wondered about that too and could not decide on appropriate concise wording.
Do you think 'Deleted' or 'Unavailable' would be useful? Should it be displayed in all the item-related columns?

Comment by Brooks Travis [ 14/Feb/22 ]

I would go with "unavailable".

Comment by Dmitriy Litvinenko [ 15/Feb/22 ]

Draft estimate (because several stories are absent):
Loan List - 3sp (development + tests + review by developers)
Loan Detail - 2sp (development + tests + review by developers)
Export to CSV - 1sp (development + tests + review by developers)

Generated at Fri Feb 09 00:32:54 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.