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

ppker / kepler.gl / 25210316323

01 May 2026 06:40AM UTC coverage: 59.129% (-0.05%) from 59.174%
25210316323

push

github

web-flow
feat: Streamlined rectangle drag-to-filter for map layers (#3402)

* feat: streamlined rectangle selection for filtering map layers

Improve the "Draw on Map" rectangle selection UX with a smoother
click-and-drag workflow that automatically filters all visible layers.

- Default to "Draw Rectangle" mode when toggling on "Draw on Map"
- Enable drag-to-draw for rectangles (click-hold-drag-release)
- Auto-apply polygon filter to all visible layers on rectangle completion
- Switch to edit/move mode after drawing so users can reposition
- Update tooltip to reflect new drag interaction
- Preserve original click-to-draw behavior for polygon drawing

Made-with: Cursor

* feat: support both click-move-click and drag-to-draw for rectangle selection

Add DrawRectangleModeExtended that removes the mutually exclusive
dragToDraw guards so both gestures work: existing users can still
click-move-click while new users can click-drag-release.

Made-with: Cursor

* feat: enhance polygon filter functionality with layer visibility support

Updated the setPolygonFilterAllLayersUpdater function to allow filtering based on visible layer IDs. This change improves the flexibility of the polygon filter by enabling it to utilize a provided list of visible layers, falling back to the existing visible layers in the state if the list is not available.

- Changed variable declaration from 'let' to 'const' for newState.
- Introduced a check for visibleLayerIds to streamline layer filtering.

6926 of 14072 branches covered (49.22%)

Branch coverage included in aggregate %.

6 of 27 new or added lines in 6 files covered. (22.22%)

166 existing lines in 6 files now uncovered.

14279 of 21790 relevant lines covered (65.53%)

79.95 hits per line

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

67.11
/src/components/src/plot-container.tsx


Source Not Available

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