Modify Loans Section of User Details

Description

Purpose: To modify the "Current loans" section of user details. The plan is not to display actual loan records here because there isn't enough room to display anything meaningful. Instead, we'll display some statistical data and require click-through to view the actual records). We'll start with some simple stats and may expand later on to include more interesting numbers and/or charts.

Scenarios:

  1. Scenario

    • Given the "Current loans" section of User Details

    • When displayed

    • Then the label should read "Loans"

  2. Scenario

    • Given the "Loans" section of User Details

    • When displayed

    • Then the following statistics should display:

      • Open loans - Number of open loans. Should be a link to the open loans tab of the loans page (the page currently accessed by clicking "View full history" button)

      • Closed loans - Number of closed loans. Should be a link to the closed loans tab of the loans page (the page currently accessed by clicking "View full history" button - closed loans tab isn't yet implemented, so you can just link to the current loans tab)

  3. Scenario

    • Given the "View full history" button in the "Loans" section of User Details

    • When displayed

    • Then the button should be labelled "View loans"

Environment

None

Potential Workaround

None

is cloned by

Checklist

hide

TestRail: Results

Activity

Show:

Charlotte Whitt August 3, 2017 at 11:54 AM
Edited

Manually tested in FOLIO test http://folio-testing.aws.indexdata.com/ version @folio/users 2.8.100433, using Chrome

Scenario 1 - all good
Scenario 2 - all good as spec'ed
Scenario 3 - all good

Observations:
Scenario 2:

  • If the link is only one loan, then the link probably should say: "1 Open loan", and not "1 Open loans". And the same goes for "1 Closed loan"

  • When clicking on the link e.g. "2 Open loans", and then go to this page, then this is titled: "Loans". It would be better navigation information with the exact headline: "Open loans"

  • When clicking on the link e.g. "2 Closed loans", and then go to this page, then this is titled: "Loans". It would be better navigation information with the exact headline: "Closed loans"

, and I'll close the issue as done, and my observations can later be incorporated in the above mentioned guidance from UX.

Zak Burke July 25, 2017 at 4:51 PM

OK, changed the buttons to links. I went with buttons originally because our code-lint tool spat out the error, "Links must not point to "#". Use a more descriptive href or use a button instead." though I agree the buttons don't look great here. Guidance from UX would be great!

Cate Boerema July 24, 2017 at 10:45 AM

This looks good, , except instead of "Closed loans" in the Loans section, it says "Past loans". Can we change that? Also, can we change the links to current and past loans to actual links instead of buttons. We are going to need UX to come in and advise on styling here for sure, but until they do that, I have a feeling that links would look a lot better than the current buttons. Thanks!

Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 9, 2017 at 3:45 PM
Updated August 3, 2017 at 12:26 PM
Resolved August 3, 2017 at 11:55 AM
TestRail: Cases
TestRail: Runs