CartoDB / carto-react

CARTO for React packages
https://docs.carto.com/react/
MIT License
38 stars 16 forks source link

[react-redux, react-widgets] Add 'GeocoderResult' types, add .passive property #830

Closed donmccurdy closed 10 months ago

donmccurdy commented 10 months ago

Description

Shortcut: https://app.shortcut.com/cartoteam/story/378094/search-location [sc-378094]

We need the option of setting the geocoder result state without moving the map viewport. This PR creates type definitions for the GeocoderResult interface, and adds a new .passive property used to indicate when a result must not change the viewport.

Type of change

shortcut-integration[bot] commented 10 months ago

This pull request has been linked to Shortcut Story #378094: Search location.

github-actions[bot] commented 10 months ago

Pull Request Test Coverage Report for Build 7672238890


Totals Coverage Status
Change from base Build 7655004471: 0.0%
Covered Lines: 2613
Relevant Lines: 3450

💛 - Coveralls
github-actions[bot] commented 10 months ago

Visit the preview URL for this PR (updated for commit c532a7c):

https://cartodb-fb-storybook-react-dev--pr830-donmccurdy-types-c19j66es.web.app

(expires Fri, 02 Feb 2024 19:04:36 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 517cc4d31d7e09cf277774e034094b67c301cd4c