This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 11ef2d0862 fix package-lock post-rebase
omit 8133d480dd fix(Menu): Adjust hover and bottom styles in light mode
omit 20cc1af724 minor style adjustments
omit 39456712eb using colorSplit where we have split in the app
omit 1d814aa71e don't pass down invalid props
omit ae356ea1dd fixups
omit 56d4d90395 factoring out types
omit 022088f9cd factor out types
omit ef35198e48 factoring out pre-commit changes into another PR
omit 02052690ef fix types
omit 49c798088c feat: messing with the theme
add 19e8a7049b feat(fe): upgrade `superset-frontend` to Typescript v5
(#31979)
add a87a13c3ab fix: Filters badge disappeared (#32025)
add e4bdb28ba2 fix(ci): change ephemeral env to use github labels instead
of comments (#31340)
add 732de4ac7f fix: eph env + improve docker images to run in userspace
(#32017)
add ba4fcd8275 feat: messing with the theme
add 5c889d16a6 fix types
add dc8a554750 factoring out pre-commit changes into another PR
add 7c8bbecf04 factor out types
add 6441beac20 factoring out types
add 3e52a27f89 fixups
add 9628b14865 don't pass down invalid props
add 6ef924fee4 using colorSplit where we have split in the app
add 64eecf79fb minor style adjustments
add b75bbfed0d fix(Menu): Adjust hover and bottom styles in light mode
add 8e1db22651 compile
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 (11ef2d0862)
\
N -- N -- N refs/heads/template_less (8e1db22651)
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/workflows/ephemeral-env.yml | 425 ++++++++++-----------
.gitignore | 1 +
Dockerfile | 71 ++--
docker/docker-bootstrap.sh | 5 +-
docker/entrypoints/docker-ci.sh | 2 +-
superset-frontend/package-lock.json | 167 ++++++--
superset-frontend/package.json | 2 +-
.../superset-ui-chart-controls/src/types.ts | 7 +
.../superset-ui-chart-controls/test/types.test.ts | 17 +
.../src/query/getClientErrorObject.ts | 2 +-
.../superset-ui-core/src/query/types/Filter.ts | 4 +
.../superset-ui-core/src/query/types/Query.ts | 20 +-
.../src/query/types/QueryResponse.ts | 3 +
.../superset-ui-core/src/utils/featureFlags.ts | 2 +-
.../src/validator/validateNumber.ts | 2 +-
.../time-comparison/customTimeRangeDecode.test.ts | 78 ++++
.../src/CategoricalDeckGLContainer.tsx | 2 +-
.../legacy-preset-chart-deckgl/src/Multi/Multi.tsx | 1 +
.../src/components/Legend.tsx | 4 +-
.../src/layers/Geojson/Geojson.tsx | 2 +-
.../src/layers/common.tsx | 6 +-
.../legacy-preset-chart-deckgl/src/utils.ts | 7 +-
.../src/utils/explore.ts | 2 +-
.../src/utils/sandbox.ts | 13 +-
.../src/util/controlPanelUtil.tsx | 2 +-
.../src/util/transformPropsUtil.ts | 2 +-
.../test/util/layerUtil.test.ts | 1 +
.../BigNumberPeriodOverPeriod/transformProps.ts | 3 +-
.../BigNumber/BigNumberPeriodOverPeriod/utils.ts | 2 +-
.../src/BigNumber/BigNumberTotal/controlPanel.ts | 9 +-
.../src/Bubble/transformProps.ts | 35 +-
.../src/MixedTimeseries/transformProps.ts | 4 +-
.../src/utils/formDataSuffix.ts | 4 +-
.../test/Timeseries/transformProps.test.ts | 2 +-
.../src/plugin/controlPanel.tsx | 7 +-
.../src/DataTable/components/Pagination.tsx | 5 +-
.../plugin-chart-table/src/controlPanel.tsx | 6 +-
superset-frontend/spec/helpers/Cache.ts | 4 +-
superset-frontend/spec/helpers/shim.tsx | 5 +-
.../KeyboardShortcutButton.test.tsx | 4 +-
.../components/KeyboardShortcutButton/index.tsx | 19 +-
.../src/SqlLab/components/QueryTable/index.tsx | 15 +-
.../components/ScheduleQueryButton/index.tsx | 4 +-
superset-frontend/src/SqlLab/constants.ts | 2 +-
.../middlewares/persistSqlLabStateEnhancer.js | 3 +-
.../src/SqlLab/reducers/getInitialState.ts | 2 +-
.../src/SqlLab/utils/emptyQueryResults.test.ts | 2 +-
.../SqlLab/utils/reduxStateToLocalStorageHelper.ts | 39 +-
.../src/assets/stylesheets/antd/index.less | 20 +-
.../assets/stylesheets/less/cosmo/variables.less | 2 +-
.../src/assets/stylesheets/less/variables.less | 6 +-
.../src/components/AlteredSliceTag/index.tsx | 2 +-
.../src/components/Chart/DrillBy/DrillByModal.tsx | 9 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 9 +-
.../src/components/Checkbox/Checkbox.stories.tsx | 4 +-
...tionTable.test.jsx => CollectionTable.test.tsx} | 1 +
.../src/components/Datasource/CollectionTable.tsx | 23 +-
.../components/DatePicker/DatePicker.stories.tsx | 2 +-
.../src/components/DatePicker/index.tsx | 6 +-
.../src/components/EmptyState/index.tsx | 5 +-
.../ErrorMessage/MarshmallowErrorMessage.tsx | 10 +-
.../src/components/FilterableTable/index.tsx | 4 +-
.../src/components/FlashProvider/index.tsx | 2 +-
.../src/components/Icons/AntdEnhanced.tsx | 2 +
.../src/components/Icons/Icons.stories.tsx | 2 +-
superset-frontend/src/components/Label/index.tsx | 3 +
superset-frontend/src/components/ListView/types.ts | 20 +-
superset-frontend/src/components/ListView/utils.ts | 5 +-
.../src/components/Select/AsyncSelect.test.tsx | 6 +-
superset-frontend/src/components/Select/utils.tsx | 15 +-
.../src/components/Steps/Steps.stories.tsx | 3 +-
.../src/components/Table/Table.stories.tsx | 52 ++-
.../Table/cell-renderers/ActionCell/index.tsx | 2 +-
superset-frontend/src/components/Table/index.tsx | 14 +-
.../src/components/Table/sorters.test.ts | 8 +
superset-frontend/src/components/Table/sorters.ts | 14 +-
.../src/components/TimezoneSelector/index.tsx | 4 +-
.../components/ColorSchemeControlWrapper.jsx | 76 ----
.../components/ColorSchemeControlWrapper.tsx | 64 ++++
.../DashboardBuilder/DashboardContainer.tsx | 2 +-
.../dashboard/components/PropertiesModal/index.tsx | 2 -
.../components/SyncDashboardState/index.tsx | 5 +-
.../CrossFilters/ScopingModal/ScopingModal.tsx | 5 +-
.../components/nativeFilters/FilterBar/index.tsx | 6 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 4 +-
.../components/nativeFilters/selectors.ts | 44 ++-
.../dashboard/components/nativeFilters/state.ts | 4 +-
.../dashboard/components/nativeFilters/utils.ts | 22 +-
.../src/dashboard/reducers/nativeFilters.ts | 3 +-
superset-frontend/src/dashboard/types.ts | 27 +-
.../dashboard/util/activeAllDashboardFilters.ts | 15 +-
.../util/charts/getFormDataWithExtraFilters.ts | 34 +-
.../src/dashboard/util/crossFilters.ts | 8 +-
.../src/dashboard/util/findParentId.ts | 8 +-
...d.test.js => findTabIndexByComponentId.test.ts} | 9 +-
...ComponentId.js => findTabIndexByComponentId.ts} | 13 +-
.../util/getFormDataWithExtraFilters.test.ts | 4 +-
.../src/dashboard/util/isValidChild.test.ts | 2 +-
.../src/dashboard/util/isValidChild.ts | 2 +-
.../src/dashboard/util/replaceUndefinedByNull.ts | 36 --
superset-frontend/src/dataMask/reducer.ts | 20 +-
.../src/explore/components/Control.tsx | 5 +-
.../explore/components/ControlPanelsContainer.tsx | 4 +-
.../explore/components/DataTableControl/index.tsx | 2 +-
.../explore/components/DatasourcePanel/index.tsx | 3 +-
.../src/explore/components/ExploreAlert.tsx | 6 +-
.../ColorSchemeControl/ColorSchemeControl.test.tsx | 1 -
.../controls/ColorSchemeControl/index.tsx | 6 +-
.../components/controls/ComparisonRangeLabel.tsx | 3 +-
.../ContourControl/ContourPopoverControl.tsx | 4 +-
.../components/controls/CustomListItem/index.tsx | 2 +-
.../index.tsx | 6 +-
.../controls/FilterControl/utils/translateToSQL.ts | 8 +-
.../components/controls/SliderControl.stories.tsx | 19 +-
.../components/controls/TimeOffsetControl.tsx | 2 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 2 +-
.../src/explore/controlUtils/getControlState.ts | 2 +-
.../controlUtils/getFormDataFromControls.ts | 4 +-
.../getFormDataWithDashboardContext.ts | 7 +-
.../explore/controlUtils/getSectionsToRender.ts | 10 +-
.../controlUtils/standardizedFormData.test.ts | 4 +-
.../explore/controlUtils/standardizedFormData.ts | 2 +-
.../exploreUtils/getParsedExploreURLParams.ts | 64 ++--
superset-frontend/src/explore/types.ts | 2 +-
.../src/features/alerts/AlertReportModal.tsx | 10 +-
.../src/features/allEntities/AllEntitiesTable.tsx | 20 +-
.../annotationLayers/AnnotationLayerModal.tsx | 8 +-
.../src/features/annotations/AnnotationModal.tsx | 3 +-
.../src/features/cssTemplates/CssTemplateModal.tsx | 8 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 15 +-
.../DatabaseConnectionForm/ValidatedInputField.tsx | 14 +-
.../DatabaseModal/DatabaseConnectionForm/index.tsx | 1 +
.../databases/DatabaseModal/ModalHeader.tsx | 10 +-
.../src/features/databases/DatabaseModal/index.tsx | 61 ++-
superset-frontend/src/features/databases/types.ts | 48 +--
.../AddDataset/DatasetPanel/DatasetPanel.tsx | 9 +-
.../features/datasets/AddDataset/Footer/index.tsx | 2 +-
.../src/features/home/ActivityTable.tsx | 14 +-
superset-frontend/src/features/home/RightMenu.tsx | 6 +-
superset-frontend/src/features/tags/TagModal.tsx | 2 +-
superset-frontend/src/features/tags/tags.ts | 7 +-
.../src/hooks/apiResources/datasets.ts | 2 +-
superset-frontend/src/hooks/useLocale.ts | 7 +-
superset-frontend/src/pages/AllEntities/index.tsx | 24 +-
superset-frontend/src/reduxUtils.ts | 14 +-
superset-frontend/src/types/TaggedObject.ts | 23 +-
.../src/utils/{textUtils.ts => types.ts} | 16 +-
superset-frontend/src/views/CRUD/hooks.ts | 11 +-
.../src/visualizations/TimeTable/transformProps.ts | 4 +-
superset-frontend/tsconfig.json | 3 -
150 files changed, 1342 insertions(+), 864 deletions(-)
rename superset-frontend/src/components/Datasource/{CollectionTable.test.jsx
=> CollectionTable.test.tsx} (98%)
delete mode 100644
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.jsx
create mode 100644
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.tsx
rename superset-frontend/src/dashboard/util/{findTabIndexByComponentId.test.js
=> findTabIndexByComponentId.test.ts} (91%)
rename superset-frontend/src/dashboard/util/{findTabIndexByComponentId.js =>
findTabIndexByComponentId.ts} (86%)
delete mode 100644
superset-frontend/src/dashboard/util/replaceUndefinedByNull.ts
copy superset-frontend/src/utils/{textUtils.ts => types.ts} (73%)