This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh-add-bypass-cache-dash
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 843f1bc save for now
add 2d67d2f fix(delete-modal): Changed the color of the help text with
grayScale.dark1 in DeleteModal (#18786)
add 5d2e726 fix: update standalone url for slack reports (#18756)
add 8dc2377 refactor: migrate ExploreCtasResultsButton component to
typescript (#18142)
add 80d66dd chore(FF): adding generic X axis Feature Flag (default:
False) (#18801)
add d3d7781 chore(deps): bump url-parse from 1.5.3 to 1.5.7 in /docs
(#18804)
add a0a01a1 chore(deps): bump hosted-git-info in /superset-frontend
(#18805)
add 642e80c Update pinot docs with fixed pinot connection (#18800)
add ea9a904 Adding pinot logo to ReadMe (#18798)
add 38cd696 refactor: move date_parser to unittest (#18810)
add 987740a fix: contribution operator meets nan value (#18782)
add e7ff4a5 docs: Added reference and link to configure instructions for
docker-compose… (#18815)
add 91236a5 fix(sqllab): Removed the tooltip from CopyToClipboard button
in sqllab (#18749)
add e3129e8 docs: add_db_logos (#18818)
add 32409b7 Update INTHEWILD.md (#18824)
add 3c17c60 fix(altered-modal): displayed the metric value in altered
modal correctly (#18813)
add a291537 Update configuring-superset.mdx (#18819)
add 7e51b20 fix(mssql): support top syntax for limiting queries (#18746)
add c491829 chore: unify usages of nvd3 library (#18828)
add 5356343 Fix annotation cache (#18788)
add d632590 stop query on the processing engine when user clicks STOP on
SQL Lab (#18789)
add 7cad143 chore: npm audit fix in cypress-base (#18820)
add a9a8929 fix: Position of arrows in Table chart (#18739)
add 4c16586 fix(key-value): lost url_params after long-url feature
(#18846)
add 9d5c050 feat(native-filters): Re-arrange controls in FilterBar
(#18784)
add 700829b docs: add GA conf to config (#18861)
add e5c7478 feat(native-filters): Don't scroll main window when scrolling
filter bar (#18876)
add 0edb979 docs: fix toc position scroll bug (#18868) (#18878)
add 324601e fix: FilterBox date endpoints to use [inclusive, exclusive)
(#18857)
add 0922c3f feat(native-filters): Implement filter cards (#18874)
add f38bcab Fix database list (#18886)
add 0ae1ca7 chore(tests-backend): migrate snowflake and sqlite to unit
tests (#18854)
add 2c86d1a docs(Import API): update function description, overwrite real
meaning (#18882)
add cdd4fa5 fix(dashboard): incorrect chart error with slow dataset api
request (#18852)
add dafc841 feat: allow adding pod labels (#18848)
add 7345795 fix: Source from Apache Foundation's website link (#18894)
add db8f508 chore(deps-dev): bump css-loader in /superset-frontend
(#17977)
add a378a1f docs: remove old viz plugin docs (#18914)
add 1638090 fix(docs): add missing static files to build (#18920)
add 5752372 refactor(docs): clean up deploy of static files (#18923)
add 94e245d add force condition for exporting csv (#18911)
add da3bc48 feat: On window focus, redirect to login if the user has been
logged out (#18773)
add 0af671f test(native filter): add new native filter test for time
column filter (#18850)
add c1ee75d fix: filter indicator pointing issue on popover (#18853)
add 9fd18e9 refactor(ImportModelsCommand): clean code, extract logic into
methods (#18866)
add 00c99c9 feat: new dataset/table/column models (#17543)
add 822dd6d chore: update UPDATING re: SIP-68 (#18935)
add 209e3f4 feat: DBC-UI Globally available across the app 🌎 (#18722)
add 420a63f fix(sqllab): Un-render deselected tabs (#18934)
add 8d38675 chore: add intersect method from backend to fontend for
upload extensions (#18811)
add 0db49b1 fix Metadata browser in SQL not render nicely in Safari
(#18855)
add 4923256 fix: Monospacing errors in dashboards & charts (#18796)
add 2bd8d3b test(Native Filter): User can create parent filters using
"Filter is hierarchical (#18915)
add 0b1bc5b fix(native-filter): fix required filters of a dashboard won't
load properly (#18695)
add 2cb3635 fix(deck.gl): multiple layers map size is shrunk (#18939)
add fd4bd1e chore: Moves components out of the commons folder (#18931)
add 79633ce fix: null schema issue in saved queries (#18849)
add 0994217 fix: bump Helm chart release version (#18751) (#18758)
add d46ee31 Merge branch 'master' of https://github.com/apache/superset
into hugh-add-bypass-cache-dash
No new revisions were added by this update.
Summary of changes:
README.md | 3 +
RESOURCES/INTHEWILD.md | 1 +
UPDATING.md | 1 +
.../docs/databases/installing-database-drivers.mdx | 10 +-
docs/docs/databases/pinot.mdx | 2 +-
docs/docs/databases/teradata.mdx | 18 +-
docs/docs/databases/yugabyte.mdx | 20 +
docs/docs/frequently-asked-questions.mdx | 2 +-
.../installation/building-custom-viz-plugins.mdx | 232 -
docs/docs/installation/configuring-superset.mdx | 5 +-
docs/docs/intro.mdx | 2 +-
docs/docusaurus.config.js | 4 +
docs/package-lock.json | 128 +-
docs/package.json | 9 +-
docs/src/css/custom.css | 4 +
docs/src/pages/index.tsx | 7 +-
docs/src/resources/data.js | 10 +
docs/static/.asf.yaml | 22 +
docs/static/.htaccess | 23 +
docs/static/img/databases/teradata.png | Bin 0 -> 93361 bytes
docs/static/img/databases/yugabyte.png | Bin 0 -> 6460 bytes
docs/yarn.lock | 1096 ++-
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment-beat.yaml | 3 +
helm/superset/templates/deployment-worker.yaml | 3 +
helm/superset/templates/deployment.yaml | 3 +
helm/superset/values.schema.json | 9 +
helm/superset/values.yaml | 9 +-
.../integration/dashboard/nativeFilters.test.ts | 155 +-
.../cypress-base/cypress/support/directories.ts | 7 +-
superset-frontend/cypress-base/package-lock.json | 7660 ++++++++++----------
superset-frontend/package-lock.json | 46 +-
.../plugins/legacy-plugin-chart-rose/package.json | 2 +-
.../plugins/legacy-plugin-chart-rose/src/Rose.js | 2 +-
.../legacy-preset-chart-deckgl/src/Multi/Multi.jsx | 4 +-
.../src/Timeseries/Area/controlPanel.tsx | 4 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 4 +-
.../src/Timeseries/Regular/controlPanel.tsx | 4 +-
.../src/Timeseries/Step/controlPanel.tsx | 4 +-
.../src/Timeseries/controlPanel.tsx | 4 +-
.../plugins/plugin-chart-table/src/Styles.tsx | 6 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 11 +-
.../src/SqlLab/components/ColumnElement/index.tsx | 8 +-
.../{index.jsx => index.tsx} | 55 +-
.../src/SqlLab/components/ResultSet/index.tsx | 3 +-
.../components/RunQueryActionButton/index.tsx | 2 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 3 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 3 +-
.../src/SqlLab/components/SaveQuery/index.tsx | 3 +-
.../components/ScheduleQueryButton/index.tsx | 3 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 21 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 8 +-
.../SqlLab/components/TabbedSqlEditors/index.jsx | 3 +-
superset-frontend/src/SqlLab/types.ts | 1 +
superset-frontend/src/assets/images/pinot.png | Bin 0 -> 68618 bytes
superset-frontend/src/assets/images/teradata.png | Bin 0 -> 93361 bytes
superset-frontend/src/assets/images/yugabyte.png | Bin 0 -> 6460 bytes
superset-frontend/src/chart/Chart.jsx | 12 +-
superset-frontend/src/chart/chartReducer.ts | 7 +-
superset-frontend/src/common/components/index.tsx | 195 -
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 12 +
.../AlteredSliceTag/AlteredSliceTagMocks.js | 8 +
.../src/components/AlteredSliceTag/index.jsx | 4 +
superset-frontend/src/components/Button/index.tsx | 8 +-
.../CopyToClipboard/CopyToClipboard.stories.tsx | 1 +
.../CopyToClipboard/CopyToClipboard.test.tsx | 10 +
.../src/components/CopyToClipboard/index.jsx | 41 +-
.../components/CronPicker/CronPicker.stories.tsx | 3 +-
.../Datasource/ChangeDatasourceModal.tsx | 3 +-
.../src/components/DeleteModal/index.tsx | 4 +-
.../src/components/Dropdown/Dropdown.stories.tsx | 2 +-
.../src/components/Dropdown/index.tsx | 17 +-
.../DropdownButton/DropdownButton.stories.tsx | 2 +-
.../Input/index.tsx} | 25 +-
.../ListViewCard/ListViewCard.stories.tsx | 3 +-
.../src/components/ListViewCard/index.tsx | 12 +-
.../components => components/Menu}/index.tsx | 104 +-
.../src/components/PopoverDropdown/index.tsx | 3 +-
.../HeaderReportActionsDropdown/index.tsx | 3 +-
.../src/dashboard/components/CssEditor/index.jsx | 3 +-
.../DashboardBuilder/DashboardBuilder.tsx | 19 +-
.../components/FiltersBadge/DetailsPanel/index.tsx | 2 +-
.../Header/HeaderActionsDropdown/index.jsx | 3 +-
.../dashboard/components/PropertiesModal/index.tsx | 3 +-
.../src/dashboard/components/SaveModal.tsx | 3 +-
.../src/dashboard/components/SliceAdder.jsx | 2 +-
.../SliceHeaderControls.test.tsx | 4 +-
.../components/SliceHeaderControls/index.tsx | 3 +-
.../dashboard/components/gridComponents/Chart.jsx | 1 +
.../menu/ShareMenuItems/ShareMenuItems.test.tsx | 2 +-
.../components/menu/ShareMenuItems/index.tsx | 2 +-
.../ActionButtons.test.tsx} | 54 +-
.../FilterBar/ActionButtons/index.tsx | 125 +
.../nativeFilters/FilterBar/FilterBar.test.tsx | 4 +-
.../FilterBar/FilterControls/FilterControls.tsx | 5 +-
.../FilterBar/FilterSets/FilterSetUnit.tsx | 3 +-
.../nativeFilters/FilterBar/FilterSets/index.tsx | 2 +
.../nativeFilters/FilterBar/Header/Header.test.tsx | 60 -
.../nativeFilters/FilterBar/Header/index.tsx | 108 +-
.../components/nativeFilters/FilterBar/index.tsx | 71 +-
.../nativeFilters/FilterCard/DependenciesRow.tsx | 113 +
.../FilterCard/FilterCardContent.tsx} | 24 +-
.../nativeFilters/FilterCard/NameRow.tsx | 50 +
.../nativeFilters/FilterCard/ScopeRow.tsx | 68 +
.../components/nativeFilters/FilterCard/Styles.ts | 90 +
.../FilterCard/TooltipWithTruncation.tsx} | 27 +-
.../nativeFilters/FilterCard/TypeRow.tsx} | 32 +-
.../components/nativeFilters/FilterCard/index.tsx | 50 +
.../components/nativeFilters/FilterCard/types.ts} | 22 +-
.../FilterCard/useFilterDependencies.ts} | 31 +-
.../nativeFilters/FilterCard/useFilterScope.ts | 143 +
.../nativeFilters/FilterCard/useTruncation.ts | 58 +
.../FiltersConfigModal/DividerConfigForm.tsx | 2 +-
.../FiltersConfigModal/FilterTitlePane.tsx | 3 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 2 +-
.../FiltersConfigModal/NativeFiltersModal.test.tsx | 3 +-
superset-frontend/src/dashboard/constants.ts | 9 +
.../HiddenControl.tsx => dashboard/styles.ts} | 34 +-
.../src/dashboard/util/findPermission.test.ts | 1 +
.../explore/components/DataTableControl/index.tsx | 3 +-
.../explore/components/DatasourcePanel/index.tsx | 2 +-
.../ExploreAdditionalActionsMenu.test.jsx | 3 +-
.../ExploreAdditionalActionsMenu/index.jsx | 3 +-
.../components/ExploreViewContainer/index.jsx | 13 +
.../components/ExportToCSVDropdown/index.tsx | 3 +-
.../explore/components/PropertiesModal/index.tsx | 3 +-
.../src/explore/components/SaveModal.tsx | 2 +-
.../controls/AnnotationLayerControl/index.jsx | 10 +-
.../explore/components/controls/BoundsControl.tsx | 2 +-
.../FormattingPopoverContent.tsx | 3 +-
.../DatasourceControl/DatasourceControl.test.jsx | 2 +-
.../controls/DatasourceControl/index.jsx | 3 +-
.../DateFilterControl/components/AdvancedFrame.tsx | 2 +-
.../DateFilterControl/components/CustomFrame.tsx | 3 +-
.../DndColumnSelectPopoverTitle.jsx | 2 +-
.../index.tsx | 2 +-
.../explore/components/controls/HiddenControl.tsx | 2 +-
.../MetricControl/AdhocMetricEditPopoverTitle.jsx | 2 +-
.../components/controls/TextAreaControl.jsx | 2 +-
.../components/controls/TextAreaControl.test.jsx | 2 +-
.../components/controls/TextControl/index.tsx | 2 +-
.../controls/TimeSeriesColumnControl/index.jsx | 3 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 3 +-
superset-frontend/src/preamble.ts | 30 +-
.../src/profile/components/fixtures.tsx | 1 +
superset-frontend/src/types/bootstrapTypes.ts | 1 +
superset-frontend/src/utils/common.js | 2 +
.../components/AlertReportCronScheduler.test.tsx | 3 +-
.../alert/components/AlertReportCronScheduler.tsx | 3 +-
.../src/views/CRUD/chart/ChartCard.tsx | 3 +-
.../src/views/CRUD/dashboard/DashboardCard.tsx | 3 +-
superset-frontend/src/views/CRUD/utils.test.tsx | 17 +
superset-frontend/src/views/CRUD/utils.tsx | 12 +
.../src/views/CRUD/welcome/SavedQueries.tsx | 3 +-
.../src/views/components/LanguagePicker.test.tsx | 2 +-
.../src/views/components/LanguagePicker.tsx | 2 +-
.../src/views/components/Menu.test.tsx | 99 +-
superset-frontend/src/views/components/Menu.tsx | 11 +-
.../src/views/components/MenuRight.tsx | 191 +-
superset-frontend/src/views/components/SubMenu.tsx | 3 +-
.../components/types.ts} | 25 +-
.../src/visualizations/FilterBox/FilterBox.jsx | 1 +
superset/charts/api.py | 2 +-
.../columns}/__init__.py | 0
superset/columns/models.py | 99 +
superset/columns/schemas.py | 40 +
superset/commands/importers/v1/__init__.py | 42 +-
superset/common/query_object.py | 2 +
superset/config.py | 1 +
superset/connectors/sqla/models.py | 487 +-
superset/datasets/models.py | 92 +
superset/datasets/schemas.py | 14 +
superset/db_engine_specs/base.py | 75 +
superset/db_engine_specs/hive.py | 4 +
superset/db_engine_specs/mssql.py | 1 +
superset/db_engine_specs/teradata.py | 238 +-
superset/initialization/__init__.py | 2 +
.../versions/b8d3a24d9131_new_dataset_models.py | 598 ++
superset/models/core.py | 4 +-
superset/models/helpers.py | 20 +
superset/reports/notifications/slack.py | 8 +-
superset/security/manager.py | 2 +
superset/sql_lab.py | 3 +-
superset/sql_parse.py | 65 +-
.../tables}/__init__.py | 0
superset/tables/models.py | 92 +
superset/tables/schemas.py | 40 +
superset/users/api.py | 56 +
superset/users/schemas.py | 28 +
.../utils/pandas_postprocessing/contribution.py | 1 +
superset/views/base.py | 24 +-
superset/views/core.py | 3 +-
superset/views/database/forms.py | 17 +-
superset/views/database/views.py | 33 -
superset/views/utils.py | 1 +
tests/integration_tests/csv_upload_tests.py | 4 +
.../dashboards/filter_sets/conftest.py | 195 +-
.../dashboards/filter_sets/create_api_tests.py | 4 +-
.../dashboards/filter_sets/delete_api_tests.py | 8 +-
.../dashboards/filter_sets/get_api_tests.py | 4 +-
.../dashboards/filter_sets/update_api_tests.py | 8 +-
.../dashboards/superset_factory_util.py | 34 +-
tests/integration_tests/datasets/api_tests.py | 1 +
.../db_engine_specs/snowflake_tests.py | 106 -
.../db_engine_specs/sqlite_tests.py | 78 -
tests/integration_tests/reports/commands_tests.py | 5 +
tests/integration_tests/security_tests.py | 20 +-
tests/integration_tests/users/api_tests.py | 49 +
tests/integration_tests/utils/date_parser_tests.py | 362 -
.../{pandas_postprocessing => columns}/__init__.py | 0
tests/unit_tests/columns/test_models.py | 53 +
.../datasets/commands/importers/v1/import_test.py | 14 +-
tests/unit_tests/datasets/test_models.py | 1244 ++++
tests/unit_tests/db_engine_specs/test_mssql.py | 31 +
tests/unit_tests/db_engine_specs/test_snowflake.py | 127 +
tests/unit_tests/db_engine_specs/test_sqlite.py | 90 +
tests/unit_tests/db_engine_specs/test_teradata.py | 83 +-
.../pandas_postprocessing/test_contribution.py | 36 +-
.../{pandas_postprocessing => tables}/__init__.py | 0
tests/unit_tests/tables/test_models.py | 50 +
tests/unit_tests/utils/date_parser_tests.py | 358 +
221 files changed, 9930 insertions(+), 6991 deletions(-)
create mode 100644 docs/docs/databases/yugabyte.mdx
delete mode 100644 docs/docs/installation/building-custom-viz-plugins.mdx
create mode 100644 docs/static/.asf.yaml
create mode 100644 docs/static/.htaccess
create mode 100644 docs/static/img/databases/teradata.png
create mode 100644 docs/static/img/databases/yugabyte.png
rename
superset-frontend/src/SqlLab/components/ExploreCtasResultsButton/{index.jsx =>
index.tsx} (71%)
create mode 100644 superset-frontend/src/assets/images/pinot.png
create mode 100644 superset-frontend/src/assets/images/teradata.png
create mode 100644 superset-frontend/src/assets/images/yugabyte.png
copy superset-frontend/src/{explore/components/controls/HiddenControl.tsx =>
components/Input/index.tsx} (55%)
copy superset-frontend/src/{common/components => components/Menu}/index.tsx
(61%)
copy
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{Header/Header.test.tsx
=> ActionButtons/ActionButtons.test.tsx} (55%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/ActionButtons/index.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/DependenciesRow.tsx
copy superset-frontend/src/{explore/components/controls/HiddenControl.tsx =>
dashboard/components/nativeFilters/FilterCard/FilterCardContent.tsx} (65%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/NameRow.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/ScopeRow.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/Styles.ts
copy superset-frontend/src/{explore/components/controls/HiddenControl.tsx =>
dashboard/components/nativeFilters/FilterCard/TooltipWithTruncation.tsx} (66%)
copy superset-frontend/src/dashboard/{constants.ts =>
components/nativeFilters/FilterCard/TypeRow.tsx} (61%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/index.tsx
copy superset-frontend/src/{explore/components/controls/HiddenControl.tsx =>
dashboard/components/nativeFilters/FilterCard/types.ts} (68%)
copy superset-frontend/src/dashboard/{constants.ts =>
components/nativeFilters/FilterCard/useFilterDependencies.ts} (58%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/useFilterScope.ts
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/useTruncation.ts
copy superset-frontend/src/{explore/components/controls/HiddenControl.tsx =>
dashboard/styles.ts} (61%)
copy superset-frontend/src/{explore/components/controls/HiddenControl.tsx =>
views/components/types.ts} (60%)
copy {tests/unit_tests/pandas_postprocessing => superset/columns}/__init__.py
(100%)
create mode 100644 superset/columns/models.py
create mode 100644 superset/columns/schemas.py
create mode 100644 superset/datasets/models.py
create mode 100644
superset/migrations/versions/b8d3a24d9131_new_dataset_models.py
copy {tests/unit_tests/pandas_postprocessing => superset/tables}/__init__.py
(100%)
create mode 100644 superset/tables/models.py
create mode 100644 superset/tables/schemas.py
create mode 100644 superset/users/api.py
create mode 100644 superset/users/schemas.py
delete mode 100644 tests/integration_tests/db_engine_specs/snowflake_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/sqlite_tests.py
create mode 100644 tests/integration_tests/users/api_tests.py
delete mode 100644 tests/integration_tests/utils/date_parser_tests.py
copy tests/unit_tests/{pandas_postprocessing => columns}/__init__.py (100%)
create mode 100644 tests/unit_tests/columns/test_models.py
create mode 100644 tests/unit_tests/datasets/test_models.py
create mode 100644 tests/unit_tests/db_engine_specs/test_snowflake.py
create mode 100644 tests/unit_tests/db_engine_specs/test_sqlite.py
copy tests/unit_tests/{pandas_postprocessing => tables}/__init__.py (100%)
create mode 100644 tests/unit_tests/tables/test_models.py
create mode 100644 tests/unit_tests/utils/date_parser_tests.py