keplergl / keplergl/kepler.gl

Allow users to select multiple datasets per filter

Open
#768 7 comments 5 reactions 1 assignee Claimed by @macrigiuseppe View on GitHub
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

The current UI only allows users to select one dataset per filter.

### Feature
The new filter UI should all users to define a filter using multiple combinations of dataset/property
Modify the UI to enable multiple datasets per each filter.
The user will be able to select the first filter and data source (dataset/column).

The fist selected property will determine the type of filter, .e.g integer, and drive the selection of extra data source and properties.
When adding new data sources only properties with the same type as the filter, e.g. integer, will be listed as possible options.

For each data source added to a filter,
- kepler will store the dataset id in dataId array and property index in fieldIdx;
- each field (property) part of the combination dataset/property will contain all filter values according to its own dataset.

### Mock up
Screen Shot 2019-10-08 at 11 48 43 AM

Related
#146

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.