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

zooniverse / front-end-monorepo / 13462745198
77%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2025 06:19PM UTC
Jobs 1
Files 1438
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

21 Feb 2025 06:15PM UTC coverage: 75.491% (-0.02%) from 75.515%
13462745198

push

github

web-flow
refactor: image loading handlers (#6581)

* refactor: image loading handlers

Some changes to clean up image loading code, and speed up subject image loading.
- lib-classifier: remove `useEffect` from `useSubjectImage`, so that image loading code runs on image load, rather than waiting for the next React render cycle.
- lib-react-components: when there's no delay for `useProgressiveImage`, run the `onLoad` handler immediately, rather than waiting for the next event cycle.
- refactor `onLoad` event handlers to use `load` events, rather than `Image` objects. This brings the event handlers in line with the DOM standard.

* add mock load events to classifier tests

* fix: add frameIndex to onSubjectReady callback

* add frame index to ImageAndText viewer

10850 of 16567 branches covered (65.49%)

Branch coverage included in aggregate %.

29 of 32 new or added lines in 6 files covered. (90.63%)

8 existing lines in 2 files now uncovered.

16951 of 20260 relevant lines covered (83.67%)

398.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
75.0
-0.61% packages/lib-react-components/src/hooks/useProgressiveImage.js

Uncovered Existing Lines

Lines Coverage ∆ File
4
66.67
-7.84% packages/lib-classifier/src/components/Classifier/components/SubjectViewer/components/ScatterPlotViewer/components/ScatterPlot/components/Selections/DeleteButton.js
4
54.11
-3.03% packages/lib-classifier/src/components/Classifier/components/SubjectViewer/components/ScatterPlotViewer/components/ScatterPlot/components/Selections/Selections.js
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/160797801 13462745198.1 21 Feb 2025 06:19PM UTC 1438
75.49
GitHub Action Run
Source Files on build 13462745198
  • Tree
  • List 1438
  • Changed 46
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13462745198
  • 69006299 on github
  • Prev Build on master (#13440953185)
  • Next Build on master (#13526669036)
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