[incubator-superset] branch master updated: chore: auto label issues based on the template chosen (#9507)

2020-04-13 Thread maximebeauchemin
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 cf6422c  chore: auto label issues based on the template chosen (#9507)
cf6422c is described below

commit cf6422caf3ee6bc74613d9e2da780486822d9372
Author: Maxime Beauchemin 
AuthorDate: Mon Apr 13 16:31:21 2020 -0700

chore: auto label issues based on the template chosen (#9507)

* chore: auto label issues based on the template chosen

* quoted stuffs
---
 .github/ISSUE_TEMPLATE/bug_report.md  | 1 +
 .github/ISSUE_TEMPLATE/feature_request.md | 1 +
 .github/ISSUE_TEMPLATE/sip.md | 4 
 3 files changed, 6 insertions(+)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md 
b/.github/ISSUE_TEMPLATE/bug_report.md
index 388b578..1922ae2 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,6 +1,7 @@
 ---
 name: Bug report
 about: Create a report to help us improve
+labels: "#bug"
 
 ---
 
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md 
b/.github/ISSUE_TEMPLATE/feature_request.md
index 066b2d9..cb66edb 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -1,6 +1,7 @@
 ---
 name: Feature request
 about: Suggest an idea for this project
+labels: "#enhancement"
 
 ---
 
diff --git a/.github/ISSUE_TEMPLATE/sip.md b/.github/ISSUE_TEMPLATE/sip.md
index 4e668b3..7a1241c 100644
--- a/.github/ISSUE_TEMPLATE/sip.md
+++ b/.github/ISSUE_TEMPLATE/sip.md
@@ -1,9 +1,13 @@
 ---
 name: SIP
 about: Superset Improvement Proposal
+labels: "#SIP"
 
 ---
 
+*Please make sure you are familiar with the SIP process documented*
+(here)[https://github.com/apache/incubator-superset/issues/5602]
+
 ## [SIP] Proposal for XXX
 
 ### Motivation



[incubator-superset] branch master updated: control to turn off table bar-chart backgrounds (#9500)

2020-04-13 Thread rusackas
This is an automated email from the ASF dual-hosted git repository.

rusackas 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 f29d0fd  control to turn off table bar-chart backgrounds (#9500)
f29d0fd is described below

commit f29d0fd9f2f93cf27e55475c61130518060d17fc
Author: Evan Rusackas 
AuthorDate: Mon Apr 13 16:53:50 2020 -0700

control to turn off table bar-chart backgrounds (#9500)

* control to turn off table bar-chart backgrounds

* flipping enable to disable, to support existing charts

* lint :sparkles:

* Turn ON to enable (reversing logic)

* bumping big number chart

* ling :sparkles:
---
 superset-frontend/package-lock.json  |  6 +++---
 superset-frontend/package.json   |  2 +-
 superset-frontend/src/explore/controlPanels/Table.js | 15 +++
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/superset-frontend/package-lock.json 
b/superset-frontend/package-lock.json
index 077a3a5..0acef30 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -8268,9 +8268,9 @@
   }
 },
 "@superset-ui/legacy-preset-chart-big-number": {
-  "version": "0.11.21",
-  "resolved": 
"https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.11.21.tgz;,
-  "integrity": 
"sha512-LvDrCfpNTUGaXFUvrd1vHFJqPsBZlva97Z/Wy8izn7ZRv7PrrsvxJ584mh+JBfPg2YiklYB7E2F18MN1NaJEmw==",
+  "version": "0.12.13",
+  "resolved": 
"https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.12.13.tgz;,
+  "integrity": 
"sha512-4TQzN702nyTL6tHgoa93HMcrUvKKqlE3Tm7Gxaa0uQEi+BKPuP77u957oZzZwJBR0SY81A6ASk0ztN90gpVsQg==",
   "requires": {
 "@data-ui/xy-chart": "^0.0.84",
 "@types/d3-color": "^1.2.2",
diff --git a/superset-frontend/package.json b/superset-frontend/package.json
index 1cf766b..fe19545 100644
--- a/superset-frontend/package.json
+++ b/superset-frontend/package.json
@@ -83,7 +83,7 @@
 "@superset-ui/legacy-plugin-chart-treemap": "^0.11.15",
 "@superset-ui/legacy-plugin-chart-word-cloud": "^0.11.15",
 "@superset-ui/legacy-plugin-chart-world-map": "^0.11.15",
-"@superset-ui/legacy-preset-chart-big-number": "^0.11.21",
+"@superset-ui/legacy-preset-chart-big-number": "^0.12.13",
 "@superset-ui/legacy-preset-chart-deckgl": "^0.2.3",
 "@superset-ui/legacy-preset-chart-nvd3": "^0.11.15",
 "@superset-ui/number-format": "^0.12.10",
diff --git a/superset-frontend/src/explore/controlPanels/Table.js 
b/superset-frontend/src/explore/controlPanels/Table.js
index f41717c..4c57335 100644
--- a/superset-frontend/src/explore/controlPanels/Table.js
+++ b/superset-frontend/src/explore/controlPanels/Table.js
@@ -183,6 +183,21 @@ export default {
 },
   },
 ],
+[
+  {
+name: 'show_cell_bars',
+config: {
+  type: 'CheckboxControl',
+  label: t('Show Cell Bars'),
+  renderTrigger: true,
+  default: true,
+  description: t(
+'Enable to display bar chart background elements in table 
columns',
+  ),
+},
+  },
+  null,
+],
   ],
 },
   ],



[incubator-superset] branch master updated: [Dashboard] new listview filters & emotion infra (#9462)

2020-04-13 Thread rusackas
This is an automated email from the ASF dual-hosted git repository.

rusackas 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 f90824f  [Dashboard] new listview filters & emotion infra (#9462)
f90824f is described below

commit f90824fa178c2164d954a8f29a12309c7a06327e
Author: ʈᵃᵢ 
AuthorDate: Mon Apr 13 13:39:55 2020 -0700

[Dashboard] new listview filters & emotion infra (#9462)

* [Dashboard] listview filters to match new design

* use title_or_slug filter

* use ?. operator

* move components to components folder
---
 superset-frontend/jest.config.js   |   5 +-
 superset-frontend/package-lock.json| 627 -
 superset-frontend/package.json |  11 +-
 .../components/ListView/ListView_spec.jsx  | 253 ++---
 .../src/components/ListView/Filters.tsx| 168 ++
 .../src/components/ListView/LegacyFilters.tsx  | 199 +++
 .../src/components/ListView/ListView.tsx   | 219 ++-
 superset-frontend/src/components/ListView/types.ts |  10 +-
 superset-frontend/src/components/ListView/utils.ts |  88 ++-
 .../components/SearchInput.tsx}|  39 +-
 .../components/StyledSelect.tsx}   |  58 +-
 superset-frontend/src/featureFlags.ts  |   1 +
 .../src/types/react-table-config.d.ts  |   1 -
 .../src/views/dashboardList/DashboardList.tsx  |  41 +-
 superset-frontend/src/welcome/App.jsx  |  43 +-
 .../styled-components/superset-theme.ts}   |  48 +-
 superset-frontend/webpack.config.js|   2 +
 superset/config.py |   1 +
 18 files changed, 1302 insertions(+), 512 deletions(-)

diff --git a/superset-frontend/jest.config.js b/superset-frontend/jest.config.js
index 8a3c08a..44f460d 100644
--- a/superset-frontend/jest.config.js
+++ b/superset-frontend/jest.config.js
@@ -34,13 +34,10 @@ module.exports = {
   moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
   globals: {
 'ts-jest': {
+  babelConfig: true,
   diagnostics: {
 warnOnly: true,
   },
-  tsConfig: {
-jsx: 'react',
-esModuleInterop: true,
-  },
 },
   },
 };
diff --git a/superset-frontend/package-lock.json 
b/superset-frontend/package-lock.json
index e2c73d9..077a3a5 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -5360,6 +5360,145 @@
 "prop-types": "^15.6.0"
   }
 },
