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

CBIIT / crdc-ctdc-ui / 30482284036

29 Jul 2026 06:57PM UTC coverage: 7.12% (-0.001%) from 7.121%
30482284036

push

github

adamdaventryGov
Use GraphQL for page-specific stats

Replace Redux-based dashboard stat sourcing with an Apollo GraphQL query for study-scoped stats. The global stats query now accepts a study_short_name variable and passes it to searchParticipants. pageSpecificStatsController was refactored to PageSpecificStatsController: it uses useQuery(STATS_QUERY) with a studyShortName prop (mapped to study_short_name array), adds loading/error handling, and passes the returned searchParticipants data to StatsView. studyDetailView now imports the page-specific controller and forwards study_short_name as studyShortName.

131 of 3175 branches covered (4.13%)

Branch coverage included in aggregate %.

0 of 11 new or added lines in 1 file covered. (0.0%)

403 of 4325 relevant lines covered (9.32%)

1.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/Stats/pageSpecificStatsController.js


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc