superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccwilli...@apache.org
Subject [incubator-superset] branch dashboard-builder updated (6619271 -> 72bea06)
Date Thu, 24 May 2018 18:18:30 GMT
This is an automated email from the ASF dual-hosted git repository.

ccwilliams pushed a change to branch dashboard-builder
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


    from 6619271  [dashboard v2] fix bugs from rebase
     add 72bea06  [dashboard v2] tests! (#5066)

No new revisions were added by this update.

Summary of changes:
 superset/assets/package.json                       |   1 +
 superset/assets/spec/helpers/browser.js            |   4 +-
 .../{src => spec/javascripts}/dashboard/.eslintrc  |   0
 .../javascripts}/dashboard/.prettierrc             |   0
 .../spec/javascripts/dashboard/Dashboard_spec.jsx  | 212 ----------
 .../dashboard/actions/dashboardLayout_spec.js      | 442 ++++++++++++++++++++
 .../dashboard/{ => components}/CodeModal_spec.jsx  |   6 +-
 .../dashboard/{ => components}/CssEditor_spec.jsx  |   6 +-
 .../dashboard/components/DashboardBuilder_spec.jsx | 146 +++++++
 .../dashboard/components/DashboardGrid_spec.jsx    |  82 ++++
 .../dashboard/components/Dashboard_spec.jsx        | 249 ++++++++++++
 .../{ => components}/RefreshIntervalModal_spec.jsx |   2 +-
 .../dashboard/components/ToastPresenter_spec.jsx   |  41 ++
 .../dashboard/components/Toast_spec.jsx            |  43 ++
 .../components/dnd/DragDroppable_spec.jsx          |  90 +++++
 .../components/gridComponents/ChartHolder_spec.jsx | 112 ++++++
 .../components/gridComponents/Chart_spec.jsx       |  92 +++++
 .../components/gridComponents/Column_spec.jsx      | 144 +++++++
 .../components/gridComponents/Divider_spec.jsx     |  70 ++++
 .../components/gridComponents/Header_spec.jsx      | 100 +++++
 .../components/gridComponents/Row_spec.jsx         | 120 ++++++
 .../components/gridComponents/Tab_spec.jsx         | 126 ++++++
 .../components/gridComponents/Tabs_spec.jsx        | 140 +++++++
 .../new/DraggableNewComponent_spec.jsx             |  68 ++++
 .../gridComponents/new/NewColumn_spec.jsx          |  29 ++
 .../gridComponents/new/NewDivider_spec.jsx         |  29 ++
 .../gridComponents/new/NewHeader_spec.jsx          |  29 ++
 .../components/gridComponents/new/NewRow_spec.jsx  |  29 ++
 .../components/gridComponents/new/NewTabs_spec.jsx |  29 ++
 .../dashboard/components/menu/HoverMenu_spec.jsx   |  13 +
 .../components/menu/WithPopoverMenu_spec.jsx       |  71 ++++
 .../resizable/ResizableContainer_spec.jsx          |  20 +
 .../components/resizable/ResizableHandle_spec.jsx  |  29 ++
 .../assets/spec/javascripts/dashboard/fixtures.jsx |  32 +-
 .../dashboard/fixtures/mockChartQueries.js         |  61 +++
 .../dashboard/fixtures/mockDashboardInfo.js        |  12 +
 .../dashboard/fixtures/mockDashboardLayout.js      | 140 +++++++
 .../dashboard/fixtures/mockDashboardState.js       |  13 +
 .../dashboard/fixtures/mockDatasource.js           | 206 ++++++++++
 .../dashboard/fixtures/mockMessageToasts.js        |   9 +
 .../dashboard/fixtures/mockSliceEntities.js        |  39 ++
 .../javascripts/dashboard/fixtures/mockState.js    |  18 +
 .../javascripts/dashboard/fixtures/mockStore.js    |  22 +
 .../dashboard/helpers/WithDragDropContext.jsx      |  27 ++
 .../dashboard/reducers/dashboardLayout_spec.js     | 443 +++++++++++++++++++++
 .../dashboard/reducers/dashboardState_spec.js      | 239 +++++++++++
 .../dashboard/reducers/messageToasts_spec.js       |  32 ++
 .../dashboard/reducers/sliceEntities_spec.js       |  51 +++
 .../spec/javascripts/dashboard/reducers_spec.js    |  38 --
 .../dashboard/util/componentIsResizable_spec.js    |  42 ++
 .../javascripts/dashboard/util/dnd-reorder_spec.js |  62 +++
 .../dashboard/util/dropOverflowsParent_spec.js     | 125 ++++++
 .../dashboard/util/findParentId_spec.js            |  29 ++
 .../dashboard/util/getChartIdsFromLayout_spec.js   |  41 ++
 .../dashboard/util/getDropPosition_spec.js         | 422 ++++++++++++++++++++
 .../util/getFormDataWithExtraFilters_spec.js       |  70 ++++
 .../dashboard/util/isValidChild_spec.js            | 147 +++++++
 .../dashboard/util/newComponentFactory_spec.js     |  51 +++
 .../dashboard/util/newEntitiesFromDrop_spec.js     |  82 ++++
 superset/assets/src/chart/chartAction.js           |   1 -
 .../src/dashboard/actions/dashboardLayout.js       | 159 +++-----
 .../assets/src/dashboard/actions/messageToasts.js  |   8 +-
 .../assets/src/dashboard/components/Dashboard.jsx  |  65 +--
 .../src/dashboard/components/DashboardBuilder.jsx  |  18 +-
 .../assets/src/dashboard/components/SliceAdder.jsx |  31 +-
 .../src/dashboard/components/SliceHeader.jsx       |   9 +-
 .../src/dashboard/components/dnd/DragDroppable.jsx |  46 ++-
 .../dashboard/components/gridComponents/Chart.jsx  |   2 +-
 .../components/gridComponents/ChartHolder.jsx      |   4 +-
 .../dashboard/components/gridComponents/Header.jsx |  11 +-
 .../dashboard/components/gridComponents/Row.jsx    |   2 +-
 superset/assets/src/dashboard/containers/Chart.jsx |   6 +-
 .../src/dashboard/fixtures/emptyDashboardLayout.js |   4 +-
 .../src/dashboard/reducers/dashboardLayout.js      |  10 +-
 .../src/dashboard/reducers/dashboardState.js       |  25 +-
 .../src/dashboard/reducers/getInitialState.js      |   4 +-
 .../assets/src/dashboard/reducers/sliceEntities.js |  14 +-
 .../util/charts/getEffectiveExtraFilters.js        |  10 +-
 .../util/charts/getFormDataWithExtraFilters.js     |   8 +-
 .../assets/src/dashboard/util/componentTypes.js    |   4 +-
 .../src/dashboard/util/dropOverflowsParent.js      |  45 ++-
 superset/assets/src/dashboard/util/findParentId.js |   6 +-
 .../src/dashboard/util/getChartIdsFromLayout.js    |  13 +-
 .../src/dashboard/util/getDragDropManager.js       |  17 +
 superset/assets/src/dashboard/util/isValidChild.js |   5 +-
 .../src/dashboard/util/newEntitiesFromDrop.js      |   7 +-
 superset/assets/src/dashboard/util/propShapes.jsx  |   4 +-
 superset/assets/src/logger.js                      |  11 +-
 superset/assets/yarn.lock                          | 216 +++++++++-
 superset/views/core.py                             |   2 +-
 90 files changed, 5236 insertions(+), 558 deletions(-)
 copy superset/assets/{src => spec/javascripts}/dashboard/.eslintrc (100%)
 copy superset/assets/{src => spec/javascripts}/dashboard/.prettierrc (100%)
 delete mode 100644 superset/assets/spec/javascripts/dashboard/Dashboard_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/actions/dashboardLayout_spec.js
 rename superset/assets/spec/javascripts/dashboard/{ => components}/CodeModal_spec.jsx
