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

zooniverse / front-end-monorepo / 11821302496
77%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2024 04:19PM UTC
Jobs 1
Files 1435
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

13 Nov 2024 04:15PM UTC coverage: 77.576% (+0.005%) from 77.571%
11821302496

push

github

web-flow
fix(app-project): data-fetching for assigned workflow level (#6219)

* fix(app-project): data-fetching for assigned workflow level

Fix missing dependency errors in the `useAssignedLevel` hook by using `useSWR` to fetch and cache the assigned workflow level. SWR also adds revalidation for cases where I might classify in the same tab over several days or weeks.

Also fixes the workflow assignment tests in `ClassifyPageContainer` so that they test against the correct levels.

* Check workflows from page props for faster performance

* The default assigned workflow level can be higher than 1

* remove unused imports

* avoid returning NaN for the workflow level

* don't refetch unless assignedWorkflowID changes

---------

Co-authored-by: Delilah <23665803+goplayoutside3@users.noreply.github.com>

11601 of 17173 branches covered (67.55%)

Branch coverage included in aggregate %.

10 of 18 new or added lines in 3 files covered. (55.56%)

1 existing line in 1 file now uncovered.

16892 of 19556 relevant lines covered (86.38%)

403.39 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/156044472 11821302496.1 13 Nov 2024 04:19PM UTC 0
77.58
GitHub Action Run
Source Files on build 11821302496
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11821302496
  • 2d8c9293 on github
  • Prev Build on master (#11820916932)
  • Next Build on master (#11827796657)
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