• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ThePalaceProject / web-patron / 28897271703
89%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 08:43PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2026 08:42PM UTC coverage: 88.501%. Remained the same
28897271703

push

github

web-flow
Show library card sign up link when configured for library (PP-4611) (#158)

## Description

<!--- Describe your changes -->
<img width="346" height="358" alt="image"
src="https://github.com/user-attachments/assets/315748ed-610d-47a8-a2f2-e0d5e2204d72"
/>

An online registration link now displays on the sign-in page when
offered by a library. When clicked, it opens the user in a new tab at
the URL that has been configured for that library in the Palace Manager.

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
The Palace iOS and Android apps display a "Sign up for a library card"
link on a library's sign-in screen whenever a Patron Registration URL
has been configured for that library in the Palace Manager (i.e. when a
link with `rel="register"` is found within a library's authentication
document). This change brings CPW further into parity with the mobile
apps.

At present, the Virtual Library Card (VLC) application is the most
common -- and currently the only -- registration system behind this URL.
The presence of this link should purely be driven by whether a Patron
Registration URL is configured for the library, not by the registration
system in use. In other words, the authentication method should not
determine whether the link renders or not, so the new `SignUpLink`
component has been added to the base `LoginWrapper`.

[Jira PP-4611](https://ebce-lyrasis.atlassian.net/browse/PP-4611)

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->
- Unit tests ensure link only appears when present in a library's
authentication document
- Manually tested in Firefox, Chrome, and Safari

## Checklist:

<!--- Go over all the following points, and put an `x` in al... (continued)

225 of 260 branches covered (86.54%)

Branch coverage included in aggregate %.

383 of 427 relevant lines covered (89.7%)

29.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28897271703.1 07 Jul 2026 08:43PM UTC 16
88.5
GitHub Action Run
Source Files on build 28897271703
  • Tree
  • List 16
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b449220b on github
  • Prev Build on main (#28799440663)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc