You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2019/07/01 17:55:18 UTC
[incubator-superset] branch master updated: Improve performance for
add slice container (#7791)
This is an automated email from the ASF dual-hosted git repository.
graceguo 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 15426fe Improve performance for add slice container (#7791)
15426fe is described below
commit 15426febbe1a773b64293e71cee7e6b75168885b
Author: Erik Ritter <er...@airbnb.com>
AuthorDate: Mon Jul 1 10:55:12 2019 -0700
Improve performance for add slice container (#7791)
---
superset/assets/src/addSlice/AddSliceContainer.jsx | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/superset/assets/src/addSlice/AddSliceContainer.jsx b/superset/assets/src/addSlice/AddSliceContainer.jsx
index 3ab0706..71dda49 100644
--- a/superset/assets/src/addSlice/AddSliceContainer.jsx
+++ b/superset/assets/src/addSlice/AddSliceContainer.jsx
@@ -31,7 +31,7 @@ const propTypes = {
})).isRequired,
};
-const styleSelectWidth = { width: 300 };
+const styleSelectWidth = { width: 600 };
export default class AddSliceContainer extends React.PureComponent {
constructor(props) {
@@ -83,18 +83,19 @@ export default class AddSliceContainer extends React.PureComponent {
<div style={styleSelectWidth}>
<Select
clearable={false}
- style={styleSelectWidth}
+ ignoreAccents={false}
name="select-datasource"
onChange={this.changeDatasource}
options={this.props.datasources}
placeholder={t('Choose a datasource')}
+ style={styleSelectWidth}
value={this.state.datasourceValue}
- width={200}
+ width={600}
/>
</div>
<p className="text-muted">
{t(
- 'If the datasource your are looking for is not ' +
+ 'If the datasource you are looking for is not ' +
'available in the list, ' +
'follow the instructions on the how to add it on the ')}
<a href="https://superset.apache.org/tutorial.html">{t('Superset tutorial')}</a>