graceguo-supercat commented on a change in pull request #8166: 
[feature][dashboard] Show/hide filter indicator on the applicable charts when 
filter options are open/close
URL: 
https://github.com/apache/incubator-superset/pull/8166#discussion_r322979109
 
 

 ##########
 File path: superset/assets/src/dashboard/components/gridComponents/Chart.jsx
 ##########
 @@ -169,6 +172,14 @@ class Chart extends React.Component {
     this.props.changeFilter(this.props.chart.id, newSelectedValues);
   }
 
+  handleFilterMenuOpen(chartId, column) {
+    this.props.setFocusedFilterField(chartId, column);
+  }
+
+  handleFilterMenuClose() {
+    this.props.setFocusedFilterField();
 
 Review comment:
   updated: added `unsetFocusedFilterField` action creator.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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