This PR fixes a few bugs with the `CategoricalDeckGLContainer` and the filter box:
1. When the filter box dropdown is not a multi-select (like the time grain selector, where only a single value can be selected), `selectedValues[key]` is not an array, like the code currently assumes. I added logic to handle this. 2. When running the time slider, the `payload.data` was being filtered **inplace** for each time step, becoming empty after the first one. I changed the logic so we create a copy of the payload and pass that to `getLayer` instead. 3. The categories on the legend are computed from the props, and were being reset at every interaction. I changed the logic so `state.categories` is preserved when props change. Not sure if this is the best way to do this. (@kristw, @xtinec?) [ Full content available at: https://github.com/apache/incubator-superset/pull/6038 ] This message was relayed via gitbox.apache.org for [email protected]
