This is an automated email from the ASF dual-hosted git repository.
suddjian pushed a change to branch feature/filter-p0
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from 21bb26e use is_dttm instead of is_temporal
add 64b5aae style: improve the "Create New Chart" screen's usability
(#11383)
add 00e3944 feat: export datasets as ZIP files (#11332)
add 633355a feat: export charts as ZIP files (#11349)
add b89a5d6 fix: dashboard cache invalid join query (#11369)
add 04ee4a2 build: let webpack proxy server handle more content encoding
(#11376)
add dc5e5a9 refactor: Replace usages of reactable in TableLoader (#11240)
add 30c71fd refactor: Replace react-bootstrap tabs with Antd tabs on
Profile (#11211)
add 43b92b2 fix: dashboard edit/save errors (#10834)
add 6f85d8d docs: fix typo (#11129)
add 3a2ae64 build: bump pr-lint-action (#11403)
add 1f04db7 fix: change chart title by clicking (#11335)
add 2f0c1a8 docs: Add semantic prefix info for PR titles (#11398)
add d64260f fix: long labels now truncate with ellipsis (#11400)
add c81204a feat: export dashboards as ZIP files (#11351)
add 93d9bd9 fix dataset editor for saving schema (#11396)
add 6f69212 feat: annotations REST API (#11344)
add ad88a06 refactor: Use Antd Dropdown instead of react-bootstrap in
DatasourceControl (#11395)
add efdda8b chore: Button cruft cleanup (#11342)
add f2c89af chore: Fixed skipped cypress test - refresh dashboard
function (#11375)
add d02a61f feat(dashboard): fetch charts by owners instead of created_by
(#11336)
add 8aecffd refactor: typing for explore Control and messageToasts
(#11416)
add 70ea7ae fix: error handling for webpack proxy (#11420)
add 0ab1537 style: fix labels vertical align (#11415)
add ac498dd chore: upgrade TypeScript (3.8.3 -> 4.0.3) (#11421)
add 2e6afdf docs: Update Dremio doc with Arrow Flight connection details
(#11422)
add 10a54b5 fix(examples): specify 'time_range_endpoints' to prevent
toast warning (#11417)
add 6acae9a refactor: Replace usages of reactable in TimeTable (#11239)
add ba314c0 Moved frame from below to currently focused window (#11423)
add 604a519 fix: keeping Markdown content while resizing window on
Dashboard (#11392)
add 144b279 feat: saved queries with execution info (#11391)
add 894ca3c refactor: Use Modals from Antd instead of react-bootstrap
(#11330)
add af337b9 Let the header wrap! (#10724)
add 910791b fix: better error message for chart properties modal (#11381)
add 7f6df1e Merge branch 'master' into feature/filter-p0
add 0d34c85 Merge branch 'feature/filter-p0' of
github.com:apache/incubator-superset into feature/filter-p0
No new revisions were added by this update.
Summary of changes:
.github/workflows/pr-lint.yml | 2 +-
CONTRIBUTING.md | 17 +
.../pages/docs/Connecting to Databases/dremio.mdx | 9 +-
.../docs/installation/networking_settings.mdx | 2 +-
.../cypress/integration/dashboard/controls.test.js | 44 +-
.../integration/dashboard/dashboard.helper.ts | 11 +
.../integration/dashboard/edit_properties.test.ts | 193 ++++++
.../cypress/integration/dashboard/markdown.test.ts | 13 +-
.../cypress/integration/dashboard/save.test.js | 96 ++-
.../cypress/integration/explore/control.test.ts | 8 +-
superset-frontend/cypress-base/tsconfig.json | 1 +
superset-frontend/package-lock.json | 118 +---
superset-frontend/package.json | 9 +-
.../dashboard/actions/dashboardLayout_spec.js | 29 +-
.../dashboard/components/CssEditor_spec.jsx | 9 +-
.../dashboard/components/PropertiesModal_spec.jsx | 279 ++++++++
.../components/RefreshIntervalModal_spec.jsx | 15 +-
.../components/gridComponents/Tab_spec.jsx | 2 +-
.../explore/components/DatasourceControl_spec.jsx | 20 +-
.../explore/components/DisplayQueryButton_spec.jsx | 8 +-
.../javascripts/messageToasts/mockMessageToasts.js | 6 +-
.../utils/getToastsFromPyFlashMessages_spec.js | 15 +-
.../spec/javascripts/profile/App_spec.tsx | 5 +-
.../javascripts/sqllab/HighlightedSql_spec.jsx | 7 +
.../spec/javascripts/sqllab/LimitControl_spec.jsx | 10 +-
.../spec/javascripts/sqllab/SaveQuery_spec.jsx | 2 +-
.../spec/javascripts/sqllab/SqlEditor_spec.jsx | 2 +-
.../spec/javascripts/sqllab/TableElement_spec.jsx | 13 +
.../src/SqlLab/components/ExploreResultsButton.jsx | 2 +-
.../src/SqlLab/components/LimitControl.tsx | 6 +-
.../src/SqlLab/components/QueryTable.jsx | 2 +-
.../src/SqlLab/components/SaveQuery.tsx | 4 +-
.../src/SqlLab/components/ScheduleQueryButton.jsx | 1 -
.../src/SqlLab/components/ShareSqlLabQuery.jsx | 2 +-
.../src/SqlLab/components/SqlEditor.jsx | 2 +-
superset-frontend/src/SqlLab/main.less | 6 +-
.../src/addSlice/AddSliceContainer.tsx | 3 +-
superset-frontend/src/chart/Chart.jsx | 4 +-
.../src/common/components/Dropdown.tsx | 19 +-
superset-frontend/src/common/components/Modal.tsx | 43 +-
superset-frontend/src/common/components/Tabs.tsx | 8 +-
.../components/Tooltip.tsx} | 13 +-
.../src/common/components/common.stories.tsx | 31 +-
.../src/components/AlteredSliceTag.jsx | 3 +-
.../src/components/Button/Button.stories.jsx | 22 +-
superset-frontend/src/components/Button/index.tsx | 62 +-
.../src/components/DatabaseSelector.tsx | 3 +-
superset-frontend/src/components/EditableTitle.tsx | 2 +-
superset-frontend/src/components/Label/index.tsx | 5 +
.../src/components/ListView/ListView.tsx | 6 +-
superset-frontend/src/components/ModalTrigger.jsx | 36 +-
.../src/components/RefreshChartOverlay.tsx | 11 +-
.../src/components/Select/SupersetStyledSelect.tsx | 6 +-
superset-frontend/src/components/TableLoader.jsx | 114 ----
superset-frontend/src/components/TableLoader.tsx | 101 +++
.../src/components/TableView/TableView.tsx | 39 +-
superset-frontend/src/components/Timer.tsx | 4 +-
.../src/dashboard/actions/sliceEntities.js | 52 +-
.../src/dashboard/components/Header.jsx | 13 +-
.../dashboard/components/HeaderActionsDropdown.jsx | 6 +-
.../src/dashboard/components/PropertiesModal.jsx | 95 ++-
.../src/dashboard/components/SliceHeader.jsx | 3 +
.../dashboard/components/SliceHeaderControls.jsx | 8 +-
.../dashboard/components/gridComponents/Chart.jsx | 1 +
.../components/gridComponents/Markdown.jsx | 45 +-
.../src/dashboard/containers/DashboardHeader.jsx | 5 +-
.../src/dashboard/reducers/dashboardInfo.js | 1 +
.../src/dashboard/reducers/getInitialState.js | 1 +
.../src/dashboard/stylesheets/popover-menu.less | 4 +-
.../src/datasource/DatasourceEditor.jsx | 1 +
.../src/datasource/DatasourceModal.tsx | 9 +-
.../{exploreActions.js => exploreActions.ts} | 91 +--
.../components/{Control.jsx => Control.tsx} | 76 +--
.../explore/components/ControlPanelsContainer.jsx | 4 +-
.../src/explore/components/DisplayQueryButton.jsx | 17 +-
.../src/explore/components/ExploreChartHeader.jsx | 1 +
.../src/explore/components/PropertiesModal.tsx | 59 +-
.../components/controls/ColorSchemeControl.jsx | 2 +-
.../components/controls/DatasourceControl.jsx | 122 ++--
.../components/controls/DatasourceControl.less | 48 --
.../components/controls/TextAreaControl.jsx | 2 +-
.../explore/components/controls/VizTypeControl.jsx | 7 +-
.../src/explore/reducers/exploreReducer.js | 13 -
.../messageToasts/actions/{index.js => index.ts} | 38 +-
.../src/messageToasts/components/Toast.tsx | 39 +-
.../messageToasts/components/ToastPresenter.tsx | 37 +-
.../messageToasts/{constants.js => constants.ts} | 13 +-
superset-frontend/src/messageToasts/propShapes.js | 39 --
superset-frontend/src/messageToasts/types.ts | 17 +-
.../utils/getToastsFromPyFlashMessages.js | 6 +-
superset-frontend/src/profile/components/App.tsx | 37 +-
.../src/profile/components/CreatedContent.tsx | 4 +-
.../src/profile/components/Favorites.tsx | 4 +-
.../src/profile/components/RecentActivity.tsx | 2 +-
superset-frontend/src/types/Chart.ts | 8 +
.../src/views/CRUD/chart/ChartList.tsx | 4 +-
.../src/views/CRUD/data/database/DatabaseModal.tsx | 5 -
.../src/visualizations/TimeTable/TimeTable.jsx | 365 ++++++-----
superset-frontend/webpack.proxy-config.js | 20 +-
.../annotation_layers}/__init__.py | 0
superset/annotation_layers/annotations/api.py | 483 ++++++++++++++
.../annotations/commands}/__init__.py | 0
.../annotations}/commands/bulk_delete.py | 24 +-
.../annotations/commands/create.py | 80 +++
.../annotations}/commands/delete.py | 30 +-
.../annotations/commands/exceptions.py | 72 +++
.../annotations/commands/update.py | 92 +++
.../annotations}/dao.py | 32 +-
.../annotations}/filters.py | 10 +-
superset/annotation_layers/annotations/schemas.py | 80 +++
superset/annotation_layers/api.py | 327 ++++++++++
.../annotation_layers/commands}/__init__.py | 0
.../commands/bulk_delete.py | 27 +-
.../commands/create.py | 40 +-
.../commands/delete.py | 33 +-
superset/annotation_layers/commands/exceptions.py | 66 ++
.../commands/update.py} | 53 +-
superset/annotation_layers/dao.py | 79 +++
.../filters.py | 12 +-
.../saved_queries => annotation_layers}/schemas.py | 29 +-
superset/app.py | 4 +
superset/charts/api.py | 66 +-
superset/{databases => charts}/commands/export.py | 69 +-
superset/charts/schemas.py | 1 +
superset/dashboards/api.py | 34 +-
superset/dashboards/commands/export.py | 84 +++
superset/databases/commands/export.py | 15 +-
superset/datasets/api.py | 34 +-
.../{databases => datasets}/commands/export.py | 77 ++-
superset/examples/birth_names.py | 1 +
superset/examples/deck.py | 1 +
superset/examples/helpers.py | 1 +
superset/examples/world_bank.py | 5 +-
...585b0b1a7b18_add_exec_info_to_saved_queries.py} | 20 +-
superset/models/annotations.py | 3 +
superset/models/dashboard.py | 12 +-
superset/models/sql_lab.py | 16 +
superset/queries/dao.py | 24 +-
superset/queries/saved_queries/api.py | 4 +
superset/views/core.py | 14 +-
tests/{security => annotation_layers}/__init__.py | 0
tests/annotation_layers/api_tests.py | 719 +++++++++++++++++++++
tests/charts/api_tests.py | 43 ++
tests/charts/commands_tests.py | 101 +++
tests/core_tests.py | 9 +-
tests/dashboards/api_tests.py | 59 ++
tests/dashboards/commands_tests.py | 190 ++++++
tests/databases/commands_tests.py | 15 +-
tests/datasets/api_tests.py | 64 ++
tests/datasets/commands_tests.py | 185 ++++++
tests/queries/saved_queries/api_tests.py | 6 +-
tests/sqllab_tests.py | 32 +-
152 files changed, 4986 insertions(+), 1320 deletions(-)
create mode 100644
superset-frontend/cypress-base/cypress/integration/dashboard/edit_properties.test.ts
create mode 100644
superset-frontend/spec/javascripts/dashboard/components/PropertiesModal_spec.jsx
copy superset-frontend/src/{SqlLab/components/TabStatusIcon.jsx =>
common/components/Tooltip.tsx} (77%)
delete mode 100644 superset-frontend/src/components/TableLoader.jsx
create mode 100644 superset-frontend/src/components/TableLoader.tsx
rename superset-frontend/src/explore/actions/{exploreActions.js =>
exploreActions.ts} (67%)
rename superset-frontend/src/explore/components/{Control.jsx => Control.tsx}
(60%)
delete mode 100644
superset-frontend/src/explore/components/controls/DatasourceControl.less
rename superset-frontend/src/messageToasts/actions/{index.js => index.ts} (64%)
rename superset-frontend/src/messageToasts/{constants.js => constants.ts} (74%)
delete mode 100644 superset-frontend/src/messageToasts/propShapes.js
copy {tests/security => superset/annotation_layers}/__init__.py (100%)
create mode 100644 superset/annotation_layers/annotations/api.py
copy {tests/security =>
superset/annotation_layers/annotations/commands}/__init__.py (100%)
copy superset/{queries/saved_queries =>
annotation_layers/annotations}/commands/bulk_delete.py (72%)
create mode 100644 superset/annotation_layers/annotations/commands/create.py
copy superset/{databases => annotation_layers/annotations}/commands/delete.py
(67%)
create mode 100644
superset/annotation_layers/annotations/commands/exceptions.py
create mode 100644 superset/annotation_layers/annotations/commands/update.py
copy superset/{queries/saved_queries => annotation_layers/annotations}/dao.py
(57%)
copy superset/{css_templates => annotation_layers/annotations}/filters.py (80%)
create mode 100644 superset/annotation_layers/annotations/schemas.py
create mode 100644 superset/annotation_layers/api.py
copy {tests/security => superset/annotation_layers/commands}/__init__.py (100%)
copy superset/{css_templates => annotation_layers}/commands/bulk_delete.py
(65%)
copy superset/{dashboards => annotation_layers}/commands/create.py (58%)
copy superset/{databases => annotation_layers}/commands/delete.py (64%)
create mode 100644 superset/annotation_layers/commands/exceptions.py
copy superset/{dashboards/commands/create.py =>
annotation_layers/commands/update.py} (53%)
create mode 100644 superset/annotation_layers/dao.py
copy superset/{css_templates => annotation_layers}/filters.py (79%)
copy superset/{queries/saved_queries => annotation_layers}/schemas.py (51%)
copy superset/{databases => charts}/commands/export.py (51%)
create mode 100644 superset/dashboards/commands/export.py
copy superset/{databases => datasets}/commands/export.py (50%)
copy superset/migrations/versions/{525c854f0005_log_this_plus.py =>
585b0b1a7b18_add_exec_info_to_saved_queries.py} (69%)
copy tests/{security => annotation_layers}/__init__.py (100%)
create mode 100644 tests/annotation_layers/api_tests.py
create mode 100644 tests/charts/commands_tests.py
create mode 100644 tests/dashboards/commands_tests.py
create mode 100644 tests/datasets/commands_tests.py