This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from 07d9dbd fix: typos in translations placeholders (#7161)
new fb9fdc8 Show tooltip with time frame (#6979)
new 7488b4d Fix time filter control (#6978)
new 7d95036 feat: add ability to change font size in big number (#7003)
new f66b598 Allow LIMIT to be specified in parameters (#7052)
new e974a23 [Lyft-GA] Enable color consistency in a dashboard (#7135)
new 82cf553 Revert PR #6933 (#7162)
new ca6a73b Fix race condition when fetching results in SQL Lab (#7198)
new 62cfb2d Change number format default (#7137)
new 74a0b57 Update necessary packages (#7205)
new 200efac fix: [lyftga] pass the latest deckgl props (#7208)
new 8e14807 chore: revert bignumber.js patch for charts and reapply the
original bignumber.js change to SQL editor in an opt-in fashion (#7210)
new 538776b Fetch charts with GET to benefit from browser cache and
conditional requests (#7032)
new 6998b10 Allow bigint to be used as time column in Presto (#7218)
new e714dc1 Merge branch 'master' into lyftga
new 1132c3c feat: [lyftga] add tooltips to deck.gl viz types (#7206)
new 4ab89db Celery task for warming up cache (#7148)
new a875239 fix: add check for polygon tooltips (#7226)
new 43874b3 Fix time grain after revert (#7228)
new b4915ca fix: give a more accurate time (#7221)
new e39b169 [filter_box] allow empty filters list (#7220)
new 74bdc32 increment version number for nvd3 (#7232)
new c6876f7 Fix for tagging backend (#7240)
new ad7cc01 increment version numbers (#7245)
new 23ef41f Fix spinning in Welcome page (#7247)
new 821860e Fix partition query in Presto (#7250)
new 5154421 Add link to documentation (#7251)
new 51472e9 Improve cache (#7227)
new 7c80cf5 Fix refresh frequency (#7248)
new 2a67e8e fix: Handle rendering a single point (#7256)
new 078a977 Pass viz type to GET requests (#7255)
new 05afe1b Bump pydruid to 0.5.2 (#7260)
new 984b04d Add extra bucket when max outside range (#7264)
new e505e32 Revert "Fix issues around Database permissions (#7009)"
(#7267)
new 9856800 Do not add tag to non-saved objects (#7266)
new 65cc0e5 chore: update big number package (#7268)
new 0f1702b chore: update legacy packages (#7293)
new 5dab983 fix: time series table (#7302)
new 81a1e53 fix: propagate color mapping from dashboard to charts (#7289)
new 97718da Fix control validation handling (#7231)
new 5f28027 Merging lyftga into master
The 4058 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 1 +
CONTRIBUTING.md | 6 +
docs/installation.rst | 20 +
requirements.txt | 2 +-
superset/assets/backendSync.json | 71 +++-
.../cypress/integration/dashboard/controls.js | 16 +-
.../cypress/integration/dashboard/edit_mode.js | 5 +-
.../assets/cypress/integration/dashboard/filter.js | 5 +-
.../assets/cypress/integration/dashboard/load.js | 3 +-
.../assets/cypress/integration/dashboard/save.js | 5 +-
.../cypress/integration/explore/control.test.js | 54 +--
.../cypress/integration/explore/link.test.js | 29 +-
superset/assets/package-lock.json | 459 ++++++++++++---------
superset/assets/package.json | 1 -
.../spec/javascripts/chart/chartActions_spec.js | 14 +-
.../javascripts/chart/transformBigNumber_spec.js | 53 ---
.../dashboard/components/DashboardBuilder_spec.jsx | 26 +-
.../dashboard/components/Dashboard_spec.jsx | 10 +-
.../components/HeaderActionsDropdown_spec.jsx | 8 +-
.../dashboard/components/Header_spec.jsx | 8 +-
.../dashboard/fixtures/mockDashboardState.js | 3 +-
.../dashboard/reducers/dashboardState_spec.js | 25 +-
.../visualizations/deckgl/layers/common_spec.jsx | 63 ++-
.../visualizations/deckgl/utils_spec.js | 20 +-
superset/assets/src/SqlLab/actions/sqlLab.js | 13 +-
superset/assets/src/chart/Chart.jsx | 29 +-
superset/assets/src/chart/ChartRenderer.jsx | 21 +-
superset/assets/src/chart/chartAction.js | 36 +-
superset/assets/src/chart/chartReducer.js | 2 +-
superset/assets/src/chart/transformBigNumber.js | 45 --
.../src/dashboard/actions/dashboardLayout.js | 3 +-
.../assets/src/dashboard/actions/dashboardState.js | 18 +-
.../dashboard/components/BuilderComponentPane.jsx | 112 ++---
.../dashboard/components/ColorComponentPane.jsx | 107 +++++
.../assets/src/dashboard/components/Dashboard.jsx | 6 +-
.../src/dashboard/components/DashboardBuilder.jsx | 24 +-
.../assets/src/dashboard/components/Header.jsx | 98 +++--
.../dashboard/components/HeaderActionsDropdown.jsx | 23 +-
.../dashboard/components/InsertComponentPane.jsx | 118 ++++++
.../assets/src/dashboard/components/SaveModal.jsx | 15 +
superset/assets/src/dashboard/containers/Chart.jsx | 4 +-
.../assets/src/dashboard/containers/Dashboard.jsx | 4 +-
.../src/dashboard/containers/DashboardBuilder.jsx | 10 +-
.../src/dashboard/containers/DashboardHeader.jsx | 8 +-
.../src/dashboard/reducers/dashboardState.js | 27 +-
.../src/dashboard/reducers/getInitialState.js | 20 +-
.../dashboard/stylesheets/builder-sidepane.less | 14 +
.../src/dashboard/stylesheets/dashboard.less | 9 +-
.../util/charts/getFormDataWithExtraFilters.js | 14 +
superset/assets/src/dashboard/util/constants.js | 7 +
superset/assets/src/dashboard/util/propShapes.jsx | 5 +-
superset/assets/src/explore/components/Control.jsx | 35 +-
.../src/explore/components/ExploreChartHeader.jsx | 6 +-
.../explore/components/ExploreViewContainer.jsx | 15 +-
.../{SliderControl.jsx => ColorMapControl.jsx} | 47 +--
.../components/controls/ColorSchemeControl.jsx | 28 +-
.../components/controls/DateFilterControl.jsx | 34 +-
.../src/explore/components/controls/index.js | 2 +
superset/assets/src/explore/controlPanels/Area.js | 2 +-
superset/assets/src/explore/controlPanels/Bar.js | 2 +-
.../assets/src/explore/controlPanels/BigNumber.js | 13 +-
.../src/explore/controlPanels/BigNumberTotal.js | 13 +-
.../assets/src/explore/controlPanels/BoxPlot.js | 2 +-
.../assets/src/explore/controlPanels/Bubble.js | 5 +-
superset/assets/src/explore/controlPanels/Chord.js | 2 +-
.../assets/src/explore/controlPanels/Compare.js | 2 +-
.../assets/src/explore/controlPanels/DeckArc.js | 2 +-
.../src/explore/controlPanels/DeckScatter.js | 2 +-
.../assets/src/explore/controlPanels/DistBar.js | 2 +-
.../assets/src/explore/controlPanels/DualLine.js | 2 +-
.../assets/src/explore/controlPanels/Histogram.js | 2 +-
superset/assets/src/explore/controlPanels/Line.js | 2 +-
.../assets/src/explore/controlPanels/LineMulti.js | 2 +-
.../assets/src/explore/controlPanels/Partition.js | 2 +-
superset/assets/src/explore/controlPanels/Pie.js | 2 +-
superset/assets/src/explore/controlPanels/Rose.js | 2 +-
.../assets/src/explore/controlPanels/Sankey.js | 2 +-
.../assets/src/explore/controlPanels/Sunburst.js | 2 +-
.../assets/src/explore/controlPanels/Treemap.js | 2 +-
.../assets/src/explore/controlPanels/WordCloud.js | 2 +-
.../assets/src/explore/controlPanels/sections.jsx | 2 +-
superset/assets/src/explore/controls.jsx | 81 +++-
superset/assets/src/explore/exploreUtils.js | 16 +-
.../assets/src/explore/reducers/exploreReducer.js | 37 +-
.../assets/src/explore/reducers/getInitialState.js | 4 +-
superset/assets/src/explore/store.js | 20 +-
.../deckgl/AnimatableDeckGLContainer.jsx | 15 +-
.../deckgl/CategoricalDeckGLContainer.jsx | 18 +-
.../src/visualizations/deckgl/DeckGLContainer.jsx | 1 +
.../src/visualizations/deckgl/Multi/Multi.jsx | 6 +-
.../deckgl/TooltipRow.jsx} | 19 +-
.../assets/src/visualizations/deckgl/factory.jsx | 2 +-
.../src/visualizations/deckgl/layers/Arc/Arc.jsx | 25 +-
.../deckgl/layers/Geojson/Geojson.jsx | 30 +-
.../src/visualizations/deckgl/layers/Grid/Grid.jsx | 26 +-
.../src/visualizations/deckgl/layers/Hex/Hex.jsx | 26 +-
.../src/visualizations/deckgl/layers/Path/Path.jsx | 27 +-
.../deckgl/layers/Polygon/Polygon.jsx | 44 +-
.../deckgl/layers/Scatter/Scatter.jsx | 29 +-
.../deckgl/layers/Screengrid/Screengrid.jsx | 27 +-
.../src/visualizations/deckgl/layers/common.jsx | 68 ++-
superset/assets/src/visualizations/deckgl/utils.js | 17 +-
.../stylesheets/deckgl.css} | 8 +-
superset/config.py | 2 +
superset/db_engine_specs.py | 6 +-
superset/models/tags.py | 4 +-
superset/security.py | 12 +-
superset/tasks/__init__.py | 1 +
superset/tasks/cache.py | 316 ++++++++++++++
superset/templates/appbuilder/navbar_right.html | 12 +
superset/utils/decorators.py | 87 ++++
superset/views/core.py | 167 ++++----
superset/views/tags.py | 178 ++++----
superset/views/utils.py | 114 ++++-
tests/dashboard_tests.py | 43 ++
tests/strategy_tests.py | 236 +++++++++++
116 files changed, 2653 insertions(+), 1008 deletions(-)
delete mode 100644
superset/assets/spec/javascripts/chart/transformBigNumber_spec.js
delete mode 100644 superset/assets/src/chart/transformBigNumber.js
create mode 100644
superset/assets/src/dashboard/components/ColorComponentPane.jsx
create mode 100644
superset/assets/src/dashboard/components/InsertComponentPane.jsx
copy superset/assets/src/explore/components/controls/{SliderControl.jsx =>
ColorMapControl.jsx} (58%)
copy superset/assets/src/{explore/propTypes/aggregateOptionType.js =>
visualizations/deckgl/TooltipRow.jsx} (71%)
copy superset/assets/src/{chart/chart.css =>
visualizations/stylesheets/deckgl.css} (91%)
create mode 100644 superset/tasks/cache.py
create mode 100644 tests/strategy_tests.py