You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2021/08/11 00:15:09 UTC
[superset] branch import_dir_command updated (1943282 -> caef8a9)
This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch import_dir_command
in repository https://gitbox.apache.org/repos/asf/superset.git.
discard 1943282 WIP
add de17acd feat(menu): expand support for custom branding (#15628)
add 154f460 chore: Removes unnecessary uses of preselectNativeFilters (#15688)
add ac01d91 fix: Show affected filters when interacting with the filters (#15634)
add 070f0b6 refactor: icon to icons for IconButton and Header component (#15647)
add 5d86b8dd refactor: remove old Icon component (#15690)
add 985af72 fix(dashboard): Make the View Chart In Explore menu option a link (#15668)
add 22494b6 fix: remove form invalid title (#15679) (#15680)
add b489cff fix: no lazy translation on SupersetError (#15669)
add d908dd6 chore: better copy for SQL dialog (#15714)
add e305f2a perf(dashboard): make loading datasets non-blocking (#15699)
add 7dd3af6 feat: add Column to reports model (#15683)
add 625468c Fix style (#15662)
add 234e308 feat(homepage): move savequeries table and render open conditionally (#15711)
add 0c74a80 oops (#15725)
add 6b79099 fix: Add waiting time for chart animation when screenshot (#15610)
add 674f234 feat: add logic to creation_method for reports schedule (#15685)
add 0ed97eb docs: update dev superset version (#15718)
add 42d84de fix: Incorrect translations in the SQLLab in Chinese (#15727)
add 0721f54 fix: use expected label in the metrics map (#15707)
add 66c28d6 fix(explore): DndColumnSelect sometimes not working with multi: false (#15731)
add fe68e45 fix: Reduce js bundle size (#15721)
add 71924eb fix(explore): wrong error message in conditional formatting (#15732)
add e9383e6 chore(explore): Bump plugin-chart-pivot-table (#15742)
add 4234031 feat(explore): UX improvements for drag'n'dropping time column (#15740)
add 069d5cb chore: bump superet-ui 0.17.69 (#15767)
add ca873ac chore: Reformat disable checks to multiline (#15753)
add 4e79ffd Set label max width (#15710)
add 5cc4f3c chore: Select component refactoring - DateFilterControl - Iteration 5 (#15571)
add 45c3ae0 chore: Select component refactoring - ColorSchemeControl - Iteration 5 (#15555)
add 281cb92 Update INTHEWILD.md (#15776)
add 7d0f6ab fix: Fixing `schemas_allowed_for_upload` field in database connection UX (#15750)
add 618a354 Revert "quote column name if db requires (#15465)" (#15752)
add 239336c fix(explore): dnd multiple columns doesn't work (#15781)
add a7cbcde fix: Edit physical dataset from the Edit Dataset modal (#15770)
add 3a249a0 feat: add show columns to Reports model (#15712)
add 9a14aed fix: margin right on warning icon to 8px (#15715)
add 80dd525 feat: adding Progress Bar to Benchmark script (#15719)
add 1e1706d fix: migration downgrade references wrong column (#15791)
add 9ff2531 fix(dashboard): Add resize handles to right and bottom of component (#15778)
add 3b74416 chore: Add tags to the new viz gallery (#15734)
add dd80016 chore: bump 0.17.70 (#15795)
add 2aa8899 docs: Adding Sunbird to users list (#15794)
add ad773ff chore: Improves the Select component UI/UX - iteration 4 (#15480)
add cbd3780 Add z-index only on maximize (#15800)
add c9dad05 chore: remove `retry` dependency in favor of `backoff` (#15788)
add 5cc95bb fix: create fk model in benchmark script (#15804)
add 6cb91ee fix: migration script can't drop constraint (#15807)
add e969edc fix: Bust chart cache when metric/column is changed (#15786)
add 5bce253 chore: Re-eanble non-problemaric Pylint messages (#15772)
add 32a5680 chore: pylint reenable bad-option-value (#15775)
add d262540 fix: benchmark_migration.py needs to close sssion (#15822)
add ab4e3b9 chore: Enforce Mypy for non-tests (#15757)
add 9a79a57 feat: store query context when saving charts (#15824)
add fefcea7 fix(Explore): Cell height and spacing for Data panel (#15821)
add e66db63 reports (#15828)
add 3441182 chore: remove unnecessary deps (#15787)
add f104fba feat: add `GET /api/v1/chart/{chart_id}/data/?format{format}` API (#15827)
add 2113196 fix: publish the new example dashboards (#15803)
add f6fe29d feat: use new API endpoint to build CSV reports (#15830)
add fdb4035 chore: Changes the pagination API of the Select component (#15802)
add b9d3338 fix: dataTablesPane cell render undefine when the dot in metric label (#15817)
add 040b941 chore: bump superset-ui to 0.17.71 (#15839)
add 5e1c469 feat(explore): default aggregate for string/numeric columns when creating metric (#15798)
add 04c0680 feat(homepage): conditionally render viewed tab and move examples to chart and dashboard table (#15792)
add e660de6 chore: Adds lazy loading to the Select component (#15799)
add d4bec13 Render value immediately (#15820)
add ebec353 fix(dashboard): Remove edit from url params when discarding changes (#15709)
add c1eb9ce add timezone to report schedule (#15747)
add 9c854ff bump typescript (#15847)
add d408ff8 fix(explore): show multi queries results in View query modal and data pane (#15840)
add f9b7250 fix: revert DEFAULT_SQLLAB_LIMIT to default (#15869)
add 73b436a fix: Unable to create alerts/report after introduced creation_method (#15760)
add 4ba1709 fix: Ensure SupersetError.extra is always a dict (#15848)
add 65728ea fix(15482): Propagate SupersetSecurityException error (#15874)
add 7330aef feat: deprecate plugins by their metadata (#15882)
add 9c81599 chore: Adds the tests that need to be coded for the Select component (#15885)
add 6d3e19d fix(15403): Re-enable canceling query for Hive and Presto (#15878)
add b81f120 add timezone selector component (#15880)
add 873daf3 chore: bumping superset-ui 0.17.72 (#15895)
add 2f95f81 feat: apply post processing to chart data (#15843)
add fb5dce0 chore: implement new mockup to the new viz gallery (2nd iteration) (#15868)
add 16a26ba fix: New time range filter initially show advance section (#15889)
add f6115a7 fix: Side menu of the dashboard component will scroll out of dashboard (#15888)
add 7aeb150 fix: Download as image of dashboard chart did not work (#15897)
add 5be0a89 fix: Charts sort by in edit mode gets cut off (#15896)
add 62550db fix: Update Query Context on Explore loading (#15865)
add 1297fd9 fix(dashboard): Refresh Native Filters when Dashboard refreshes (#15890)
add e6a3702 fix(Explore): "Customize" tab rendering behavior (#15841)
add 2d00565 Incorrect translations (#15813)
add eeba326 chore: set UUID of examples DB (#15724)
add 315c52a fix: dashboard url error when edit slug (#15893)
add 94e759d chore: bumping superset-ui 0.17.73 (#15901)
add 019e746 Update alerts_reports.mdx (#15904)
add 3f5237a feat(explore): new datasets have autocomplete filters enabled if UX_BETA is set (#15864)
add 663dd3f chore: Improves the layout of the VizTypeGallery component (#15907)
add e5540b7 fix: no roles being returned for anonymous user (#15585)
add 8c7e09e fix: Select a query from History and Run (#15891)
add 2ce676d feat: call screenshot to store `query_context` (#15846)
add a3f54a6 chore: small viz gallery tweaks (#15900)
add ea49aa3 feat: add timezones to report cron (#15849)
add eda38a7 chore: bump superset-ui to 0.17.74 (#15923)
add 11b0249 fix: remove unused time column when update dataset (#14969)
add bdfc2dc fix: Keep chosen columns sort option when changing a column (#15918)
add 32d2aa0 feat: run extra query on QueryObject and add compare operator for post_processing (#15279)
add 3adf8e8 feat: send data embedded in report email (#15805)
add 671b8f2 chore: Mypy fix **kwargs type (#15823)
add 3f6c81b add timezone selector to alerts and reports (#15920)
add bfe7eb9 feat(dbc ui): Adding Google Sheets Dynamic Form (#15801)
add 7b503fa docs: add .asf.yaml (#15931)
add 7b0acc4 chore: Changes the main menu order as defined in SIP-34 (#15929)
add ac9c137 fix(dashboard): check dashboard id before calling redux methods (#15921)
add 56dd2a3 fix(dashboard): Show the filters popover behind the dashboard header when scrolling (#15933)
add 6afa840 feat: send report data to Slack (#15806)
add f4739f4 feat: post-processing for pivot table v2 (#15879)
add 02f9749 feat(homepage): add more cards and new layout (#15853)
add 3b9b2c9 Update ModalHeader.tsx (#15949)
add c2e4290 fix(dashboard): Add required message in the tooltip for the time range filter (#15941)
add e8f18f4 fix: Drag inner tab to outer tab while editing a dashboard will show an error (#15946)
add eb78f43 fix: Name change is not lost in left side of modal when return to edition after aborting changes (#15952)
add cc704dd fix: Cancel alert is not appearing to all native filters modal fields (#15925)
add 2d61f15 feat: send post-processed data in reports (#15953)
add f1b57c0 fix: DB add modal (#15981)
add a3a762e fix: Dataset field required 2 clicks to select when dashboard was empty (#15985)
add 7e691f9 Update bug_report.md (#15987)
add 908db3a fix select width (#15986)
add c37c56c Revert "fix: Select a query from History and Run (#15891)" (#15992)
add 5fd798a chore: change dropdown icons from horizontal to vertical (#15958)
add 324ecb3 fix: three button styles to tertiary (#15978)
add b73d7ba fix(dashboard): FilterBox JS error when datasets API is slow (#15993)
add c01d42f fix: eliminate cartesian product columns in pivot operator (#15975)
add ce6bc3b fix: save DB with with query (#15991)
add 46188c1 fix(explore): calculate query staleness correctly (#15994)
add a786373 feat: auto sync table columns when change dataset (#15887)
add 475f9cd fix: Sort Metrics by ID DESC (order of creation) in the Datasource Editor (#15971)
add c77bf26 fix(native-filters): add support for versioned import/export (#16017)
add 3061b6a fix(explore): fix undefined error when using dnd (#16020)
add 22dc3d1 docs: update api (#16005)
add 6095978 docs: add Hydrolix to users list (#15950)
add 31d79ff docs: add instructions for how to connect to local database from docker container (#15936)
add 5031a67 feat: Self subscribe reports (#16027)
add a7f247b chore: Bump Celery (#15927)
add 39db6a7 docs: update api 2 (#16032)
add e057678 add feature flag to header bar (#16031)
add a889cb3 chore: Auto focus the viz gallery select (#16025)
add 3f57ea7 fix: missing mulitiple metrics on pivot operator (#16026)
add c8a8347 chore: bump superset-ui to 0.17.77 (#16034)
add 39913d2 Implement sectionId (#16022)
add 76a13df fix: Modal is blinking when opening (#16035)
add c0615c5 fix: Ensure table uniqueness on update (#15909)
add 5917407 fix(explore): filter popover opening after removing a filter (#16024)
add 41e8190 chore: Use datetime.timedelta for defining durations in config (#16029)
add 4cb79e5 fix: Fix long dashboards screenshot emails (#15954)
add 7b15b76 fix: DB exported with incorrect type (#16037)
add 7c059cd fix: make dataset update methods static instead of global (#16044)
add ec22acb fix: handle schemas_allowed_for_csv_upload serde (#16038)
add 0462252 Revert a7f247b472efedaf13b30fc02e9acdf6fe38795f (#16039)
add 430ebe1 fix: sync columns in explore page (#16042)
add 69c5cd7 feat: handle subtle bug with load-examples (#16052)
add 490890d fix(dashboard): 500 error caused by data_for_slices API (#16053)
add 7332055 chore: bump superset-ui to 0.17.78 (#16058)
add 1917464 fix: Fix the Select unselect for object values (#16062)
add 2c55cc6 fix: Align alert solid small svg center (#15762)
add 86cecae fix(native-filters): add support for boolean cols to select (#16061)
add 7c95595 fix(docker-compose): Make db service use correct env file (#15659)
add 4359650 fix: Adding report bug (#16065)
add 7effa44 refactor: adopt --app as celery global option (#16040)
add 7ef97a5 feat(explore): add automatic conditional formatter to pivot table v2 (#16045)
add 11a2d4d fix: Remove grey bar for TableElement component when `metadata` is empty (#16054)
add a59d458 chore(explore): Create new entrypoints for Echarts Timeseries (#15942)
add 1dbd1e9 chore: simplify chart permissions (#16078)
add af204ff chore(explore): bump deckgl to 0.4.9 (#16086)
add e6274e0 change button color (#16093)
add b72fd7b fix: load tabbed dash only for tests (#16091)
add 2307216 fix(dashboard): user id can be null when there is an anonymous user (#15592)
add e6292a8 fix(explore): drag & drop column select component triggering onChange unnecessarily (#16073)
add 2bfc1c2 docs: fix link and clarify postgres install instructions (#16101)
add 423ff50 chore: Changes the dashboard properties modal to use the new select component (#16064)
add e59f318 chore: Changes the RefreshIntervalModal component to use the new select component (#16048)
add 6edc1ee chore: Replaces the select for a dropdown button in the CSS editor (#16043)
add b80f018 fix: move watermark to about section (#16097)
add 772da8d fix(explore): revert dnd column dependency array change to fix infinite rerenders (#16115)
add 28c383a fix: migrate_roles (#16098)
add 22d8d58 docs: update install-from-scratch instructions for CentOS (#16129)
add 85329c3 refactor: remove unnecessary dataset queries from dashboard requests (#16110)
add 85ae8e3 refactor: proper TypeError handling in memoize decorator (#16074)
add 3bbcc30 fix: virtual dataset wont work (#16132)
add ddb5005 fix: test (#16137)
add b07c80a Adjust width (#16092)
add df50a47 chore: add stats logging to thumbnail api (#16133)
add 2db1615 feat: add profiling to Superset pages (#16136)
add 6ac4f4e chore(explore): change dnd placeholders (#16116)
add 578a9e9 build: Removed jsx-remove-data-test-id usage from code for multi-build-variant testing (#15386)
add b7cc89c fix(explore): dnd error when dragging metric if multi: false (#16088)
add a518513 feat: added google alert to DB Connection Form (#16095)
add 5ce3883 feat: better errors for report in charts and dashboard (#16131)
add 606a7bf fix: change Alert Permissions (#16118)
add 3712ee0 additional params field fixed (#16161)
add 79e8d77 chore: remove TerserPlugin step for build (#16163)
add bb1d8fe fix: boolean type into SQL 'in' operator (#16107)
add 07f3399 fix: Multiple dashboard refresh triggers for the same session (#16094)
add 273ab3d fix: Safari is not showing scroll bars in Explore (#16089)
add a702487 feat: add sticky state to tables and loadingcards state. (#16102)
add 6e1d16d feat(explore): each control can define its own canDrop for dnd (#16090)
add 5488a8a add config to hide some user menu items (#16156)
add 63ace7b feat(cross-filters): add support for temporal filters (#16139)
add f0e3b68 fix: ensure that users viewing chart does not automatically save edit data (#16077)
add fd80ae3 fix: Make sheet_name into a `ValidationInputError` (#16056)
add 3f86a54 fix: turn on SSL in database edit form show 500 error (#16151)
add 7b3fce7 fix: revert data endpoint name (#16162)
add 5e64d65 Hide Safari default tooltip (#16145)
add a310248 feat: add chart image info to reports from charts (#16158)
add db160fb feat: command to import configuration from a directory
add caef8a9 Small fixes
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (1943282)
\
N -- N -- N refs/heads/import_dir_command (caef8a9)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/ISSUE_TEMPLATE/bug_report.md | 1 +
.pylintrc | 18 +-
Dockerfile | 2 +-
Makefile | 3 +
RELEASING/changelog.py | 13 +-
RELEASING/send_email.py | 49 +-
RESOURCES/INTHEWILD.md | 4 +-
UPDATING.md | 3 +
docker-compose-non-dev.yml | 2 +-
docker-compose.yml | 3 +
docker/pythonpath_dev/superset_config.py | 7 +-
.../notifications/exceptions.py => docs/.asf.yaml | 6 +-
docs/installation.rst | 2 +-
docs/package.json | 2 +-
.../pages/docs/Connecting to Databases/index.mdx | 2 +-
.../docs/Connecting to Databases/postgres.mdx | 4 +-
.../src/pages/docs/installation/alerts_reports.mdx | 1 +
.../docs/installation/async_queries_celery.mdx | 2 +-
docs/src/pages/docs/installation/index.mdx | 10 +
.../pages/docs/installation/installing_scratch.mdx | 12 +
docs/src/resources/openapi.json | 1857 ++++--
requirements/base.txt | 13 +-
requirements/development.in | 2 +
requirements/development.txt | 6 +-
requirements/testing.txt | 2 +
scripts/benchmark_migration.py | 38 +-
scripts/cancel_github_workflows.py | 24 +-
scripts/permissions_cleanup.py | 2 +-
setup.cfg | 16 +-
setup.py | 11 +-
superset-frontend/.storybook/main.js | 7 +-
superset-frontend/babel.config.js | 4 +
.../integration/dashboard/edit_mode.test.js | 4 +-
.../integration/dashboard/edit_properties.test.ts | 2 +-
.../cypress/integration/dashboard/markdown.test.ts | 4 +-
.../cypress/integration/dashboard/save.test.js | 6 +-
.../integration/dashboard_list/filter.test.ts | 8 +-
.../explore/visualizations/line.test.ts | 11 +-
.../images/icons/alert_solid_small.svg | 4 +-
.../images/icons/{circle.svg => ballot.svg} | 5 +-
.../images/icons/{minus.svg => category.svg} | 5 +-
.../images/icons/{database.svg => more_vert.svg} | 2 +-
.../images/icons/{grid.svg => tags.svg} | 5 +-
superset-frontend/package-lock.json | 6349 +++++---------------
superset-frontend/package.json | 68 +-
superset-frontend/spec/fixtures/mockState.js | 2 +
.../components/RefreshIntervalModal_spec.jsx | 6 +-
.../dashboard/components/SliceAdder_spec.jsx | 4 +-
.../nativeFilters/NativeFiltersModal_spec.tsx | 14 +-
.../datasource/DatasourceEditor_spec.jsx | 3 +-
.../explore/components/ColorScheme_spec.jsx | 4 +-
.../explore/components/ExploreChartHeader_spec.jsx | 13 +
.../explore/components/VizTypeControl_spec.jsx | 10 +-
superset-frontend/src/CRUD/CollectionTable.tsx | 78 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 24 +-
.../src/SqlLab/components/HighlightedSql.tsx | 2 +-
.../src/SqlLab/components/TableElement.tsx | 3 +-
.../src/addSlice/AddSliceContainer.test.tsx | 2 +-
.../src/addSlice/AddSliceContainer.tsx | 108 +-
superset-frontend/src/chart/Chart.jsx | 30 +-
superset-frontend/src/chart/ChartRenderer.jsx | 9 +-
superset-frontend/src/chart/chartReducer.ts | 19 +
superset-frontend/src/common/components/index.tsx | 16 +-
.../src/common/hooks/apiResources/dashboards.ts | 7 +-
.../src/components/CronPicker/CronPicker.tsx | 4 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 6 +-
.../src/components/DatabaseSelector/index.tsx | 8 +-
.../ErrorMessage/BasicErrorAlert.test.tsx | 7 -
.../ErrorMessage/DatabaseErrorMessage.tsx | 11 +-
.../components/ErrorMessage/ErrorAlert.test.tsx | 7 -
.../src/components/FaveStar/FaveStar.test.tsx | 7 -
.../src/components/FaveStar/index.tsx | 6 +-
.../src/components/Form/LabeledErrorBoundInput.tsx | 2 +-
.../src/components/Icon/icon.stories.jsx | 84 -
superset-frontend/src/components/Icon/index.tsx | 440 --
.../src/components/IconButton/index.tsx | 22 +-
.../src/components/Icons/Icons.stories.tsx | 2 +-
superset-frontend/src/components/Icons/index.tsx | 4 +
.../src/components/ListView/ActionsBar.tsx | 3 +-
.../src/components/ListViewCard/index.tsx | 22 +-
.../src/components/Menu/Menu.test.tsx | 3 +
superset-frontend/src/components/Menu/Menu.tsx | 49 +-
.../src/components/Menu/MenuRight.tsx | 13 +-
superset-frontend/src/components/Modal/Modal.tsx | 19 +-
.../HeaderReportActionsDropdown/index.tsx | 117 +
.../src/components/ReportModal/index.test.tsx | 89 +
.../src/components/ReportModal/index.tsx | 386 ++
.../src/components/ReportModal/styles.tsx | 113 +
.../src/components/Select/Select.stories.tsx | 30 +-
.../src/components/Select/Select.test.tsx | 82 +
superset-frontend/src/components/Select/Select.tsx | 201 +-
superset-frontend/src/components/Select/utils.ts | 15 +-
.../SupersetResourceSelect.test.tsx | 64 -
.../components/SupersetResourceSelect/index.tsx | 121 -
.../src/components/TableSelector/index.tsx | 10 +-
.../src/components/TableView/TableView.tsx | 19 +-
.../TimezoneSelector.stories.tsx} | 39 +-
.../TimezoneSelector/TimezoneSelector.test.tsx} | 32 +-
.../src/components/TimezoneSelector/index.tsx | 132 +
superset-frontend/src/components/Tooltip/index.tsx | 27 +-
.../components/WarningIconWithTooltip/index.tsx | 5 +-
.../components/dataViewCommon/TableCollection.tsx | 2 +-
.../src/dashboard/actions/dashboardState.js | 26 +
.../actions/{datasources.js => datasources.ts} | 50 +-
superset-frontend/src/dashboard/actions/hydrate.js | 8 +-
.../components/CssEditor/CssEditor.test.tsx | 26 +-
.../src/dashboard/components/CssEditor/index.jsx | 77 +-
.../src/dashboard/components/Dashboard.jsx | 5 +
.../DashboardBuilder/DashboardBuilder.tsx | 30 +-
.../dashboard/components/DashboardBuilder/state.ts | 7 +-
.../dashboard/components/Header/Header.test.tsx | 20 +-
.../src/dashboard/components/Header/index.jsx | 127 +-
.../src/dashboard/components/Header/types.ts | 3 +-
.../PropertiesModal/PropertiesModal.test.tsx | 14 +-
.../dashboard/components/PropertiesModal/index.jsx | 50 +-
.../dashboard/components/RefreshIntervalModal.tsx | 13 +-
.../src/dashboard/components/SliceAdder.jsx | 5 +-
.../components/SliceHeader/SliceHeader.test.tsx | 12 +-
.../src/dashboard/components/SliceHeader/index.tsx | 38 +-
.../SliceHeaderControls.test.tsx | 12 -
.../components/SliceHeaderControls/index.tsx | 41 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 7 +-
.../components/dnd/dragDroppableConfig.js | 3 +
.../dashboard/components/gridComponents/Chart.jsx | 19 +-
.../dashboard/components/gridComponents/Tabs.jsx | 8 +-
.../FilterBar/FilterControls/FilterValue.tsx | 30 +-
.../FilterBar/FilterControls/utils.ts | 17 +
.../FiltersConfigForm/ColumnSelect.tsx | 5 +-
.../FiltersConfigForm/DatasetSelect.tsx | 105 +
.../FiltersConfigForm/DefaultValue.tsx | 12 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 251 +-
.../FiltersConfigForm/getControlItemsMap.test.tsx | 1 +
.../FiltersConfigForm/getControlItemsMap.tsx | 4 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 27 +
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 108 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 8 +-
.../FiltersConfigModal/Footer/Footer.tsx | 27 +-
.../nativeFilters/FiltersConfigModal/types.ts | 1 +
.../dashboard/components/nativeFilters/state.ts | 11 -
.../index.js => src/dashboard/constants.ts} | 22 +-
.../src/dashboard/containers/Chart.jsx | 4 +-
.../src/dashboard/containers/Dashboard.ts | 17 +-
.../src/dashboard/containers/DashboardHeader.jsx | 14 +-
.../src/dashboard/containers/DashboardPage.tsx | 77 +-
.../src/dashboard/reducers/dashboardState.js | 14 +
.../datasources.ts} | 33 +-
superset-frontend/src/dashboard/types.ts | 15 +-
superset-frontend/src/dashboard/util/constants.ts | 1 +
.../src/dashboard/util/injectCustomCss.ts | 2 +-
.../src/dashboard/util/resizableConfig.ts | 10 +-
.../src/dashboard/util/setPeriodicRunner.ts | 2 +-
.../src/datasource/DatasourceEditor.jsx | 44 +-
.../src/explore/actions/saveModalActions.js | 16 +-
.../src/explore/components/Control.tsx | 75 +-
.../explore/components/ControlPanelsContainer.tsx | 32 +-
.../explore/components/DataTableControl/index.tsx | 2 +-
.../DataTableControl/useTableColumns.test.ts | 145 +-
.../DataTablesPane/DataTablesPane.test.tsx | 6 +-
.../explore/components/DataTablesPane/index.tsx | 33 +-
.../DatasourcePanelDragWrapper/index.tsx | 4 +
.../explore/components/DatasourcePanel/index.tsx | 22 +-
.../src/explore/components/ExploreChartHeader.jsx | 103 +-
.../src/explore/components/ExploreChartPanel.jsx | 35 +-
.../explore/components/ExploreViewContainer.jsx | 77 +-
.../components/controls/ColorSchemeControl.jsx | 37 +-
.../ConditionalFormattingControl.tsx | 2 +
.../FormattingPopoverContent.tsx | 18 +-
.../controls/ConditionalFormattingControl/types.ts | 1 +
.../controls/DatasourceControl/index.jsx | 23 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 38 +-
.../components/CustomFrame.test.tsx | 8 +-
.../DateFilterControl/components/CustomFrame.tsx | 39 +-
.../DndColumnSelect.test.tsx | 2 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 143 +-
.../DndFilterSelect.test.tsx | 8 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 330 +-
.../DndMetricSelect.test.tsx | 4 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 251 +-
.../DndColumnSelectControl/DndSelectLabel.test.tsx | 2 +-
.../DndColumnSelectControl/DndSelectLabel.tsx | 6 +-
.../controls/DndColumnSelectControl/Option.tsx | 45 +-
.../DndColumnSelectControl/OptionWrapper.tsx | 18 +-
.../controls/DndColumnSelectControl/types.ts | 11 +-
.../DndColumnSelectControl/utils/optionSelector.ts | 21 +-
.../index.tsx | 2 +-
.../controls/MetricControl/AdhocMetricOption.jsx | 9 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 23 +-
.../MetricControl/MetricDefinitionValue.jsx | 4 +
.../controls/MetricControl/MetricsControl.jsx | 3 +-
.../components/controls/OptionControls/index.tsx | 8 +
.../components/controls/TextAreaControl.jsx | 10 +-
.../explore/components/controls/ViewQueryModal.tsx | 59 +-
.../VizTypeControl/VizTypeControl.test.tsx | 4 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 406 +-
.../src/explore/exploreUtils/index.js | 9 +
superset-frontend/src/explore/reducers/index.js | 2 +
.../components/GroupBy/GroupByFilterPlugin.tsx | 38 +-
.../filters/components/Range/RangeFilterPlugin.tsx | 70 +-
.../components/Select/SelectFilterPlugin.tsx | 110 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 8 +-
.../TimeColumn/TimeColumnFilterPlugin.tsx | 44 +-
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 39 +-
superset-frontend/src/filters/components/common.ts | 7 +-
superset-frontend/src/reports/actions/reports.js | 177 +
.../datasources.js => reports/reducers/reports.js} | 43 +-
superset-frontend/src/setup/setupErrorMessages.ts | 4 +
superset-frontend/src/types/Chart.ts | 1 +
superset-frontend/src/types/Dashboard.ts | 4 +-
superset-frontend/src/utils/downloadAsImage.ts | 18 +-
.../src/views/CRUD/alert/AlertReportModal.test.jsx | 28 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 75 +-
superset-frontend/src/views/CRUD/alert/types.ts | 4 +-
.../src/views/CRUD/chart/ChartCard.tsx | 4 +-
.../src/views/CRUD/chart/ChartList.tsx | 62 +-
.../src/views/CRUD/dashboard/DashboardCard.tsx | 10 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 41 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 4 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 132 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 10 +-
.../data/database/DatabaseModal/ModalHeader.tsx | 1 +
.../data/database/DatabaseModal/index.test.jsx | 34 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 252 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 41 +
.../src/views/CRUD/data/database/types.ts | 15 +-
.../views/CRUD/data/dataset/AddDatasetModal.tsx | 2 +-
superset-frontend/src/views/CRUD/hooks.ts | 40 +-
superset-frontend/src/views/CRUD/storageKeys.ts | 3 +-
superset-frontend/src/views/CRUD/types.ts | 2 +
superset-frontend/src/views/CRUD/utils.tsx | 89 +-
.../src/views/CRUD/welcome/ActivityTable.tsx | 64 +-
.../src/views/CRUD/welcome/ChartTable.test.tsx | 2 +-
.../src/views/CRUD/welcome/ChartTable.tsx | 75 +-
.../src/views/CRUD/welcome/DashboardTable.test.tsx | 4 +-
.../src/views/CRUD/welcome/DashboardTable.tsx | 81 +-
.../src/views/CRUD/welcome/EmptyState.tsx | 10 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 19 +-
.../src/views/CRUD/welcome/Welcome.tsx | 128 +-
superset-frontend/src/views/store.ts | 2 +
.../{transformProps.js => transformProps.ts} | 8 +-
.../FilterBox}/types.ts | 20 +-
.../src/visualizations/presets/MainPreset.js | 27 +-
superset-frontend/tsconfig.json | 2 +-
superset-frontend/webpack.config.js | 10 +-
superset/annotation_layers/annotations/api.py | 4 +-
superset/charts/api.py | 195 +-
superset/charts/commands/create.py | 3 +
superset/charts/commands/exceptions.py | 23 +-
superset/charts/commands/export.py | 2 +-
superset/charts/commands/update.py | 4 +
superset/charts/post_processing.py | 215 +
superset/charts/schemas.py | 43 +-
superset/cli.py | 24 +-
superset/commands/importers/v1/examples.py | 67 +-
superset/common/query_actions.py | 6 +-
superset/common/query_context.py | 281 +-
superset/common/query_object.py | 19 +-
superset/common/utils.py | 179 +
superset/config.py | 83 +-
superset/connectors/base/models.py | 37 +-
superset/connectors/druid/models.py | 22 +
superset/connectors/sqla/models.py | 251 +-
superset/connectors/sqla/utils.py | 110 +
superset/constants.py | 24 +
superset/dashboards/api.py | 9 +-
superset/dashboards/commands/export.py | 16 +-
.../dashboards/commands/importers/v1/__init__.py | 12 +-
superset/dashboards/commands/importers/v1/utils.py | 28 +-
superset/dashboards/schemas.py | 1 -
superset/databases/commands/export.py | 24 +-
superset/databases/commands/validate.py | 11 +-
superset/databases/schemas.py | 19 +
superset/datasets/commands/importers/v1/utils.py | 8 +-
superset/datasets/dao.py | 2 +-
superset/db_engine_specs/base.py | 21 +-
superset/db_engine_specs/gsheets.py | 93 +-
superset/db_engine_specs/hive.py | 12 +
superset/db_engine_specs/mysql.py | 2 +-
superset/db_engine_specs/postgres.py | 2 +-
superset/db_engine_specs/presto.py | 14 +-
superset/examples/__init__.py | 2 +-
superset/examples/bart_lines.py | 1 +
superset/examples/birth_names.py | 5 +-
.../configs/datasets/examples/FCC_2018_Survey.yaml | 2 +-
.../configs/datasets/examples/channel_members.yaml | 2 +-
.../configs/datasets/examples/channels.yaml | 2 +-
.../datasets/examples/cleaned_sales_data.yaml | 2 +-
.../configs/datasets/examples/covid_vaccines.yaml | 2 +-
.../configs/datasets/examples/exported_stats.yaml | 2 +-
.../datasets/examples/members_channels_2.yaml | 2 +-
.../configs/datasets/examples/messages.yaml | 2 +-
.../datasets/examples/messages_channels.yaml | 2 +-
.../datasets/examples/new_members_daily.yaml | 2 +-
.../configs/datasets/examples/threads.yaml | 2 +-
.../datasets/examples/unicode_test.test.yaml | 2 +-
.../examples/configs/datasets/examples/users.yaml | 2 +-
.../examples/users_channels-uzooNNtSRO.yaml | 4 +-
.../configs/datasets/examples/users_channels.yaml | 2 +-
.../datasets/examples/video_game_sales.yaml | 2 +-
superset/examples/country_map.py | 1 +
superset/examples/energy.py | 1 +
superset/examples/flights.py | 1 +
superset/examples/long_lat.py | 1 +
superset/examples/multiformat_time_series.py | 1 +
superset/examples/paris.py | 1 +
superset/examples/random_time_series.py | 3 +-
superset/examples/sf_population_polygons.py | 1 +
superset/examples/utils.py | 52 +-
superset/exceptions.py | 1 -
superset/extensions.py | 10 +
superset/initialization/__init__.py | 64 +-
...=> 030c840e3a1c_add_query_context_to_slices.py} | 18 +-
...15da_migrate_pivot_table_v2_heatmaps_to_new_.py | 108 +
...411006_add_execution_id_to_report_execution_.py | 6 +-
...l.py => 31b2a1039d4a_drop_tables_constraint.py} | 38 +-
...248280_add_creation_method_to_reports_model.py} | 32 +-
.../versions/49b5a32daba5_add_report_schedules.py | 13 +-
...d20ba9ecb33_add_last_saved_at_to_slice_model.py | 66 +
...e1ed299413b_add_timezone_to_report_schedule.py} | 22 +-
...605f370a_fix_schemas_allowed_for_csv_upload.py} | 56 +-
...py => f6196627326f_update_chart_permissions.py} | 23 +-
superset/models/core.py | 5 +
superset/models/dashboard.py | 5 -
superset/models/reports.py | 11 +
superset/models/slice.py | 19 +-
superset/reports/api.py | 20 +-
superset/reports/commands/execute.py | 54 +-
superset/reports/logs/api.py | 4 +-
superset/reports/notifications/base.py | 3 +
superset/reports/notifications/email.py | 20 +-
superset/reports/notifications/slack.py | 82 +-
superset/reports/schemas.py | 21 +
superset/security/manager.py | 1 +
superset/sql_lab.py | 17 +-
superset/tasks/cron_util.py | 42 +
superset/tasks/scheduler.py | 20 +-
superset/tasks/schedules.py | 15 +-
superset/tasks/slack_util.py | 4 +-
superset/translations/zh/LC_MESSAGES/messages.json | 6 +-
superset/translations/zh/LC_MESSAGES/messages.po | 6 +-
superset/typing.py | 2 +-
superset/utils/cache.py | 2 +-
superset/utils/celery.py | 2 +-
superset/utils/core.py | 148 +-
superset/utils/date_parser.py | 58 +-
superset/utils/decorators.py | 4 +-
superset/utils/memoized.py | 18 +-
superset/utils/mock_data.py | 27 +-
superset/utils/pandas_postprocessing.py | 92 +-
superset/utils/profiler.py | 52 +
.../conftest.py => superset/utils/retries.py | 26 +-
superset/utils/webdriver.py | 23 +-
superset/views/api.py | 4 +-
superset/views/base.py | 15 +-
superset/views/core.py | 44 +-
superset/views/dashboard/mixin.py | 3 +-
superset/views/datasource.py | 46 +
superset/views/utils.py | 22 +-
superset/viz.py | 8 +-
tests/integration_tests/access_tests.py | 8 +-
tests/integration_tests/base_tests.py | 43 +-
tests/integration_tests/charts/api_tests.py | 73 +-
tests/integration_tests/charts/commands_tests.py | 34 +-
tests/integration_tests/core_tests.py | 57 +-
tests/integration_tests/csv_upload_tests.py | 4 +-
tests/integration_tests/dashboard_utils.py | 8 +-
tests/integration_tests/dashboards/api_tests.py | 1 -
tests/integration_tests/databases/api_tests.py | 14 +
.../integration_tests/databases/commands_tests.py | 2 +-
tests/integration_tests/datasets/api_tests.py | 22 +-
tests/integration_tests/datasource_tests.py | 139 +-
.../db_engine_specs/snowflake_tests.py | 16 -
.../integration_tests/dict_import_export_tests.py | 5 +-
tests/integration_tests/fixtures/dataframes.py | 9 +
tests/integration_tests/fixtures/datasource.py | 274 +-
tests/integration_tests/fixtures/query_context.py | 20 +-
tests/integration_tests/import_export_tests.py | 34 +-
.../importexport}/__init__.py | 0
tests/integration_tests/model_tests.py | 35 +-
.../pandas_postprocessing_tests.py | 110 +-
tests/integration_tests/query_context_tests.py | 144 +-
tests/integration_tests/reports/api_tests.py | 162 +-
tests/integration_tests/reports/commands_tests.py | 194 +-
tests/integration_tests/reports/scheduler_tests.py | 73 +-
tests/integration_tests/reports/utils.py | 2 +
.../security/migrate_roles_tests.py | 2 +-
tests/integration_tests/security_tests.py | 12 +-
tests/integration_tests/sqla_models_tests.py | 41 +-
tests/integration_tests/sqllab_tests.py | 10 +
tests/integration_tests/superset_test_config.py | 7 +-
.../integration_tests/tasks/async_queries_tests.py | 7 +-
tests/integration_tests/thumbnails_tests.py | 15 +
tests/integration_tests/utils/core_tests.py | 51 +-
tests/integration_tests/utils/date_parser_tests.py | 43 +-
tests/integration_tests/utils_tests.py | 60 +-
tests/integration_tests/viz_tests.py | 12 +-
tests/unit_tests/{ => charts}/__init__.py | 0
tests/unit_tests/charts/test_post_processing.py | 264 +
tests/unit_tests/db_engine_specs/test_gsheets.py | 113 +-
tests/unit_tests/tasks/test_cron_util.py | 177 +
399 files changed, 12790 insertions(+), 9466 deletions(-)
copy superset/reports/notifications/exceptions.py => docs/.asf.yaml (93%)
copy superset-frontend/images/icons/{circle.svg => ballot.svg} (60%)
copy superset-frontend/images/icons/{minus.svg => category.svg} (52%)
copy superset-frontend/images/icons/{database.svg => more_vert.svg} (68%)
copy superset-frontend/images/icons/{grid.svg => tags.svg} (66%)
delete mode 100644 superset-frontend/src/components/Icon/icon.stories.jsx
delete mode 100644 superset-frontend/src/components/Icon/index.tsx
create mode 100644 superset-frontend/src/components/ReportModal/HeaderReportActionsDropdown/index.tsx
create mode 100644 superset-frontend/src/components/ReportModal/index.test.tsx
create mode 100644 superset-frontend/src/components/ReportModal/index.tsx
create mode 100644 superset-frontend/src/components/ReportModal/styles.tsx
create mode 100644 superset-frontend/src/components/Select/Select.test.tsx
delete mode 100644 superset-frontend/src/components/SupersetResourceSelect/SupersetResourceSelect.test.tsx
delete mode 100644 superset-frontend/src/components/SupersetResourceSelect/index.tsx
copy superset-frontend/src/components/{Radio/Radio.stories.tsx => TimezoneSelector/TimezoneSelector.stories.tsx} (61%)
copy superset-frontend/{spec/javascripts/explore/components/ControlRow_spec.tsx => src/components/TimezoneSelector/TimezoneSelector.test.tsx} (52%)
create mode 100644 superset-frontend/src/components/TimezoneSelector/index.tsx
rename superset-frontend/src/dashboard/actions/{datasources.js => datasources.ts} (53%)
create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/DatasetSelect.tsx
copy superset-frontend/{cypress-base/cypress/plugins/index.js => src/dashboard/constants.ts} (64%)
copy superset-frontend/src/dashboard/{util/serializeActiveFilterValues.js => reducers/datasources.ts} (58%)
create mode 100644 superset-frontend/src/reports/actions/reports.js
rename superset-frontend/src/{dashboard/reducers/datasources.js => reports/reducers/reports.js} (59%)
rename superset-frontend/src/visualizations/FilterBox/{transformProps.js => transformProps.ts} (91%)
copy superset-frontend/src/{views/CRUD/dashboard => visualizations/FilterBox}/types.ts (74%)
create mode 100644 superset/charts/post_processing.py
create mode 100644 superset/common/utils.py
create mode 100644 superset/connectors/sqla/utils.py
copy superset/migrations/versions/{ca69c70ec99b_tracking_url.py => 030c840e3a1c_add_query_context_to_slices.py} (69%)
create mode 100644 superset/migrations/versions/143b6f2815da_migrate_pivot_table_v2_heatmaps_to_new_.py
copy superset/migrations/versions/{18532d70ab98_fix_table_unique_constraint_in_mysql.py => 31b2a1039d4a_drop_tables_constraint.py} (56%)
copy superset/migrations/versions/{ab104a954a8f_reports_alter_crontab_size.py => 3317e9248280_add_creation_method_to_reports_model.py} (66%)
create mode 100644 superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py
copy superset/migrations/versions/{453530256cea_add_save_option_column_to_db_model.py => ae1ed299413b_add_timezone_to_report_schedule.py} (68%)
copy superset/migrations/versions/{134cea61c5e7_remove_dataset_health_check_message.py => e323605f370a_fix_schemas_allowed_for_csv_upload.py} (53%)
copy superset/migrations/versions/{e37912a26567_security_converge_queries.py => f6196627326f_update_chart_permissions.py} (84%)
create mode 100644 superset/tasks/cron_util.py
create mode 100644 superset/utils/profiler.py
copy tests/unit_tests/conftest.py => superset/utils/retries.py (58%)
copy tests/{unit_tests => integration_tests/importexport}/__init__.py (100%)
copy tests/unit_tests/{ => charts}/__init__.py (100%)
create mode 100644 tests/unit_tests/charts/test_post_processing.py
create mode 100644 tests/unit_tests/tasks/test_cron_util.py