sul-dlss / SearchWorks

SearchWorks (Stanford University Libraries)
http://searchworks.stanford.edu
Other
48 stars 10 forks source link

Using Univ. ID instead of “Library ID” in sul-requests and My Account #3773

Open dbranchini opened 5 months ago

dbranchini commented 5 months ago

Context

See SearchWorks - Library ID UX document for problem statement, additional information and more context.

Solution

-- https://mylibrary.stanford.edu/login -- https://requests.stanford.edu/pages/new?item_id=3440309&origin=SAL3&origin_location=SAL3-STACKS - Select option - "I don't have a SUNet ID."

Notes

saseestone commented 5 months ago

We're 99% sure that 9-digits is correct. Let's move forward. If we get a response from ID card office that 9-digit isn't correct, we can change the validator accordingly.

saseestone commented 5 months ago

Reviewing numbers input in the FOLIO "External System ID", it appears that we have user records with 8, 9 and 10 digits.

We could:

The purpose behind number validation from my POV was to:

Chris may remember other reasons.

saseestone commented 5 months ago

@dbranchini I don't think this discrepancy in the number of digits changes anything in design or instructions for the user. The number printed on the card (and that they will be instructed to use by Library staff) will be the number stored in the FOLIO External System ID field.

saseestone commented 5 months ago

One more thought: I don't know why we're not just validating on the FOLIO field in real time, and then displaying an error if we can't find a match. I suspect we weren't doing that with Symphony because of performance issues, but it's just a guess (and vague memory)

dbranchini commented 5 months ago

You're right, @saseestone , the number of digits doesn't change the design or the label, instructions, and/or validation error messaging. If it's possible to validate against the FOLIO field in real-time, that sounds like a better solution to me.

saseestone commented 4 months ago

Noting here that we need to coordinate with Lane Library & the SUL Privileges office before this change is rolled to Production.

Lane needs to know because they are using our Requests code in Lane Search. Privileges needs to know because they need to update instructional webpages for users, staff workflows, and deploy a change in the card type they use to print SUL Library cards.

dbranchini commented 4 months ago

Post discussion with @saseestone I'm summarizing the path forward on this work. The stakeholders are not ready for this yet. @cbeer suggested that we leave the backend wired up to accept University ID and continue to accept Library ID (last 10 digits of the barcode). So @mjgiarlo or another developer will change the backend logic to handle accepting both. The UI will revert back to the Library ID label though because no one has the new ID cards yet. For both requests and my account, we should use the following language:

Field label: Library ID Field hint: The last 10 digits above the barcode on your Library ID card.

For requests, the hint will have the above text plus, "It's optional, but may help you track your request in My Library Account."