kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

[chore] Add several vis state mergers combineConfigs and improve TS

Open igorDykhta opened this issue 5 months ago • 2 comments

  • Adds combineConfigs to some vis state saved configs that are non-array complex objects:

    1. interactionConfig
    2. layerBlending
    3. overlayBlending
    4. editor

    Each of these has inline comments (and unit tests) explaining the decisions made on how to combine values in different situations. For example, interactionConfig.brush.size gets aggregated into keeping the single largest value among all brush sizes.

  • Improves and fixes some TS defs.

  • Adds jest unit tests for newly added combineConfigs.

igorDykhta avatar Sep 09 '24 23:09 igorDykhta