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

prabhuignoto / react-chrono / #88
65%

Build:
DEFAULT BRANCH: master
Ran 05 Jun 2025 02:28PM UTC
Jobs 1
Files 127
Run time 6min
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

05 Jun 2025 02:28PM UTC coverage: 89.791%. Remained the same
#88

push

web-flow
Optimize hooks for performance and stability (#543)

* Optimize hooks for performance and stability

- Refactored useWindowSize to improve resize handling and added throttling options.
- Enhanced useBackground with pre-compiled regex for hex color validation.
- Improved useCardSize by caching DOM measurements and optimizing resize observer.
- Optimized useEscapeKey and useOutsideClick for better event handling and performance.
- Enhanced useMediaState with stable callback references and batch state updates.
- Improved useSlideshowProgress with efficient timeout management.
- Optimized useTimelineMedia for better intersection observer handling.
- Enhanced useTimelineMode with optimized mode mapping and callback references.
- Improved useTimelineNavigation with memoized item lookup and optimized scrolling.
- Enhanced useTimelineScroll with throttled scroll end detection.
- Optimized useTimelineSearch with better caching and performance improvements.
- Improved useUIState with memoized setState to prevent unnecessary re-renders.

* replaced with new pnpm.lock file

* fix: update scrollTimeoutRef initialization to allow null value

* refactor: remove unused parameters from calculateTextContentSize function

* feat: implement standardized z-index system for timeline components

* test: update snapshots for timeline components to reflect class name changes

* fix: update @babel/runtime and semver versions in package.json and pnpm-lock.yaml

* fix: downgrade semver version to 7.5.4 in pnpm-lock.yaml

1296 of 1559 branches covered (83.13%)

Branch coverage included in aggregate %.

405 of 452 new or added lines in 27 files covered. (89.6%)

71 existing lines in 12 files now uncovered.

7869 of 8648 relevant lines covered (90.99%)

7.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
88.2
0.0% src/hooks/useTimelineSearch.ts
7
88.42
0.0% src/hooks/useCardSize.ts
9
74.58
0.0% src/hooks/useWindowSize.ts
27
80.46
0.0% src/components/timeline-elements/timeline-card-content/timeline-card-content.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.0
0.0% src/components/timeline-elements/timeline-outline/timeline-outline.styles.ts
1
79.1
0.0% src/components/timeline/timeline.style.ts
1
89.96
0.0% src/components/timeline-vertical/timeline-vertical-item.tsx
2
74.58
0.0% src/hooks/useWindowSize.ts
4
76.4
0.0% src/components/timeline-elements/timeline-card/timeline-horizontal-card.styles.ts
6
81.63
0.0% src/components/timeline-elements/timeline-control/timeline-control.styles.ts
6
72.86
0.0% src/components/timeline-vertical/timeline-vertical.styles.ts
7
86.76
0.0% src/components/timeline-elements/timeline-card-media/timeline-card-media.styles.ts
7
89.19
0.0% src/components/timeline/timeline.tsx
8
80.46
0.0% src/components/timeline-elements/timeline-card-content/timeline-card-content.tsx
11
88.2
0.0% src/hooks/useTimelineSearch.ts
17
77.62
0.0% src/components/timeline-elements/timeline-card-content/timeline-card-content.styles.ts
Jobs
ID Job ID Ran Files Coverage
1 #88.1 05 Jun 2025 02:28PM UTC 127
89.79
Source Files on build #88
  • Tree
  • List 127
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 94f90b40 on github
  • Prev Build on master
  • Next Build on master
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