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

CenterForOpenScience / ember-osf-web / 13570477279
68%

Build:
DEFAULT BRANCH: develop
Ran 27 Feb 2025 04:06PM UTC
Jobs 1
Files 1472
Run time 3min
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

27 Feb 2025 03:53PM UTC coverage: 66.602% (-0.2%) from 66.825%
13570477279

push

github

web-flow
[ENG-5004][ENG-6968][ENG-6953][ENG-6954][ENG-6955] send usage metrics to datacite (#2490)

* send views and downloads to datacite

- add `@datacite/datacite-tracker` dependency
- track pageviews with datacite (when the resource has a doi)
- track preprint downloads with datacite

* Update analytics service

* Remove dcut dependency

* Call datacite tracker ourselves

* Add comment for future reference

* Handle case where there are no identifiers

* tidy

* tracking preprint and file downloads

(pairing with @futa-ikeda)

* Fix test

* Add unit test for datacite usage

* Fix file-version test

* test update ci.yml

* Address Todos

* Revert some CI.yml changes

* Move new modifier to be accessible to engines

* Use GHA cache@v4

* Avoid any new datacite code

* Restore download tracking

* Restore view tracking

* Add try-catch in view tracker

* Skip sending to datacite in tests

* Comment out testing conditionals; Try adding some returns

* Skip datacite stuff in tests

* Update imports

* fix: add itemGuid to preprint detail route

* Update track-download modifier event listener (#2507)

* Update track-download modifier event listener

* Allow non-click events, just in case

* fix: add dcut tracking to folder-download button

* fix: add dcut tracking to 'download all' button

* fix: better event-listener cleanup in track-download modifier

* fix: add target='_blank' to download links

* fix: File vs FileModel?

---------

Co-authored-by: futa-ikeda <futa.ikeda@gmail.com>
Co-authored-by: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com>
Co-authored-by: Fitz Elliott <fitz@cos.io>

3110 of 5103 branches covered (60.94%)

Branch coverage included in aggregate %.

18 of 52 new or added lines in 5 files covered. (34.62%)

7914 of 11449 relevant lines covered (69.12%)

188.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
47.62
-2.38% app/models/preprint.ts
33
60.35
-22.47% app/services/analytics.ts
Jobs
ID Job ID Ran Files Coverage
1 13570477279.1 27 Feb 2025 04:06PM UTC 1472
66.6
GitHub Action Run
Source Files on build 13570477279
  • Tree
  • List 1472
  • Changed 36
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1cdfec91 on github
  • Prev Build on develop (#13504587171)
  • Next Build on develop (#13571206788)
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

© 2025 Coveralls, Inc