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

visgl / deck.gl / 24060053095
82%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2026 01:48AM UTC
Jobs 1
Files 565
Run time 1min
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

07 Apr 2026 01:41AM UTC coverage: 81.435% (+1.1%) from 80.297%
24060053095

push

github

web-flow
feat(widgets): Add controlled mode and state callbacks (#9973)

* feat(widgets): Add controlled mode and state callbacks to widgets

Implement controlled/uncontrolled component pattern for 12 widgets (ThemeWidget, FullscreenWidget, TimelineWidget, ZoomWidget, CompassWidget, GimbalWidget, GeocoderWidget, ResetViewWidget, ViewSelectorWidget, SplitterWidget, StatsWidget, LoadingWidget). Add state props, getter methods, and callbacks. Update widget overview documentation with controlled/uncontrolled mode explanation.

Closes #9964

Co-Authored-By: Claude (global.anthropic.claude-haiku-4-5-20251001-v1:0) <noreply@anthropic.com>

* fix(widgets): Address PR review feedback

- Remove redundant _playing assignments in timeline-widget start()/stop()
- Remove redundant updateHTML() calls after super.setProps() in multiple widgets
- Fix IconMenu to support controlled mode via selectedItem prop

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(widgets): Address PR review feedback on callback naming

- Rename onCompassReset -> onReset (CompassWidget)
- Rename onGimbalReset -> onReset (GimbalWidget)
- Rename defaultIsExpanded -> initialExpanded (StatsWidget, aligns with initial* convention)
- Rename collapsed/onCollapsedChange -> expanded/onExpandedChange (StatsWidget, positive flag)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(widgets): Fix Timeline sync and controlled mode guards in TimelineWidget

- play() now respects controlled time mode by guarding internal state update
- tick() now syncs Timeline object in uncontrolled mode
- setProps() now syncs Timeline object when controlled time prop changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(widgets): Fix Timeline sync and controlled mode guards in TimelineWidget

- Fix pseudo-fullscreen path in FullscreenWidget not updating state/UI
  (no fullscreenchange event fires, so manually sync state and re-render)
- Fix controlled playing mode infinite timer loop in T... (continued)

3171 of 3773 branches covered (84.04%)

Branch coverage included in aggregate %.

75 of 103 new or added lines in 10 files covered. (72.82%)

3 existing lines in 3 files now uncovered.

14484 of 17907 relevant lines covered (80.88%)

26623.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
79.63
78.18% modules/widgets/src/timeline-widget.tsx
6
75.81
73.81% modules/widgets/src/theme-widget.tsx
4
26.19
23.49% modules/widgets/src/compass-widget.tsx
4
27.19
24.42% modules/widgets/src/stats-widget.tsx
2
60.47
23.62% modules/widgets/src/fullscreen-widget.tsx
2
65.85
63.35% modules/widgets/src/zoom-widget.tsx

Coverage Regressions

Lines Coverage ∆ File
1
26.19
23.49% modules/widgets/src/compass-widget.tsx
1
60.47
23.62% modules/widgets/src/fullscreen-widget.tsx
1
27.19
24.42% modules/widgets/src/stats-widget.tsx
Jobs
ID Job ID Ran Files Coverage
1 24060053095.1 07 Apr 2026 01:48AM UTC 565
81.43
GitHub Action Run
Source Files on build 24060053095
  • Tree
  • List 565
  • Changed 11
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24060053095
  • a4438b72 on github
  • Prev Build on master (#24054167903)
  • Next Build on master (#24061887031)
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