jaylindquist commented on issue #5269: Filters as a native dashboard (v2) 
construct
URL: 
https://github.com/apache/incubator-superset/issues/5269#issuecomment-445968034
 
 
   Due to our changing priorities, we have been unable to complete the 
dashboard level filters feature. You can find our in progress work on my 
feature branch 
(https://github.com/jaylindquist/incubator-superset/tree/feature/native-filter) 
and I can create a PR if you are interested in keeping what we've been able to 
start.
   
   Completed tasks:
   * Add a drag-and-drop filters container at the top of dashboards
   * Add filters to the filter container (filters are added, but configuration 
is hard coded)
   * Remove filters from container
   * Remove filters container from dashboard
   * Update Dashboard short links to create `preselect_filters` parameter 
without chart IDs. URL short links are now generated as `{ "column1": ["val1"], 
"column2": ["val2", "val3"] }`
   * Update `preselect_filters` parameter to support filters without chart IDs 
while being backwards compatible. `preselect_filters` now supports the above 
format as well as the existing format `{ "chartId1": { "column1": ["val1"]}, 
"chartId2": { "column2": ["val2", "val3"]}}`
   
   The following shows adding filters to an existing dashboard:
   
![superset-filters](https://user-images.githubusercontent.com/222699/49760761-e1df6300-fc8a-11e8-9e97-c05ce4206cbf.gif)
   
   
   There is still work to be done:
   * Creating a modal to add new filters
   * Manage date filters for each datasource
   * Global filter configuration (for example, instant filtering)
   * Saving selected filter options when the dashboard is saved
   
   If you would like me to create a PR for this work, let me know. I apologize 
for not being able to complete the feature, but other tasks took priority for 
us.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to