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

zooniverse / front-end-monorepo / 14094092688
77%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2025 09:50PM UTC
Jobs 1
Files 1448
Run time 2min
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

26 Mar 2025 09:46PM UTC coverage: 75.534% (-0.03%) from 75.566%
14094092688

push

github

web-flow
refactor(lib-classifier): restore image context menu for subjects (#6787)

* refactor(lib-classifier): restore image context menu for subjects

- convert `ZoomEventLayer` to an SVG group, so that it wraps subject images rather than obscuring them.
- prevent default pointer down events on images, so that we can drag them without triggering the browser's built-in image drag-and-drop.
- cancel pointer events when we're drawing on scatter plots, so that marking a data range doesn't also move the underlying plot.

* allow VisXZoom to have children

* make images focusable

* add tests

* convert `VisXZoom` children to a render prop

* ignore the mouse wheel in drawing mode

* Remove passive wheel events and fix enzyme tests

* add a disabled prop to ZoomEventLayer

* ZoomEventLayer: improve the autofocus handler

* whitespace

* tidy up pointer event cancelling

* ignore clicks to close transcription popups

* update a couple of DOM attribute tests

* allow subject image to fire keyboard events

* remove event handlers when ZoomEventLayer is disabled

* make chart backgrounds focusable

* remove unused declarations

---------

Co-authored-by: Mark Bouslog <mcbouslog@gmail.com>

11005 of 16802 branches covered (65.5%)

Branch coverage included in aggregate %.

26 of 28 new or added lines in 8 files covered. (92.86%)

11 existing lines in 4 files now uncovered.

17130 of 20446 relevant lines covered (83.78%)

401.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
53.65
-3.49% packages/lib-classifier/src/components/Classifier/components/SubjectViewer/components/ScatterPlotViewer/components/ScatterPlot/components/Selections/Selections.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.73
0.25% packages/lib-classifier/src/components/Classifier/components/SubjectViewer/components/SVGComponents/VisXZoom/VisXZoom.js
2
90.2
-5.88% packages/lib-classifier/src/plugins/tasks/experimental/textFromSubject/components/TextFromSubjectContainer.js
4
66.67
-7.84% packages/lib-classifier/src/components/Classifier/components/SubjectViewer/components/ScatterPlotViewer/components/ScatterPlot/components/Selections/DeleteButton.js
4
53.65
-3.49% 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/162603688 14094092688.1 26 Mar 2025 09:49PM UTC 1448
75.53
GitHub Action Run
Source Files on build 14094092688
  • Tree
  • List 1448
  • Changed 13
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14094092688
  • 75b845de on github
  • Prev Build on master (#14092165964)
  • Next Build on master (#14110064747)
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