Show My Account and Sign In without extra click and Show logged in user's name under Sign Out
Hello,
The California State University (CSU) system has developed custom angular js to Show My Account and Sign In without extra click and Show logged in user's name under Sign Out as the OTB functionality for the new Primo UI, forcing one to hover over the "Guest" label seems inadequate from a usability perspective.
We would like to know if ExLibris can build-in this angular js functionality into the main source code for the new Primo UI, so the current, inadequate OTB functionality for signing into My Account can be addressed.
Here is the angular js code for the CSU:
Show My Account and Sign In without extra click
https://github.com/dswalker/csu-central-package/blob/master/CENTRAL_PACKAGE/js/prmUserAreaAfter.js
Show logged in user's name under Sign Out
https://github.com/dswalker/csu-central-package/blob/master/CENTRAL_PACKAGE/js/prmAuthenticationAfter.js
Thank you,
Ryan Edwards
Digital Access and Systems Librarian
Information Systems
Getty Research Institute
1200 Getty Center Drive, Suite 1100
Los Angeles, CA 90049-1688
reedwards@getty.edu
310.440.7398
This was completed as part of the redesign of the user area in new interface
-
Naomi commented
It's a shame you left the language selection inside the menu. Guests who open Primo not in their mother tongue, would't understand how to change the language.
-
Ryan Edwards commented
Hello,
I was able to get the custom sign-in functionality in the new Primo UI working in IE11 by replacing the backtick characters with apostrophes and putting the "$templateCache.put" code on one line (without line breaks). You can see this in Notepad++, if you turn off Word Wrap.
-Ryan
Ryan Edwards
Digital Access and Systems Librarian
Information Systems
Getty Research Institute
1200 Getty Center Drive, Suite 1100
Los Angeles, CA 90049-1688
reedwards@getty.edu
310.440.7398 -
Derek Boyle commented
Hi
This is a great feature. I added the 'Show My Account and Sign In without extra click' code to our Sandbox and this worked well. However it does not work on IE 11. Is there any tweaks that need to be made for this to work on IE 11?
When I added the 'Show logged in user's name under Sign Out' code I now get an error screen when I login. We use OpenAthens/SAML to authenticate so I wonder if there are any tweaks that need to be made to the code?
I note in the code "// Certain characters don't go through all Identity Providers." so is this possibly related
Thanks
Derek
-
Keren Stiles commented
I think this may be coming in the August 2018 release.
-
Bonny Woods commented
Hey, thanks so much for this! Although ExL is going to add this to their dev list, since there's no timeline for it, this code works in our favor!