(72%)
 rename superset/assets/spec/javascripts/dashboard/{ => components}/CssEditor_spec.jsx
(72%)
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/DashboardBuilder_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/DashboardGrid_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/Dashboard_spec.jsx
 rename superset/assets/spec/javascripts/dashboard/{ => components}/RefreshIntervalModal_spec.jsx
(85%)
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/ToastPresenter_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/Toast_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/dnd/DragDroppable_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/ChartHolder_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Chart_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Column_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Divider_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Header_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Row_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Tab_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/Tabs_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/new/DraggableNewComponent_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/new/NewColumn_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/new/NewDivider_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/new/NewHeader_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/new/NewRow_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/gridComponents/new/NewTabs_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/menu/HoverMenu_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/menu/WithPopoverMenu_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/resizable/ResizableContainer_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/components/resizable/ResizableHandle_spec.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockChartQueries.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockDashboardInfo.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockDashboardLayout.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockDashboardState.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockDatasource.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockMessageToasts.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockSliceEntities.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockState.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/fixtures/mockStore.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/helpers/WithDragDropContext.jsx
 create mode 100644 superset/assets/spec/javascripts/dashboard/reducers/dashboardLayout_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/reducers/dashboardState_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/reducers/messageToasts_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/reducers/sliceEntities_spec.js
 delete mode 100644 superset/assets/spec/javascripts/dashboard/reducers_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/componentIsResizable_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/dnd-reorder_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/dropOverflowsParent_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/findParentId_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/getChartIdsFromLayout_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/getDropPosition_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/getFormDataWithExtraFilters_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/isValidChild_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/newComponentFactory_spec.js
 create mode 100644 superset/assets/spec/javascripts/dashboard/util/newEntitiesFromDrop_spec.js
 create mode 100644 superset/assets/src/dashboard/util/getDragDropManager.js

-- 
To stop receiving notification emails like this one, please contact
ccwilliams@apache.org.

Mime
View raw message