+"@emotion/cache": {
+  "version": "10.0.29",
+  "resolved": 
"https://registry.npmjs.org/@emotion/cache/-/cache-10.0.29.tgz;,
+  "integrity": 
"sha512-fU2VtSVlHiF27empSbxi1O2JFdNWZO+2NFHfwO0pxgTep6Xa3uGb+3pVKfLww2l/IBGLNEZl5Xf/++A4wAYDYQ==",
+  "requires": {
+"@emotion/sheet": "0.9.4",
+"@emotion/stylis": "0.8.5",
+"@emotion/utils": "0.11.3",
+"@emotion/weak-memoize": "0.2.5"
+  }
+},
+"@emotion/core": {
+  "version": "10.0.28",
+  "resolved": 
"https://registry.npmjs.org/@emotion/core/-/core-10.0.28.tgz;,
+  "integrity": 
"sha512-pH8UueKYO5jgg0Iq+AmCLxBsvuGtvlmiDCOuv8fGNYn3cowFpLN98L8zO56U0H1PjDIyAlXymgL3Wu7u7v6hbA==",
+  "requires": {
+"@babel/runtime": "^7.5.5",
+"@emotion/cache": "^10.0.27",
+"@emotion/css": "^10.0.27",
+"@emotion/serialize": "^0.11.15",
+"@emotion/sheet": "0.9.4",
+"@emotion/utils": "0.11.3"
+  },
+  "dependencies": {
+"@babel/runtime": {
+  "version": "7.9.2",
+  "resolved": 
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz;,
+  "integrity": 
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q==",
+  "requires": {
+"regenerator-runtime": "^0.13.4"
+  }
+},
+"regenerator-runtime": {
+  "version": "0.13.5",
+  "resolved": 
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz;,
+  "integrity": 
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
+}
+  }
+},
+"@emotion/css": {
+  "version": "10.0.27",
+  "resolved": "https://registry.npmjs.org/@emotion/css/-/css-10.0.27.tgz;,
+  "integrity": 
"sha512-6wZjsvYeBhyZQYNrGoR5yPMYbMBNEnanDrqmsqS1mzDm1cOTu12shvl2j4QHNS36UaTE0USIJawCH9C8oW34Zw==",
+  "requires": {
+"@emotion/serialize": "^0.11.15",
+"@emotion/utils": "0.11.3",
+"babel-plugin-emotion": "^10.0.27"
+  }
+},
+"@emotion/hash": {
+  "version": "0.8.0",
+  "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz;,
+  "integrity":