You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/08/26 23:36:14 UTC

[incubator-superset] branch master updated: Autofocus aggregation in metric control (#5717)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f83ea23  Autofocus aggregation in metric control (#5717)
f83ea23 is described below

commit f83ea233c7c4ef327020ac57d5602a2361adfc91
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Sun Aug 26 16:36:09 2018 -0700

    Autofocus aggregation in metric control (#5717)
    
    * Focus button
    
    * Move autofocus to aggregation
---
 superset/assets/src/explore/components/AdhocMetricEditPopover.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/explore/components/AdhocMetricEditPopover.jsx b/superset/assets/src/explore/components/AdhocMetricEditPopover.jsx
index d55105e..439e16b 100644
--- a/superset/assets/src/explore/components/AdhocMetricEditPopover.jsx
+++ b/superset/assets/src/explore/components/AdhocMetricEditPopover.jsx
@@ -221,7 +221,7 @@ export default class AdhocMetricEditPopover extends React.Component {
             </FormGroup>
             <FormGroup>
               <ControlLabel><strong>aggregate</strong></ControlLabel>
-              <OnPasteSelect {...this.selectProps} {...aggregateSelectProps} />
+              <OnPasteSelect autoFocus {...this.selectProps} {...aggregateSelectProps} />
             </FormGroup>
           </Tab>
           <Tab className="adhoc-metric-edit-tab" eventKey={EXPRESSION_TYPES.SQL} title="Custom SQL">