This is an automated email from the ASF dual-hosted git repository.
vavila pushed a change to branch feat/async-db-perm-sync
in repository https://gitbox.apache.org/repos/asf/superset.git
discard e9102c32b0 Changing order
discard e06dcf3acf Improving the approach
discard 22ea969b99 Fixing API config
discard e409c6e47a Initial setup for testing
add acf91e1f60 docs: fix typo in docker compose (#32171)
add e8990f4a36 fix: ScreenshotCachePayload serialization (#32156)
add 649a0dec6c feat: add TDengine.py driver to db_engine (#32041)
add 205cff3a94 feat: Add parseJson Handlebars Helper to Support Processing
Nested JSON Data (#31998)
add 5a8488af36 fix(docker): Docker python-translation-build (#32163)
add e97eb71a52 chore(deps): bump less from 4.2.1 to 4.2.2 in /docs (#32085)
add 389aae270b chore: add query context data tests (#32157)
add c5f4a7f302 feat: Add parseJson Handlebars Helper to Support Processing
Nested JSON Data (#31998)
add f9f8c5d07a fix(sqllab): correct URL format for SQL Lab permalinks
(#32154)
add f3e7c64de6 fix(virtual dataset sync): Sync virtual dataset columns
when changing the SQL query (#30903)
add 38c46fcafd docs(typo): PostgresQL corrected to PostgreSQL (#32188)
add bcc61bd933 refactor(Dropdown): Migrate Dropdown to Ant Design 5
(#31972)
add 2770bc0865 fix(sqllab): correct URL format for SQL Lab permalinks
(#32154)
add a144464506 fix: Adds an entry to UPDATING.md about
DISABLE_LEGACY_DATASOURCE_EDITOR (#32185)
add 06f8f8e608 fix: TDengine move tdengine.png to databases/ subfolder
(#32176)
add 0030f46d2d refactor(Popover): Upgrade Popover to Antd5 (#31973)
add 0f6bd5ea83 fix: handlebars html and css templates reset on dataset
update (#32195)
add f01493277f docs(docker-compose): remove extra backticks (#32206)
add 8d1fb9c82d fix: false negative on critical security related to
eslint-plugin-translation-vars (#32018)
add 1c3ec21e0f chore: migrating easy-to-migrate AntD vanilla components
(#32010)
add a78968c68e chore(ci): consolidate Node version reference in CI to
associated `.nvmrc` (#32192)
add 60bbd72028 feat(dropdown accessibility): Wrap dropdown triggers with
buttons for accessibility (#32189)
add 60424c4ccd chore(ci): fix ephemeral env null issue number (#32220)
add 31d6f5a639 chore(ci): fix ephemeral env null issue number (v2) (#32221)
add eec54affc3 fix: hidrate datasetsStatus (#32211)
add 3160607aaf docs: Permissions 'can this form get on UserInfoEditView'
and 'can this form get on UserInfoEditView' are not associated with Aplha and
Gamma by default (#32180)
add db70c7912c chore(fe): migrate 4 Enzyme-based tests to RTL (#31634)
add 650fa5ccfb fix(SaveDatasetModal): repairs field alignment in the
SaveDatasetModal component (#32222)
add d3b854a833 fix: set `Rich tooltip` -> 'Show percentage' to false by
default (#32212)
add 319a860f23 chore: Working toward killing enzyme and cleaning up test
noise. (#32207)
add 937d40cdde fix(sqllab): close the table tab (#32224)
new 4c18f8bf6c Initial setup for testing
new 3a26d56786 Fixing API config
new 5d79c04c89 Improving the approach
new 0d876432b3 Changing order
new 5feb6502d2 feat: Update database permissions in async mode
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 (e9102c32b0)
\
N -- N -- N refs/heads/feat/async-db-perm-sync (5feb6502d2)
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.
The 5 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:
.github/workflows/embedded-sdk-release.yml | 2 +-
.github/workflows/embedded-sdk-test.yml | 2 +-
.github/workflows/ephemeral-env.yml | 22 +-
.github/workflows/release.yml | 10 +-
.github/workflows/superset-applitool-cypress.yml | 3 +-
.../workflows/superset-applitools-storybook.yml | 5 +-
.github/workflows/superset-docs-deploy.yml | 4 +-
.github/workflows/superset-docs-verify.yml | 4 +-
.github/workflows/superset-e2e.yml | 2 +-
.github/workflows/superset-translations.yml | 2 +-
.github/workflows/tech-debt.yml | 2 +-
.gitignore | 1 +
Dockerfile | 8 +-
README.md | 1 +
RESOURCES/STANDARD_ROLES.md | 16 +-
UPDATING.md | 4 +-
docs/docs/configuration/databases.mdx | 19 +
docs/docs/installation/architecture.mdx | 2 +-
docs/docs/installation/docker-compose.mdx | 3 +-
docs/package.json | 2 +-
docs/src/resources/data.js | 5 +
docs/static/img/databases/tdengine.png | Bin 0 -> 32453 bytes
docs/yarn.lock | 8 +-
pyproject.toml | 4 +
{docs => superset-embedded-sdk}/.nvmrc | 0
superset-frontend/.eslintrc.js | 14 +-
.../cypress/e2e/dashboard/_skip.controls.test.ts | 10 +-
.../cypress/e2e/dashboard/drillby.test.ts | 5 +-
.../cypress/e2e/dashboard/drilltodetail.test.ts | 5 +-
.../e2e/dashboard/horizontalFilterBar.test.ts | 12 +-
.../cypress-base/cypress/e2e/dashboard/utils.ts | 6 +-
.../cypress-base/cypress/e2e/explore/chart.test.js | 22 +-
.../cypress/e2e/explore/control.test.ts | 4 +-
.../explore/visualizations/download_chart.test.js | 6 +-
.../cypress-base/cypress/e2e/sqllab/tabs.test.ts | 4 +-
.../cypress-base/cypress/support/directories.ts | 10 +-
.../eslint-plugin-i18n-strings}/index.js | 0
.../no-template-vars.test.js | 0
.../eslint-plugin-i18n-strings}/package.json | 2 +-
.../eslint-plugin-theme-colors/colors.js | 0
.../eslint-plugin-theme-colors/index.js | 0
.../eslint-plugin-theme-colors/package.json | 0
superset-frontend/jest.config.js | 1 +
superset-frontend/package-lock.json | 3302 +-------------------
superset-frontend/package.json | 13 +-
.../src/components/SQLPopover.tsx | 6 +-
.../superset-ui-chart-controls/src/types.ts | 6 +
.../superset-ui-core/src/query/types/Metric.ts | 4 +-
.../chart-composition/legend/WithLegend.test.tsx | 54 +-
.../chart/components/ChartDataProvider.test.tsx | 432 +--
.../test/chart/components/SuperChart.test.tsx | 457 +--
.../test/chart/components/SuperChartCore.test.tsx | 165 +-
.../test/chart/components/reactify.test.tsx | 24 +-
.../plugins/plugin-chart-echarts/src/controls.tsx | 2 +-
.../test/BigNumber/transformProps.test.ts | 2 +-
.../plugins/plugin-chart-handlebars/README.md | 23 +
.../src/components/Handlebars/HandlebarsViewer.tsx | 13 +
.../src/plugin/controls/handlebarTemplate.tsx | 41 +-
.../src/plugin/controls/style.tsx | 1 +
superset-frontend/spec/helpers/shim.tsx | 2 +-
superset-frontend/spec/helpers/testing-library.tsx | 1 +
superset-frontend/spec/helpers/theming.ts | 19 +-
superset-frontend/src/GlobalStyles.tsx | 13 +-
.../src/SqlLab/actions/sqlLab.test.js | 2 +-
.../QueryLimitSelect/QueryLimitSelect.test.tsx | 8 +-
.../SqlLab/components/QueryLimitSelect/index.tsx | 53 +-
.../components/QueryTable/QueryTable.test.tsx | 71 +-
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 34 +-
.../SaveDatasetActionButton.test.tsx | 3 +-
.../components/SaveDatasetActionButton/index.tsx | 30 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 4 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 16 +-
.../SqlLab/components/SaveQuery/SaveQuery.test.tsx | 8 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 14 +-
.../SqlLab/components/SouthPane/SouthPane.test.tsx | 25 +-
.../src/SqlLab/components/SouthPane/index.tsx | 2 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.tsx | 43 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 14 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx | 9 +-
.../SqlEditorTabHeader/SqlEditorTabHeader.test.tsx | 2 +-
.../SqlLab/components/SqlEditorTabHeader/index.tsx | 6 +-
.../components/TableElement/TableElement.test.tsx | 2 +-
.../src/SqlLab/components/TablePreview/index.tsx | 27 +-
.../src/components/Alert/Alert.test.tsx | 8 +-
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 4 +-
.../src/components/AuditInfo/ModifiedInfo.test.tsx | 11 +-
superset-frontend/src/components/Button/index.tsx | 2 +-
.../src/components/Card/Card.test.tsx | 13 +-
.../CertifiedBadge/CertifiedBadge.test.tsx | 8 +-
.../Chart/ChartContextMenu/ChartContextMenu.tsx | 42 +-
.../Chart/DrillBy/DrillByMenuItems.test.tsx | 66 +-
.../components/Chart/DrillBy/DrillByMenuItems.tsx | 35 +-
.../components/Chart/DrillBy/DrillByModal.test.tsx | 10 +-
.../Chart/DrillBy/useDrillByBreadcrumbs.test.ts | 3 +-
.../Chart/DrillBy/useResultsTableView.test.ts | 9 +-
.../DrillDetail/DrillDetailMenuItems.test.tsx | 9 +-
.../Chart/DrillDetail/DrillDetailMenuItems.tsx | 27 +-
.../Chart/DrillDetail/DrillDetailModal.test.tsx | 3 +-
.../DrillDetail/DrillDetailTableControls.test.tsx | 3 +-
.../components/Chart/MenuItemWithTruncation.tsx | 9 +-
.../src/components/Collapse/Collapse.test.tsx | 161 +-
.../CopyToClipboard/CopyToClipboard.test.tsx | 8 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 6 +-
.../src/components/Datasource/DatasourceEditor.jsx | 136 +-
.../Datasource/DatasourceEditor.test.jsx | 10 +-
.../components/Datasource/DatasourceModal.test.jsx | 20 +-
.../src/components/Datasource/DatasourceModal.tsx | 277 +-
.../src/components/Datasource/utils.js | 102 +
.../components/DeleteModal/DeleteModal.test.tsx | 3 +-
.../src/components/Dropdown/Dropdown.stories.tsx | 6 +-
.../src/components/Dropdown/index.tsx | 27 +-
.../src/components/DropdownButton/index.tsx | 97 +-
.../DropdownContainer/DropdownContainer.test.tsx | 3 +-
.../src/components/DropdownContainer/index.tsx | 20 +-
.../DropdownSelectableIcon.stories.tsx | 56 -
.../DropdownSelectableIcon.test.tsx | 98 -
.../components/DropdownSelectableIcon/index.tsx | 177 --
.../DynamicEditableTitle.test.tsx | 3 +-
.../ErrorMessage/DatabaseErrorMessage.test.tsx | 3 +-
.../ErrorMessageWithStackTrace.test.tsx | 3 +-
.../FrontendNetworkErrorMessage.test.tsx | 3 +-
.../ErrorMessage/InvalidSQLErrorMessage.test.tsx | 51 +-
.../ErrorMessage/MarshmallowErrorMessage.test.tsx | 32 +-
.../ErrorMessage/OAuth2RedirectMessage.test.tsx | 19 +-
.../ErrorMessage/ParameterErrorMessage.test.tsx | 3 +-
.../ErrorMessage/TimeoutErrorMessage.test.tsx | 3 +-
.../src/components/FacePile/FacePile.test.tsx | 7 +-
.../src/components/FaveStar/FaveStar.test.tsx | 3 +-
.../FilterableTable/FilterableTable.test.tsx | 8 +-
.../FlashProvider/FlashProvider.test.tsx | 9 +-
.../src/components/GridTable/HeaderMenu.test.tsx | 2 +-
.../IndeterminateCheckbox.test.tsx | 8 +-
.../src/components/ListView/CardSortSelect.tsx | 1 +
.../components/ListView/CrossLinksTooltip.test.tsx | 8 +-
.../src/components/ListView/ListView.test.jsx | 433 +--
.../src/components/ListView/ListView.tsx | 4 +-
.../ListViewCard/ListViewCard.stories.tsx | 10 +-
.../src/components/Loading/Loading.test.tsx | 3 +-
superset-frontend/src/components/Menu/index.tsx | 27 +-
.../components/MetadataBar/MetadataBar.test.tsx | 8 +-
.../components/ModalTrigger/ModalTrigger.test.tsx | 8 +-
.../PageHeaderWithActions.test.tsx | 3 +-
.../src/components/PageHeaderWithActions/index.tsx | 10 +-
.../src/components/Pagination/Ellipsis.test.tsx | 3 +-
.../src/components/Pagination/Item.test.tsx | 3 +-
.../src/components/Pagination/Next.test.tsx | 3 +-
.../src/components/Pagination/Prev.test.tsx | 3 +-
.../src/components/Pagination/Wrapper.test.tsx | 19 +-
.../src/components/Popover/Popover.stories.tsx | 15 +-
.../src/components/Popover/Popover.test.tsx | 22 +-
.../src/components/Popover/Popover.tsx | 27 -
superset-frontend/src/components/Popover/index.tsx | 14 +-
.../PopoverDropdown/PopoverDropdown.test.tsx | 3 +-
.../src/components/PopoverDropdown/index.tsx | 10 +-
.../PopoverSection/PopoverSection.test.tsx | 3 +-
.../components/RefreshLabel/RefreshLabel.test.tsx | 3 +-
.../src/components/Select/AsyncSelect.test.tsx | 2 +-
.../src/components/Select/Select.test.tsx | 2 +-
.../cell-renderers/ActionCell/ActionCell.test.tsx | 3 +-
.../Table/cell-renderers/ActionCell/index.tsx | 4 +-
.../cell-renderers/ButtonCell/ButtonCell.test.tsx | 3 +-
.../header-renderers/HeaderWithRadioGroup.tsx | 4 +-
.../src/components/Table/utils/utils.test.ts | 15 +-
.../TableSelector/TableSelector.test.tsx | 112 +-
.../src/components/TableView/TableView.test.tsx | 3 +-
superset-frontend/src/components/Tags/Tag.test.tsx | 3 +-
.../TimezoneSelector.DaylightSavingTime.test.tsx | 8 +-
.../TimezoneSelector/TimezoneSelector.test.tsx | 8 +-
.../src/components/Tooltip/Tooltip.test.tsx | 3 +-
superset-frontend/src/components/Tooltip/index.tsx | 26 +-
.../TooltipParagraph/TooltipParagraph.test.tsx | 8 +-
superset-frontend/src/components/index.ts | 17 +-
.../src/dashboard/actions/dashboardState.test.js | 2 +-
superset-frontend/src/dashboard/actions/hydrate.js | 3 +-
.../components/AddSliceCard/AddSliceCard.test.tsx | 9 +-
.../components/CssEditor/CssEditor.test.tsx | 8 +-
.../src/dashboard/components/CssEditor/index.tsx | 6 +-
.../src/dashboard/components/Dashboard.test.jsx | 314 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 9 +-
.../DashboardBuilder/DashboardBuilder.tsx | 8 -
.../EmbeddedModal/EmbeddedModal.test.tsx | 1 -
.../DetailsPanel/DetailsPanel.test.tsx | 8 +-
.../components/FiltersBadge/DetailsPanel/index.tsx | 60 +-
.../FilterIndicator/FilterIndicator.test.tsx | 3 +-
.../dashboard/components/Header/Header.test.tsx | 8 +-
.../HeaderActionsDropdown.test.tsx | 260 --
.../src/dashboard/components/Header/index.jsx | 180 +-
.../src/dashboard/components/Header/types.ts | 5 +-
.../index.tsx => useHeaderActionsDropdownMenu.tsx} | 339 +-
.../PropertiesModal/PropertiesModal.test.tsx | 502 +--
.../PublishedStatus/PublishedStatus.test.tsx | 3 +-
.../components/RefreshIntervalModal.test.tsx | 21 +-
.../src/dashboard/components/SliceAdder.test.tsx | 349 ++-
.../components/SliceHeader/SliceHeader.test.tsx | 3 +-
.../SliceHeaderControls.test.tsx | 36 +-
.../components/SliceHeaderControls/index.tsx | 38 +-
.../URLShortLinkButton/URLShortLinkButton.test.tsx | 3 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 5 +-
.../components/dnd/DragDroppable.test.jsx | 252 +-
.../components/filterscope/FilterScope.test.tsx | 58 +-
.../components/gridComponents/ChartHolder.test.tsx | 2 +-
.../components/gridComponents/Column.test.jsx | 4 +-
.../components/gridComponents/Divider.test.jsx | 16 +-
.../components/gridComponents/Header.test.jsx | 20 +-
.../components/gridComponents/Markdown.test.jsx | 30 +-
.../components/gridComponents/Row.test.jsx | 4 +-
.../components/gridComponents/Tab.test.jsx | 2 +-
.../components/gridComponents/Tab.test.tsx | 2 +-
.../components/gridComponents/Tabs.test.tsx | 8 +-
.../new/DraggableNewComponent.test.jsx | 4 +-
.../components/gridComponents/new/NewTabs.test.jsx | 13 +-
.../DownloadMenuItems/DownloadAsImage.test.tsx | 14 +-
.../menu/DownloadMenuItems/DownloadAsImage.tsx | 12 +-
.../menu/DownloadMenuItems/DownloadAsPdf.test.tsx | 14 +-
.../menu/DownloadMenuItems/DownloadAsPdf.tsx | 12 +-
.../DownloadMenuItems/DownloadMenuItems.test.tsx | 12 +-
.../DownloadMenuItems/DownloadScreenshot.test.tsx | 8 +-
.../components/menu/DownloadMenuItems/index.tsx | 51 +-
.../dashboard/components/menu/HoverMenu.test.tsx | 3 +-
.../menu/ShareMenuItems/ShareMenuItems.test.tsx | 9 +-
.../components/menu/ShareMenuItems/index.tsx | 16 +-
.../FilterBar/ActionButtons/ActionButtons.test.tsx | 3 +-
.../FilterBar/CrossFilters/CrossFilterTag.test.tsx | 3 +-
.../CrossFilters/CrossFilterTitle.test.tsx | 41 +-
.../ScopingModal/ChartsScopingListPanel.test.tsx | 8 +-
.../ScopingModal/ScopingModal.test.tsx | 2 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 3 +-
.../FilterBarSettings/FilterBarSettings.test.tsx | 94 +-
.../FilterBar/FilterBarSettings/index.tsx | 76 +-
.../FilterConfigurationLink.test.tsx | 18 +-
.../FilterBar/FilterConfigurationLink/index.tsx | 65 +-
.../useFilterConfigModal.tsx | 82 +
.../FilterControls/FilterDivider.test.tsx | 3 +-
.../nativeFilters/FilterBar/Header/Header.test.tsx | 3 +-
.../nativeFilters/FilterBar/Header/index.tsx | 3 -
.../nativeFilters/FilterCard/FilterCard.test.tsx | 3 +-
.../nativeFilters/FilterCard/NameRow.tsx | 15 +-
.../components/nativeFilters/FilterCard/index.tsx | 10 +-
.../FiltersConfigModal/FilterConfigPane.test.tsx | 2 +-
.../FiltersConfigForm/ColumnSelect.test.tsx | 8 +-
.../FilterScope/FilterScope.test.tsx | 116 +-
.../__tests__/TreeInitialization.test.tsx | 80 +
.../FilterScope/__tests__/TreeSelection.test.tsx | 124 +
.../FilterScope/__tests__/utils.tsx | 85 +
.../FiltersConfigForm/getControlItemsMap.test.tsx | 3 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 2 +-
.../src/dashboard/hooks/useDownloadScreenshot.ts | 184 ++
superset-frontend/src/dashboard/styles.ts | 32 +-
.../src/explore/actions/exploreActions.ts | 16 +
.../src/explore/components/Control.test.tsx | 7 +-
.../components/ControlPanelsContainer.test.tsx | 3 +-
.../CopyToClipboardButton.test.tsx | 8 +-
.../DataTableControl/FilterInput.test.tsx | 3 +-
.../explore/components/DataTableControl/index.tsx | 11 +-
.../DataTablesPane/test/DataTablesPane.test.tsx | 4 +-
.../test/ResultsPaneOnDashboard.test.tsx | 2 +-
.../DataTablesPane/test/SamplesPane.test.tsx | 2 +-
.../DatasourcePanel/DatasourcePanel.test.tsx | 96 +-
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 184 +-
.../components/ExploreChartHeader/index.jsx | 51 +-
.../ExploreChartPanel/ExploreChartPanel.test.jsx | 10 +-
.../ExploreViewContainer.test.tsx | 8 +-
.../ExportToCSVDropdown.test.tsx | 3 +-
.../components/ExportToCSVDropdown/index.tsx | 10 +-
.../PropertiesModal/PropertiesModal.test.tsx | 84 +-
.../RowCountLabel/RowCountLabel.test.tsx | 3 +-
.../RunQueryButton/RunQueryButton.test.tsx | 3 +-
.../AnnotationLayer.test.tsx | 10 +-
.../controls/AnnotationLayerControl/index.tsx | 8 +-
.../components/controls/BoundsControl.test.jsx | 8 +-
.../components/controls/CheckboxControl.test.tsx | 8 +-
.../CollectionControl/CollectionControl.test.tsx | 3 +-
.../ColorSchemeControl/ColorSchemeControl.test.tsx | 8 +-
.../FormattingPopover.tsx | 4 +-
.../controls/ConditionalFormattingControl/types.ts | 2 +-
.../ContourControl/ContourPopoverTrigger.tsx | 6 +-
.../ControlPopover/ControlPopover.test.tsx | 22 +-
.../controls/ControlPopover/ControlPopover.tsx | 67 +-
.../DatasourceControl/DatasourceControl.test.jsx | 12 +-
.../DatasourceControl/DatasourceControl.test.tsx | 9 +-
.../controls/DatasourceControl/index.jsx | 14 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 17 +-
.../DateFilterControl/tests/AdvancedFrame.test.tsx | 3 +-
.../tests/CurrentCalendarFrame.test.tsx | 3 +-
.../DateFilterControl/tests/CustomFrame.test.tsx | 178 +-
.../tests/DateFilterLabel.test.tsx | 3 +-
.../ColumnSelectPopover.test.tsx | 28 +-
.../ColumnSelectPopoverTrigger.tsx | 6 +-
.../DndColumnSelect.test.tsx | 10 +-
.../DndMetricSelect.test.tsx | 4 +-
.../DndColumnSelectControl/DndSelectLabel.test.tsx | 3 +-
.../DndColumnSelectControl/Option.test.tsx | 115 +-
.../AdhocFilterControl/AdhocFilterControl.test.jsx | 146 -
.../AdhocFilterControl/AdhocFilterControl.test.tsx | 154 +
.../AdhocFilterEditPopover.test.jsx | 180 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 28 +-
.../AdhocFilterEditPopoverSqlTabContent.test.tsx | 22 +-
.../AdhocFilterOption/AdhocFilterOption.test.tsx | 8 +-
.../AdhocFilterPopoverTrigger.test.tsx | 3 +-
.../AdhocFilterPopoverTrigger/index.tsx | 6 +-
.../utils/useDatePickerInAdhocfilter.test.ts | 19 +-
.../FixedOrMetricControl.test.tsx | 3 +-
.../LayerConfigsControl/LayerConfigsControl.tsx | 4 +-
.../controls/MapViewControl/MapViewControl.tsx | 5 +-
.../MapViewControl/MapViewPopoverContent.tsx | 3 +-
.../AdhocMetricEditPopover.test.jsx | 125 -
.../AdhocMetricEditPopover.test.tsx | 8 +-
.../AdhocMetricEditPopoverTitle.test.tsx | 4 +-
.../MetricControl/AdhocMetricOption.test.jsx | 8 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 6 +-
.../MetricControl/FilterDefinitionOption.test.jsx | 21 +-
.../MetricControl/MetricDefinitionOption.test.tsx | 3 +-
.../controls/MetricControl/MetricsControl.test.jsx | 20 +-
.../OptionControls/OptionControls.test.tsx | 40 +-
.../SelectAsyncControl/SelectAsyncControl.test.tsx | 3 +-
.../components/controls/SelectControl.test.jsx | 2 +-
.../components/controls/TextAreaControl.jsx | 61 +-
.../controls/TextControl/TextControl.test.tsx | 8 +-
.../components/controls/TimeOffsetControl.test.tsx | 13 +-
.../TimeSeriesColumnControl.test.tsx | 3 +-
.../controls/TimeSeriesColumnControl/index.jsx | 4 +-
.../components/controls/ViewportControl.test.jsx | 3 +-
.../VizTypeControl/VizTypeControl.test.jsx | 68 +-
.../VizTypeControl/VizTypeControl.test.tsx | 2 +-
.../controls/withAsyncVerification.test.tsx | 64 +-
.../DashboardsSubMenu.test.tsx | 10 +-
.../useExploreAdditionalActionsMenu/index.jsx | 52 +-
.../exploreUtils/getSimpleSQLExpression.test.ts | 8 +
.../src/explore/reducers/exploreReducer.js | 18 +
.../src/features/alerts/AlertReportModal.test.tsx | 8 +-
.../alerts/components/NotificationMethod.test.tsx | 2 +-
.../features/allEntities/AllEntitiesTable.test.tsx | 3 +-
.../annotationLayers/AnnotationLayerModal.test.jsx | 8 +-
.../features/annotations/AnnotationModal.test.jsx | 8 +-
.../src/features/charts/ChartCard.tsx | 11 +-
.../cssTemplates/CssTemplateModal.test.jsx | 8 +-
.../src/features/dashboards/DashboardCard.tsx | 11 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 14 +-
.../OAuth2ClientField.test.tsx | 19 +-
.../DatabaseModal/SSHTunnelSwitch.test.tsx | 3 +-
.../databases/DatabaseModal/index.test.tsx | 696 ++---
.../src/features/databases/DatabaseModal/index.tsx | 4 +-
.../UploadDataModel/UploadDataModal.test.tsx | 17 +-
.../EditDataset/UsageTab/UsageTab.test.tsx | 12 +-
.../AddDataset/LeftPanel/LeftPanel.test.tsx | 8 +-
superset-frontend/src/features/datasets/types.ts | 24 +-
.../src/features/home/ActivityTable.test.tsx | 8 +-
.../src/features/home/ChartTable.test.tsx | 8 +-
.../src/features/home/DashboardTable.test.tsx | 362 ++-
.../src/features/home/EmptyState.test.tsx | 27 +-
.../src/features/home/LanguagePicker.test.tsx | 3 +-
superset-frontend/src/features/home/Menu.test.tsx | 3 +-
.../src/features/home/RightMenu.test.tsx | 10 +-
superset-frontend/src/features/home/RightMenu.tsx | 2 +
.../src/features/home/SavedQueries.test.tsx | 10 +-
.../src/features/home/SavedQueries.tsx | 67 +-
.../src/features/home/SubMenu.test.tsx | 3 +-
.../features/queries/QueryPreviewModal.test.tsx | 4 +-
.../queries/SavedQueryPreviewModal.test.jsx | 6 +-
.../HeaderReportDropdown/index.test.tsx | 74 +-
.../ReportModal/HeaderReportDropdown/index.tsx | 132 +-
.../reports/ReportModal/ReportModal.test.tsx | 8 +-
.../features/rls/RowLevelSecurityModal.test.tsx | 33 +-
superset-frontend/src/features/tags/TagCard.tsx | 11 +-
.../components/Select/SelectFilterPlugin.test.tsx | 3 +-
.../pages/AlertReportList/AlertReportList.test.jsx | 8 +-
.../AnnotationLayerList.test.jsx | 12 +-
.../pages/AnnotationList/AnnotationList.test.jsx | 10 +-
.../src/pages/ChartCreation/ChartCreation.test.tsx | 8 +-
.../src/pages/ChartList/ChartList.test.jsx | 32 +-
.../pages/CssTemplateList/CssTemplateList.test.jsx | 12 +-
.../src/pages/DashboardList/DashboardList.test.jsx | 36 +-
.../src/pages/DatabaseList/DatabaseList.test.jsx | 12 +-
superset-frontend/src/pages/DatabaseList/index.tsx | 65 +
.../src/pages/DatasetList/DatasetList.test.tsx | 16 +-
...nLogList.test.jsx => ExecutionLogList.test.tsx} | 49 +-
superset-frontend/src/pages/Home/Home.test.tsx | 22 +-
.../QueryHistoryList/QueryHistoryList.test.tsx | 12 +-
.../RowLevelSecurityList.test.tsx | 5 +-
.../pages/SavedQueryList/SavedQueryList.test.jsx | 33 +-
superset/charts/api.py | 4 +-
superset/commands/database/exceptions.py | 6 +-
superset/commands/database/resync_permissions.py | 273 +-
.../commands/database/resync_permissions_async.py | 101 +
superset/commands/database/test_connection.py | 18 +-
superset/commands/database/update.py | 223 +-
superset/commands/database/utils.py | 18 +
superset/config.py | 9 +
superset/constants.py | 1 +
superset/dashboards/api.py | 4 +-
superset/databases/api.py | 20 +-
superset/db_engine_specs/tdengine.py | 57 +
superset/sqllab/permalink/api.py | 2 +-
superset/tasks/permissions.py | 49 +-
superset/utils/screenshots.py | 51 +-
superset/views/base.py | 1 +
superset/views/sqllab.py | 10 +-
tests/integration_tests/databases/api_tests.py | 174 ++
.../databases/resync_permissions_async_test.py | 151 +
.../commands/databases/resync_permissions_test.py | 467 +++
tests/unit_tests/commands/databases/update_test.py | 16 +-
tests/unit_tests/commands/databases/utils_test.py | 85 +
.../common/test_query_context_processor.py | 238 ++
.../unit_tests/db_engine_specs/test_tdengine.py | 25 +-
tests/unit_tests/utils/screenshot_test.py | 22 +-
405 files changed, 8302 insertions(+), 9371 deletions(-)
create mode 100644 docs/static/img/databases/tdengine.png
copy {docs => superset-embedded-sdk}/.nvmrc (100%)
rename superset-frontend/{tools/eslint-plugin-translation-vars =>
eslint-rules/eslint-plugin-i18n-strings}/index.js (100%)
rename superset-frontend/{tools/eslint-plugin-translation-vars =>
eslint-rules/eslint-plugin-i18n-strings}/no-template-vars.test.js (100%)
rename superset-frontend/{tools/eslint-plugin-translation-vars =>
eslint-rules/eslint-plugin-i18n-strings}/package.json (87%)
rename superset-frontend/{tools =>
eslint-rules}/eslint-plugin-theme-colors/colors.js (100%)
rename superset-frontend/{tools =>
eslint-rules}/eslint-plugin-theme-colors/index.js (100%)
rename superset-frontend/{tools =>
eslint-rules}/eslint-plugin-theme-colors/package.json (100%)
delete mode 100644
superset-frontend/src/components/DropdownSelectableIcon/DropdownSelectableIcon.stories.tsx
delete mode 100644
superset-frontend/src/components/DropdownSelectableIcon/DropdownSelectableIcon.test.tsx
delete mode 100644
superset-frontend/src/components/DropdownSelectableIcon/index.tsx
delete mode 100644 superset-frontend/src/components/Popover/Popover.tsx
delete mode 100644
superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/HeaderActionsDropdown.test.tsx
rename
superset-frontend/src/dashboard/components/Header/{HeaderActionsDropdown/index.tsx
=> useHeaderActionsDropdownMenu.tsx} (53%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterConfigurationLink/useFilterConfigModal.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FilterScope/__tests__/TreeInitialization.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FilterScope/__tests__/TreeSelection.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FilterScope/__tests__/utils.tsx
create mode 100644
superset-frontend/src/dashboard/hooks/useDownloadScreenshot.ts
delete mode 100644
superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterControl/AdhocFilterControl.test.jsx
create mode 100644
superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterControl/AdhocFilterControl.test.tsx
delete mode 100644
superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/AdhocMetricEditPopover.test.jsx
rename superset-frontend/src/pages/ExecutionLogList/{ExecutionLogList.test.jsx
=> ExecutionLogList.test.tsx} (69%)
create mode 100644 superset/commands/database/resync_permissions_async.py
create mode 100644 superset/db_engine_specs/tdengine.py
create mode 100644
tests/unit_tests/commands/databases/resync_permissions_async_test.py
create mode 100644
tests/unit_tests/commands/databases/resync_permissions_test.py
create mode 100644 tests/unit_tests/commands/databases/utils_test.py
create mode 100644 tests/unit_tests/common/test_query_context_processor.py
copy superset/daos/exceptions.py =>
tests/unit_tests/db_engine_specs/test_tdengine.py (65%)