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

zooniverse / front-end-monorepo / 16531866204
77%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2025 09:27PM UTC
Jobs 1
Files 1484
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

25 Jul 2025 09:23PM UTC coverage: 77.439% (-0.5%) from 77.896%
16531866204

push

github

web-flow
lib-react-components: Add FavoritesIconButton component and useUserCollections hook (#6958)

* Add initial FavoritesIconButton component

* Add usePanoptesAuthToken and useUserCollections

* Refactor SubjectTalkPage with connector and FavoritesIconButton

* Add FavoritesIconButtonContainer with useUserCollections

* Add addSubjects and removeSubjects mutations

* Add create favorite

* Refactor addSubjectsToCollection with options arg

* Add FavoritesIconButton tests

* Refactor props passed from SubjectTalkPageConnector to FavoritesIconButtonContainer

* Add comment for refactoring with subjects that include favorite boolean

* Add documentation for usePanoptesAuthToken and useUserCollections hooks

* Refactor collections updates with mutate

* Update FavoritesIconButton README

* Add FavoritesIconButton to CHANGELOG

* Remove unused SubjectTalkPageConnector export

* Refactor SubjectTalkPageConnector useStores

* Update SubjectTalkViewer with optional chaining

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

* Refactor FavoritesIconButton with useEffect per checked property

* Remove mutate from FavoritesIconButtonContainer

* use swr mutate to modify icon checked or not-checked (#6975)

---------

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

11348 of 17140 branches covered (66.21%)

Branch coverage included in aggregate %.

63 of 137 new or added lines in 13 files covered. (45.99%)

17570 of 20203 relevant lines covered (86.97%)

398.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.0
packages/lib-react-components/src/FavoritesIconButton/FavoritesIconButton.js
9
11.54
packages/lib-react-components/src/hooks/useUserCollections.js
10
8.0
packages/lib-react-components/src/helpers/collections/removeSubjectsFromCollection.js
10
36.07
packages/lib-react-components/src/hooks/usePanoptesAuthToken.js
12
7.84
packages/lib-react-components/src/helpers/collections/addSubjectsToCollection.js
32
10.96
packages/lib-react-components/src/FavoritesIconButton/FavoritesIconButtonContainer.js
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/169044463 16531866204.1 25 Jul 2025 09:27PM UTC 1484
77.44
GitHub Action Run
Source Files on build 16531866204
  • Tree
  • List 1484
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16531866204
  • 80152667 on github
  • Prev Build on master (#16348729397)
  • Next Build on master (#16571890085)
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