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

rero / sonar / 30979734691
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: rep-cache
DEFAULT BRANCH: master
Ran 05 Aug 2026 06:10AM UTC
Jobs 1
Files 287
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

05 Aug 2026 05:57AM UTC coverage: 94.689%. Remained the same
30979734691

push

github

Garfield-fr
feat(documents): add citation modal to document detail page

* Add a "Cite" button below the document image, opening a Bootstrap
  modal listing all supported citation styles (from GET
  /documents/citation-styles) and rendering the formatted citation
  for the selected style (GET /documents/<pid>/citation?style=<id>).
* Extract the modal's behavior into a standalone citation.js, loaded
  only on the document detail view, reading its config (API URLs,
  translated strings) from data-* attributes since static JS files
  are not processed by Jinja.
* Copy to clipboard writes both text/plain and text/html via
  ClipboardItem, so pasting into a rich text editor keeps the
  citation's formatting, with a writeText() fallback.
* Remove Bootstrap's focus outline/box-shadow on the citation style
  buttons and the copy button in _theme.scss.
* Add test coverage for the citation modal markup in test_detail.

Co-Authored-By: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>

7595 of 8021 relevant lines covered (94.69%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30979734691.1 05 Aug 2026 06:10AM UTC 287
94.69
GitHub Action Run
Source Files on build 30979734691
  • Tree
  • List 287
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30979734691
  • 8e56420c on github
  • Prev Build on staging (#30921952003)
  • Next Build on staging (#30982150384)
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