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

ThePalaceProject / web-patron / 33566144497
27%

Build:
DEFAULT BRANCH: main
Ran 01 Sep 2026 10:26PM UTC
Jobs 1
Files 93
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

01 Sep 2026 10:24PM UTC coverage: 30.142% (-0.1%) from 30.268%
33566144497

push

github

web-flow
Pinned library logo backfill and cross-tab sync (PP-3116) (#192)

## Description

Completes the hidden pinned-library machinery. No visible UI changes.

- Pinning a library that has no stored logo reads the logo from the
library's authentication document in the browser and backfills the
stored entry.
- Syncing pinned entries against the server library list also fills
missing logos; a stored logo is kept as is.
- A storage event listener keeps the pinned list in sync across browser
tabs.

> [!NOTE]
> This PR is stacked atop #191, which is, in turn, stacked on #190. This
PR should not be merged until both of those have landed.

## Motivation and Context

Libraries pinned from the plain library list carry no logo, but their
authentication document does. The OPDS spec guarantees that document is
served, and fetching it from the browser keeps the server out of logo
delivery. The cross-tab listener stops a pin made in one tab from being
lost to a write in another.

[Jira PP-3116]

## How Has This Been Tested?

- Unit tests cover the logo backfill (fetch goes to the auth document
host, the URL is never stored, no fetch when a logo exists, failure
keeps the pin) and the sync logo rules.
- All checks pass locally and in CI.

## Checklist:

- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.

353 of 1503 branches covered (23.49%)

Branch coverage included in aggregate %.

0 of 7 new or added lines in 1 file covered. (0.0%)

730 of 2090 relevant lines covered (34.93%)

9.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
0.0
0.0% src/dataflow/fetchLibraries.ts
Jobs
ID Job ID Ran Files Coverage
1 33566144497.1 01 Sep 2026 10:26PM UTC 93
30.14
GitHub Action Run
Source Files on build 33566144497
  • Tree
  • List 93
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ff66fb07 on github
  • Prev Build on main (#33565574073)
  • Next Build on main (#33779422236)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc